Method | Description | |
---|---|---|
AddMark ( |
||
BookmarkManager ( IDocument document, ILineManager lineTracker ) : System |
Creates a new instance of BookmarkManager
|
|
Clear ( ) : void | Clears all bookmark | |
GetFirstMark ( Predicate |
||
GetLastMark ( Predicate |
||
GetNextMark ( int curLineNr ) : |
||
GetNextMark ( int curLineNr, Predicate |
returns first mark higher than lineNr |
|
GetPrevMark ( int curLineNr ) : |
||
GetPrevMark ( int curLineNr, Predicate |
returns first mark lower than lineNr |
|
IsMarked ( int lineNr ) : bool | ||
RemoveMark ( |
||
RemoveMarks ( Predicate |
||
ToggleMarkAt ( int lineNr ) : void |
Sets the mark at the line
|
Method | Description | |
---|---|---|
OnAdded ( ICSharpCode.TextEditor.Document.BookmarkEventArgs e ) : void | ||
OnChanged ( |
||
OnRemoved ( ICSharpCode.TextEditor.Document.BookmarkEventArgs e ) : void |
Method | Description | |
---|---|---|
AcceptAnyMarkPredicate ( |
||
MoveIndices ( object sender, |
This method moves all indices from index upward count lines (useful for deletion/insertion of text)
|
public BookmarkManager ( IDocument document, ILineManager lineTracker ) : System | ||
document | IDocument | |
lineTracker | ILineManager | |
return | System |
public GetFirstMark ( Predicate |
||
predicate | Predicate |
|
return |
public GetLastMark ( Predicate |
||
predicate | Predicate |
|
return |
public GetNextMark ( int curLineNr ) : |
||
curLineNr | int | |
return |
public GetNextMark ( int curLineNr, Predicate |
||
curLineNr | int | |
predicate | Predicate |
|
return |
public GetPrevMark ( int curLineNr ) : |
||
curLineNr | int | |
return |
public GetPrevMark ( int curLineNr, Predicate |
||
curLineNr | int | |
predicate | Predicate |
|
return |
protected OnAdded ( ICSharpCode.TextEditor.Document.BookmarkEventArgs e ) : void | ||
e | ICSharpCode.TextEditor.Document.BookmarkEventArgs | |
return | void |
protected OnChanged ( |
||
e | ||
return | void |
protected OnRemoved ( ICSharpCode.TextEditor.Document.BookmarkEventArgs e ) : void | ||
e | ICSharpCode.TextEditor.Document.BookmarkEventArgs | |
return | void |
public RemoveMarks ( Predicate |
||
predicate | Predicate |
|
return | void |