Property | Type | Description | |
---|---|---|---|
AdviseToIdle | void | ||
ClearResultsForNode | void | ||
OnIdle | void | ||
OnNodesRemoved | void | ||
OnSettingsChanged | void | ||
OnTreeClose | void | ||
OnTreeUpdateCompleted | void | ||
QueueTreeForValidation | void | ||
StartValidation | void | ||
StartValidationNextIdle | void | ||
StopValidation | void | ||
UnadviseFromIdle | void |
Method | Description | |
---|---|---|
EnsureFromTextBuffer ( ITextBuffer textBuffer, IEditorTree editorTree, ICoreShell shell ) : |
Retrieves (or creates) the validator (syntax checker) for the document that is associated with the text buffer
|
|
IsSyntaxCheckEnabled ( ITextBuffer textBuffer ) : bool | ||
TreeValidator ( IEditorTree editorTree, ICoreShell shell ) : System |
Method | Description | |
---|---|---|
AdviseToIdle ( ) : void | ||
ClearResultsForNode ( IAstNode node ) : void | ||
OnIdle ( object sender, |
||
OnNodesRemoved ( object sender, |
Listens to 'nodes removed' event which fires when user deletes text that generated AST nodes or pastes over new content. This allows validator to remove related errors from the task list quickly so they don't linger until the next validation pass.
|
|
OnSettingsChanged ( object sender, |
||
OnTreeClose ( object sender, |
||
OnTreeUpdateCompleted ( object sender, |
||
QueueTreeForValidation ( ) : void | ||
StartValidation ( ) : void | ||
StartValidationNextIdle ( ) : void | ||
StopValidation ( ) : void | ||
UnadviseFromIdle ( ) : void |
public static EnsureFromTextBuffer ( ITextBuffer textBuffer, IEditorTree editorTree, ICoreShell shell ) : |
||
textBuffer | ITextBuffer | Text buffer |
editorTree | IEditorTree | |
shell | ICoreShell | |
return |
public static IsSyntaxCheckEnabled ( ITextBuffer textBuffer ) : bool | ||
textBuffer | ITextBuffer | |
return | bool |
public TreeValidator ( IEditorTree editorTree, ICoreShell shell ) : System | ||
editorTree | IEditorTree | |
shell | ICoreShell | |
return | System |