Method | Description | |
---|---|---|
FullParse ( Microsoft.R.Editor.Tree.EditorTreeChangeCollection changes, ITextProvider newSnapshot ) : void |
Invokes full parse pass. Called from a background tree updating task.
|
|
ProcessChange ( |
Processes a single text change incrementally. Enqueues resulting tree changes in the supplied queue. Does not modify the tree. Changes are to be sent to the main thread and applied from there. Caller is responsible for the tree read lock acquisition.
|
|
TextChangeProcessor ( |
Method | Description | |
---|---|---|
IsCancellationRequested ( ) : bool | ||
OnTokenNodeChange ( |
Reflects change inside string or comment by shrinking or expanding token node.
|
public FullParse ( Microsoft.R.Editor.Tree.EditorTreeChangeCollection changes, ITextProvider newSnapshot ) : void | ||
changes | Microsoft.R.Editor.Tree.EditorTreeChangeCollection | |
newSnapshot | ITextProvider | |
return | void |
public ProcessChange ( |
||
textChange | ||
treeChanges | Microsoft.R.Editor.Tree.EditorTreeChangeCollection | Collection of tree changes to apply /// from the main thread |
return | void |
public TextChangeProcessor ( |
||
editorTree | ||
astRoot | ||
cancelCallback | Func |
|
return | System |