In This Article

VBDocumentationCommentAutoCompleter Class

Provides a class that can auto-complete Visual Basic language documentation comments when appropriate.

public class VBDocumentationCommentAutoCompleter : DocumentationCommentAutoCompleterBase, IDocumentationCommentAutoCompleter, IEditorDocumentTextChangeEventSink
Inheritance:
Object DocumentationCommentAutoCompleterBase Object
Implements:
IDocumentationCommentAutoCompleter IEditorDocumentTextChangeEventSink

Remarks

Instances of this object can be registered with an ISyntaxLanguage using the RegisterService(Object, Object) method. Once an instance is registered with the language for the IDocumentationCommentAutoCompleter interface type, its features can be used by the language.

Constructors

VBDocumentationCommentAutoCompleter()

public VBDocumentationCommentAutoCompleter()

Methods

OnDocumentTextChanged(SyntaxEditor, EditorSnapshotChangedEventArgs)

Occurs after a text change occurs to an IEditorDocument that uses this language.

protected virtual void OnDocumentTextChanged(SyntaxEditor editor, EditorSnapshotChangedEventArgs e)
Parameter Type Description
editor SyntaxEditor

The SyntaxEditor whose IEditorDocument is changed.

e EditorSnapshotChangedEventArgs

The EditorSnapshotChangedEventArgs that contains the event data.

OnDocumentTextChanging(SyntaxEditor, EditorSnapshotChangingEventArgs)

Occurs before a text change occurs to an IEditorDocument that uses this language.

protected virtual void OnDocumentTextChanging(SyntaxEditor editor, EditorSnapshotChangingEventArgs e)
Parameter Type Description
editor SyntaxEditor

The SyntaxEditor whose IEditorDocument that is changing.

e EditorSnapshotChangingEventArgs

The EditorSnapshotChangingEventArgs that contains the event data.

Explicit Interface Implementations

IEditorDocumentTextChangeEventSink.NotifyDocumentTextChanged(SyntaxEditor, EditorSnapshotChangedEventArgs)

Notifies after a text change occurs to an IEditorDocument.

void IEditorDocumentTextChangeEventSink.NotifyDocumentTextChanged(SyntaxEditor editor, EditorSnapshotChangedEventArgs e)
Parameter Type Description
editor SyntaxEditor

The SyntaxEditor whose IEditorDocument is changed.

e EditorSnapshotChangedEventArgs

The EditorSnapshotChangedEventArgs that contains the event data.

IEditorDocumentTextChangeEventSink.NotifyDocumentTextChanging(SyntaxEditor, EditorSnapshotChangingEventArgs)

Notifies before a text change occurs to an IEditorDocument.

void IEditorDocumentTextChangeEventSink.NotifyDocumentTextChanging(SyntaxEditor editor, EditorSnapshotChangingEventArgs e)
Parameter Type Description
editor SyntaxEditor

The SyntaxEditor whose IEditorDocument that is changing.

e EditorSnapshotChangingEventArgs

The EditorSnapshotChangingEventArgs that contains the event data.

Inherited Members