C# Class ICSharpCode.TextEditor.Document.GapTextBufferStrategy

Inheritance: ITextBufferStrategy
Mostrar archivo Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Methods

Method Description
GetCharAt ( int offset ) : char
GetText ( int offset, int length ) : string
Insert ( int offset, string text ) : void
Remove ( int offset, int length ) : void
Replace ( int offset, int length, string text ) : void
SetContent ( string text ) : void

Private Methods

Method Description
CheckThread ( ) : void
GetTextInternal ( int offset, int length ) : string
MakeNewBuffer ( int newGapOffset, int newGapLength ) : void
PlaceGap ( int newGapOffset, int minRequiredGapLength ) : void

Method Details

GetCharAt() public method

public GetCharAt ( int offset ) : char
offset int
return char

GetText() public method

public GetText ( int offset, int length ) : string
offset int
length int
return string

Insert() public method

public Insert ( int offset, string text ) : void
offset int
text string
return void

Remove() public method

public Remove ( int offset, int length ) : void
offset int
length int
return void

Replace() public method

public Replace ( int offset, int length, string text ) : void
offset int
length int
text string
return void

SetContent() public method

public SetContent ( string text ) : void
text string
return void