NavigationEditor
NavigationEditor =
object
Minimum editor surface required by navigateToDefinition. Matches
the corresponding subset of EditorViewContributionContext so the
contribution can pass its context through directly while keeping this
module decoupled from @singapore-editor/core’s full contribution surface.
Properties
Section titled “Properties”document
Section titled “document”
readonlydocument:LspTextDocumentSnapshot
Methods
Section titled “Methods”focusEditor()
Section titled “focusEditor()”focusEditor():
void
Returns
Section titled “Returns”void
setSelection()
Section titled “setSelection()”setSelection(
anchor,head,timingName,options?):void
Parameters
Section titled “Parameters”anchor
Section titled “anchor”number
number
timingName
Section titled “timingName”string
options?
Section titled “options?”EditorSetSelectionOptions
Returns
Section titled “Returns”void