Method | Description | |
---|---|---|
BeginUpdate ( ) : ITextRange |
Signals that collection is about to be updated. Must be called before any updates are made to the collection so collection can calculated span of changes in the text buffer.
|
|
Clear ( ) : void | ||
EndUpdate ( bool modified ) : void |
Signals that collection update has been completed.
|
|
ErrorTagCollection ( IEditorTree editorTree ) : System | ||
ItemsInRange ( ITextRange range ) : IReadOnlyList |
||
ReflectTextChange ( int start, int oldLength, int newLength, bool trivialChange ) : void | ||
RemoveTagsForNode ( IAstNode node ) : ITextRange |
Removes all tags associated with a given node
|
|
ToArray ( ) : EditorErrorTag[] |
Method | Description | |
---|---|---|
Add ( EditorErrorTag tag ) : void | ||
OnNewTree ( object sender, |
||
OnNodesRemoved ( object sender, |
||
OnTreeClosing ( object sender, |
||
OnUpdateCompleted ( object sender, |
||
ProcessPendingNodeRemoval ( ) : void | ||
StoreRemovedNodes ( IAstNode node ) : void |
public EndUpdate ( bool modified ) : void | ||
modified | bool | True if collection was indeed modified since BeginUpdate was called |
return | void |
public ErrorTagCollection ( IEditorTree editorTree ) : System | ||
editorTree | IEditorTree | |
return | System |
public ItemsInRange ( ITextRange range ) : IReadOnlyList |
||
range | ITextRange | |
return | IReadOnlyList |
public ReflectTextChange ( int start, int oldLength, int newLength, bool trivialChange ) : void | ||
start | int | |
oldLength | int | |
newLength | int | |
trivialChange | bool | |
return | void |
public RemoveTagsForNode ( IAstNode node ) : ITextRange | ||
node | IAstNode | Node in the AST |
return | ITextRange |