In This Article

JsonOutliner Class

Provides a JSON language outliner service.

public class JsonOutliner : IOutliner
Inheritance:
object object
Implements:
IOutliner

Constructors

JsonOutliner()

Initializes an instance of the class.

public JsonOutliner()

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.

Inherited Members