C# Class ICSharpCode.TextEditor.Document.DefaultSelection

Default implementation of the ICSharpCode.TextEditor.Document.ISelection interface.
Inheritance: ISelection
ファイルを表示 Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
ContainsOffset ( int offset ) : bool
ContainsPosition ( Point position ) : bool
DefaultSelection ( IDocument document, Point startPosition, Point endPosition ) : System

Creates a new instance of DefaultSelection

ToString ( ) : string

Converts a DefaultSelection instance to string (for debug purposes)

Method Details

ContainsOffset() public method

public ContainsOffset ( int offset ) : bool
offset int
return bool

ContainsPosition() public method

public ContainsPosition ( Point position ) : bool
position Point
return bool

DefaultSelection() public method

Creates a new instance of DefaultSelection
public DefaultSelection ( IDocument document, Point startPosition, Point endPosition ) : System
document IDocument
startPosition Point
endPosition Point
return System

ToString() public method

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