Reopens the last closed editor with its stored view state if possible from history.
If the editor cannot be restored, continue to the next editor in history.
Returns Promise<void>
ProtectedrestoreClosedEditors
restoreClosedEditors(): Promise<void>
Returns Promise<void>
ProtectedrestoreNavigationLocations
restoreNavigationLocations(): Promise<void>
Returns Promise<void>
ProtectedrestoreState
restoreState(): Promise<void>
Returns Promise<void>
PrivateshouldNavigateWithMouse
shouldNavigateWithMouse(): boolean
Returns boolean
PrivateshouldStoreClosedEditors
shouldStoreClosedEditors(): boolean
Returns boolean
ProtectedstoreState
storeState(): Promise<void>
Returns Promise<void>
ProtectedtoggleMinimap
toggleMinimap(): Promise<void>
Toggle the display of minimap in the editor.
Returns Promise<void>
ProtectedtoggleRenderWhitespace
toggleRenderWhitespace(): Promise<void>
Toggle the rendering of whitespace in the editor.
Returns Promise<void>
ProtectedtoggleStickyScroll
toggleStickyScroll(): Promise<void>
Toggle the display of sticky scroll in the editor.
true
if therange
argument has zero length. In other words, thestart
and theend
positions are the same. Otherwise,false
.