Method | Description | |
---|---|---|
ClearSelection ( ) : void | Clears the selection. | |
Dispose ( ) : void | ||
ExtendSelection ( Point oldPosition, Point newPosition ) : void | ||
FireSelectionChanged ( ) : void | ||
GetSelectionAt ( int offset ) : ISelection | Returns a ISelection object giving the selection in which the offset points to. | |
GetSelectionAtLine ( int lineNumber ) : ICSharpCode.TextEditor.Document.ColumnRange | ||
GreaterEqPos ( Point p1, Point p2 ) : bool | ||
IsSelected ( int offset ) : bool | Returns true if the given offset points to a section which is selected. | |
NextValidPosition ( int line ) : Point | ||
RemoveSelectedText ( ) : void | Removes the selected text from the buffer and clears the selection. | |
SelectionManager ( IDocument document ) : System |
Creates a new instance of SelectionManager
|
|
SelectionManager ( IDocument document, TextArea textArea ) : System |
Creates a new instance of SelectionManager
|
|
SetSelection ( ISelection selection ) : void | Clears the selection and sets a new selection using the given ISelection object. | |
SetSelection ( Point startPosition, Point endPosition ) : void |
Method | Description | |
---|---|---|
OnSelectionChanged ( |
Method | Description | |
---|---|---|
ClearWithoutUpdate ( ) : void | ||
DocumentChanged ( object sender, ICSharpCode.TextEditor.Document.DocumentEventArgs e ) : void | ||
Insert ( int offset, string text ) : void | Used internally, do not call. | |
Remove ( int offset, int length ) : void | Used internally, do not call. | |
Replace ( int offset, int length, string text ) : void | Used internally, do not call. | |
SelectionsOverlap ( ISelection s1, ISelection s2 ) : bool |
public ExtendSelection ( Point oldPosition, Point newPosition ) : void | ||
oldPosition | Point | |
newPosition | Point | |
return | void |
public GetSelectionAt ( int offset ) : ISelection | ||
offset | int | |
return | ISelection |
public GetSelectionAtLine ( int lineNumber ) : ICSharpCode.TextEditor.Document.ColumnRange | ||
lineNumber | int | |
return | ICSharpCode.TextEditor.Document.ColumnRange |
public GreaterEqPos ( Point p1, Point p2 ) : bool | ||
p1 | Point | |
p2 | Point | |
return | bool |
public NextValidPosition ( int line ) : Point | ||
line | int | |
return | Point |
protected OnSelectionChanged ( |
||
e | ||
return | void |
public SelectionManager ( IDocument document ) : System | ||
document | IDocument | |
return | System |
public SelectionManager ( IDocument document, TextArea textArea ) : System | ||
document | IDocument | |
textArea | TextArea | |
return | System |
public SetSelection ( ISelection selection ) : void | ||
selection | ISelection | |
return | void |
public SetSelection ( Point startPosition, Point endPosition ) : void | ||
startPosition | Point | |
endPosition | Point | |
return | void |