JavaScriptOutliner Class
Provides a JavaScript
language outliner service.
public class JavaScriptOutliner : IOutliner
- Inheritance:
- object object
- Implements:
- IOutliner
Constructors
JavaScriptOutliner()
Initializes an instance of the class.
public JavaScriptOutliner()
Properties
UpdateTrigger
Gets an AutomaticOutliningUpdateTrigger indicating whether automatic outlining should update in the main thread following a text change, or rather be driven via parse data results.
public AutomaticOutliningUpdateTrigger UpdateTrigger { get; }
Property Value
- AutomaticOutliningUpdateTrigger:
An AutomaticOutliningUpdateTrigger indicating the trigger by which automatic outlining should update.
Methods
GetOutliningSource(ITextSnapshot)
Returns an IOutliningSource for the specified ITextSnapshot.
public IOutliningSource GetOutliningSource(ITextSnapshot snapshot)
Parameter | Type | Description |
---|---|---|
snapshot | ITextSnapshot | The ITextSnapshot for which to return an outlining source. |
Returns
- IOutliningSource:
An IOutliningSource for the specified ITextSnapshot.