C# 클래스 NetIde.Core.ToolWindows.DiffViewer.Text

상속: NGit.Diff.Sequence
파일 보기 프로젝트 열기: netide/netide 1 사용 예제들

공개 메소드들

메소드 설명
IsMissingNewlineAtEnd ( ) : bool

Determine if the file ends with a LF ('\n').

Determine if the file ends with a LF ('\n').

Size ( ) : int
Text ( string input ) : System

Create a new sequence from an existing content char array.

Create a new sequence from an existing content char array.

The entire array (indexes 0 through length-1) is used as the content.

WriteLine ( StringBuilder @out, int i ) : void

Write a specific line to the output stream, without its trailing LF.

Write a specific line to the output stream, without its trailing LF.

The specified line is copied as-is, with no character encoding translation performed.

If the specified line ends with an LF ('\n'), the LF is not copied. It is up to the caller to write the LF, if desired, between output lines.

비공개 메소드들

메소드 설명
GetEnd ( int i ) : int
GetStart ( int i ) : int
LineMap ( int ptr, int end ) : NGit.Util.IntList
Next ( int ptr, char chrA ) : int
NextLF ( int ptr ) : int

메소드 상세

IsMissingNewlineAtEnd() 공개 메소드

Determine if the file ends with a LF ('\n').
Determine if the file ends with a LF ('\n').
public IsMissingNewlineAtEnd ( ) : bool
리턴 bool

Size() 공개 메소드

public Size ( ) : int
리턴 int

Text() 공개 메소드

Create a new sequence from an existing content char array.
Create a new sequence from an existing content char array.

The entire array (indexes 0 through length-1) is used as the content.

public Text ( string input ) : System
input string /// the content array. The array is never modified, so passing /// through cached arrays is safe. ///
리턴 System

WriteLine() 공개 메소드

Write a specific line to the output stream, without its trailing LF.
Write a specific line to the output stream, without its trailing LF.

The specified line is copied as-is, with no character encoding translation performed.

If the specified line ends with an LF ('\n'), the LF is not copied. It is up to the caller to write the LF, if desired, between output lines.

the stream write operation failed.
public WriteLine ( StringBuilder @out, int i ) : void
@out StringBuilder
i int /// index of the line to extract. Note this is 0-based, so line /// number 1 is actually index 0. ///
리턴 void