C# 클래스 AvalonStudio.TextEditor.Document.RopeTextSource

상속: ITextSource
파일 보기 프로젝트 열기: VitalElement/AvalonStudio 1 사용 예제들

공개 메소드들

메소드 설명
CreateReader ( ) : TextReader
CreateReader ( int offset, int length ) : TextReader
CreateSnapshot ( ) : ITextSource
CreateSnapshot ( int offset, int length ) : ITextSource
GetCharAt ( int offset ) : char
GetText ( ISegment segment ) : string
GetText ( int offset, int length ) : string
IndexOf ( char c, int startIndex, int count ) : int
IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
IndexOfAny ( char anyOf, int startIndex, int count ) : int
LastIndexOf ( char c, int startIndex, int count ) : int
LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
RopeTextSource ( Rope rope ) : System

Creates a new RopeTextSource.

RopeTextSource ( Rope rope, ITextSourceVersion version ) : System

Creates a new RopeTextSource.

WriteTextTo ( TextWriter writer ) : void
WriteTextTo ( TextWriter writer, int offset, int length ) : void

비공개 메소드들

메소드 설명
GetRope ( ) : Rope

메소드 상세

CreateReader() 공개 메소드

public CreateReader ( ) : TextReader
리턴 System.IO.TextReader

CreateReader() 공개 메소드

public CreateReader ( int offset, int length ) : TextReader
offset int
length int
리턴 System.IO.TextReader

CreateSnapshot() 공개 메소드

public CreateSnapshot ( ) : ITextSource
리턴 ITextSource

CreateSnapshot() 공개 메소드

public CreateSnapshot ( int offset, int length ) : ITextSource
offset int
length int
리턴 ITextSource

GetCharAt() 공개 메소드

public GetCharAt ( int offset ) : char
offset int
리턴 char

GetText() 공개 메소드

public GetText ( ISegment segment ) : string
segment ISegment
리턴 string

GetText() 공개 메소드

public GetText ( int offset, int length ) : string
offset int
length int
리턴 string

IndexOf() 공개 메소드

public IndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
리턴 int

IndexOfAny() 공개 메소드

public IndexOfAny ( char anyOf, int startIndex, int count ) : int
anyOf char
startIndex int
count int
리턴 int

LastIndexOf() 공개 메소드

public LastIndexOf ( char c, int startIndex, int count ) : int
c char
startIndex int
count int
리턴 int

LastIndexOf() 공개 메소드

public LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string
startIndex int
count int
comparisonType StringComparison
리턴 int

RopeTextSource() 공개 메소드

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope ) : System
rope Rope
리턴 System

RopeTextSource() 공개 메소드

Creates a new RopeTextSource.
public RopeTextSource ( Rope rope, ITextSourceVersion version ) : System
rope Rope
version ITextSourceVersion
리턴 System

WriteTextTo() 공개 메소드

public WriteTextTo ( TextWriter writer ) : void
writer TextWriter
리턴 void

WriteTextTo() 공개 메소드

public WriteTextTo ( TextWriter writer, int offset, int length ) : void
writer TextWriter
offset int
length int
리턴 void