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>
Protected restoreClosedEditors
restoreClosedEditors(): Promise<void>
Returns Promise<void>
Protected restoreNavigationLocations
restoreNavigationLocations(): Promise<void>
Returns Promise<void>
Protected restoreState
restoreState(): Promise<void>
Returns Promise<void>
Private shouldNavigateWithMouse
shouldNavigateWithMouse(): boolean
Returns boolean
Private shouldStoreClosedEditors
shouldStoreClosedEditors(): boolean
Returns boolean
Protected storeState
storeState(): Promise<void>
Returns Promise<void>
Protected toggleMinimap
toggleMinimap(): Promise<void>
Toggle the display of minimap in the editor.
Returns Promise<void>
Protected toggleRenderWhitespace
toggleRenderWhitespace(): Promise<void>
Toggle the rendering of whitespace in the editor.
Returns Promise<void>
Protected toggleStickyScroll
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
.