Méthode | 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 |
Méthode | Description | |
---|---|---|
OnSelectionChanged ( |
Méthode | 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 | |
Résultat | void |
public GetSelectionAt ( int offset ) : ISelection | ||
offset | int | |
Résultat | ISelection |
public GetSelectionAtLine ( int lineNumber ) : ICSharpCode.TextEditor.Document.ColumnRange | ||
lineNumber | int | |
Résultat | ICSharpCode.TextEditor.Document.ColumnRange |
public GreaterEqPos ( Point p1, Point p2 ) : bool | ||
p1 | Point | |
p2 | Point | |
Résultat | bool |
public NextValidPosition ( int line ) : Point | ||
line | int | |
Résultat | Point |
protected OnSelectionChanged ( |
||
e | ||
Résultat | void |
public SelectionManager ( IDocument document ) : System | ||
document | IDocument | |
Résultat | System |
public SelectionManager ( IDocument document, TextArea textArea ) : System | ||
document | IDocument | |
textArea | TextArea | |
Résultat | System |
public SetSelection ( ISelection selection ) : void | ||
selection | ISelection | |
Résultat | void |
public SetSelection ( Point startPosition, Point endPosition ) : void | ||
startPosition | Point | |
endPosition | Point | |
Résultat | void |