C# Class ICSharpCode.TextEditor.Document.LineSegment

Inheritance: ICSharpCode.TextEditor.Document.AbstractSegment
Mostra file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
GetColorForPosition ( int x ) : HighlightColor
GetWord ( int column ) : ICSharpCode.TextEditor.Document.TextWord
LineSegment ( int offset, int length ) : System
LineSegment ( int offset, int end, int delimiterLength ) : System
ToString ( ) : string

Converts a LineSegment instance to string (for debug purposes)

Private Methods

Method Description
GetRegString ( char expr, int index, IDocument document ) : string

get the string, which matches the regular expression expr, in string s2 at index

MatchExpr ( char expr, int index, IDocument document, bool ignoreCase ) : bool

returns true, if the get the string s2 at index matches the expression expr

Method Details

GetColorForPosition() public method

public GetColorForPosition ( int x ) : HighlightColor
x int
return HighlightColor

GetWord() public method

public GetWord ( int column ) : ICSharpCode.TextEditor.Document.TextWord
column int
return ICSharpCode.TextEditor.Document.TextWord

LineSegment() public method

public LineSegment ( int offset, int length ) : System
offset int
length int
return System

LineSegment() public method

public LineSegment ( int offset, int end, int delimiterLength ) : System
offset int
end int
delimiterLength int
return System

ToString() public method

Converts a LineSegment instance to string (for debug purposes)
public ToString ( ) : string
return string