Provides a Visual Basic
language indent provider service.
- Inheritance:
- object object
- Implements:
-
IIndent
Provider IEditorDocument Text Change Event Sink
Constructors
VBIndentProvider()
Initializes an instance of the class.
Properties
Mode
Gets the Indent
Property Value
- Indent
Mode : The Indent
Mode that specifies the mode by which to indent text.
Methods
GetIndentAmount(TextSnapshotOffset, int)
Returns the ideal amount of indent, always in columns, for the line containing the snapshot offset.
Parameter | Type | Description |
---|---|---|
snapshotOffset | Text |
The Text |
defaultAmount | int | The default indent amount, which is the amount used in |
Returns
- int:
The ideal amount of indent, always in columns, for the line containing the snapshot offset.
Remarks
This method is called when the IndentSmart
.
The containing IText
OnDocumentTextChanged(SyntaxEditor, EditorSnapshotChangedEventArgs)
Occurs after a text change occurs to an IEditor
Parameter | Type | Description |
---|---|---|
editor | Syntax |
The Syntax |
e | Editor |
The |
OnDocumentTextChanging(SyntaxEditor, EditorSnapshotChangingEventArgs)
Occurs before a text change occurs to an IEditor
Parameter | Type | Description |
---|---|---|
editor | Syntax |
The Syntax |
e | Editor |
The |