Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EditorNavigationContribution

Hierarchy

  • EditorNavigationContribution

Implements

  • Disposable
  • FrontendApplicationContribution

Index

Constructors

Properties

commandRegistry: CommandRegistry
editorManager: EditorManager
logger: ILogger
preferenceService: PreferenceService
storageService: StorageService
toDispose: DisposableCollection = ...
toDisposePerCurrentEditor: DisposableCollection = ...
CLOSED_EDITORS_KEY: string = 'recently-closed-editors'
ID: string = 'editor-navigation-contribution'
MOUSE_NAVIGATION_PREFERENCE: string = 'workbench.editor.mouseBackForwardToNavigate'

Methods

  • dispose(): void
  • init(): void
  • installMouseNavigationSupport(): Promise<void>
  • isMinimapEnabled(): boolean
  • isRenderWhitespaceEnabled(): boolean
  • isStickyScrollEnabled(): boolean
  • isZeroLengthRange(range: Range): boolean
  • onCurrentEditorChanged(editorWidget: undefined | EditorWidget): void
  • onCursorPositionChanged(editor: TextEditor, position: Position): void
  • onMouseDown(event: MouseEvent): Promise<void>
  • onSelectionChanged(editor: TextEditor, selection: Range): void
  • onStart(): Promise<void>
  • onStop(): void
  • reopenLastClosedEditor(): Promise<void>
  • restoreClosedEditors(): Promise<void>
  • restoreNavigationLocations(): Promise<void>
  • restoreState(): Promise<void>
  • shouldNavigateWithMouse(): boolean
  • shouldStoreClosedEditors(): boolean
  • storeState(): Promise<void>
  • toggleMinimap(): Promise<void>
  • toggleRenderWhitespace(): Promise<void>
  • toggleStickyScroll(): Promise<void>
  • toggleWordWrap(): Promise<void>