C# Class ICSharpCode.TextEditor.Document.LineManager

ファイルを表示 Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Methods

Method Description
GetFirstLogicalLine ( int visibleLineNumber ) : int
GetLastLogicalLine ( int visibleLineNumber ) : int
GetLineNumberForOffset ( int offset ) : int
GetLineSegment ( int lineNr ) : LineSegment
GetLineSegmentForOffset ( int offset ) : LineSegment
GetNextVisibleLineAbove ( int lineNumber, int lineCount ) : int
GetNextVisibleLineBelow ( int lineNumber, int lineCount ) : int
GetVisibleLine ( int logicalLineNumber ) : int
Insert ( int offset, string text ) : void
LineManager ( IDocument document, IHighlightingStrategy highlightingStrategy ) : System
Remove ( int offset, int length ) : void
Replace ( int offset, int length, string text ) : void
SetContent ( string text ) : void

Private Methods

Method Description
InsertInternal ( int offset, string text ) : void
NextDelimiter ( string text, int offset ) : DelimiterSegment
OnLineCountChanged ( ICSharpCode.TextEditor.Document.LineCountChangeEventArgs e ) : void
OnLineDeleted ( ICSharpCode.TextEditor.Document.LineEventArgs e ) : void
OnLineLengthChanged ( ICSharpCode.TextEditor.Document.LineLengthChangeEventArgs e ) : void
RemoveInternal ( DeferredEventList &deferredEventList, int offset, int length ) : void
RunHighlighter ( int firstLine, int lineCount ) : void
SetSegmentLength ( LineSegment segment, int newTotalLength ) : void

Method Details

GetFirstLogicalLine() public method

public GetFirstLogicalLine ( int visibleLineNumber ) : int
visibleLineNumber int
return int

GetLastLogicalLine() public method

public GetLastLogicalLine ( int visibleLineNumber ) : int
visibleLineNumber int
return int

GetLineNumberForOffset() public method

public GetLineNumberForOffset ( int offset ) : int
offset int
return int

GetLineSegment() public method

public GetLineSegment ( int lineNr ) : LineSegment
lineNr int
return LineSegment

GetLineSegmentForOffset() public method

public GetLineSegmentForOffset ( int offset ) : LineSegment
offset int
return LineSegment

GetNextVisibleLineAbove() public method

public GetNextVisibleLineAbove ( int lineNumber, int lineCount ) : int
lineNumber int
lineCount int
return int

GetNextVisibleLineBelow() public method

public GetNextVisibleLineBelow ( int lineNumber, int lineCount ) : int
lineNumber int
lineCount int
return int

GetVisibleLine() public method

public GetVisibleLine ( int logicalLineNumber ) : int
logicalLineNumber int
return int

Insert() public method

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

LineManager() public method

public LineManager ( IDocument document, IHighlightingStrategy highlightingStrategy ) : System
document IDocument
highlightingStrategy IHighlightingStrategy
return System

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