Protected
_Protected
activeProtected
canProtected
Readonly
loggerProtected
Readonly
openerProtected
pointerProtected
recentlyProtected
Readonly
similarityProtected
stackProtected
Readonly
updaterGet the recently closed editors stack in chronological order.
readonly closed editors stack.
Add the recently closed editor to the history.
the recently closed editor.
Navigates one back. Returns with the previous location, or undefined
if it could not navigate back.
Checks whether the service can go back
.
Checks whether the service can go forward
.
Clears the total history.
Returns with the current location.
Protected
doEnd a logical navigation operation. Invoke this before after registerLocations
Navigates one forward. Returns with the next location, or undefined
if it could not go forward.
Get the last recently closed editor.
the recently closed editor if it exists.
Protected
istrue
if the two locations are similar.
Returns with the location of the most recent edition if any. If there were no modifications,
returns undefined
.
Returns with all known navigation locations in chronological order.
Protected
maxReturns with the number of navigation locations that the application can handle and manage. When the number of locations exceeds this number, old locations will be erased.
Convenience method for executing a navigation operation with proper start and end navigation
The operation changing the location
the result of the navigation function
Registers the give locations into the service.
Remove all occurrences of the given editor in the history if they exist.
the uri of the editor that should be removed from the history.
Reveals the location argument. If not given, reveals the current location
. Does nothing, if the argument is undefined
.
Start a logical navigation operation. Invoke this before invoking registerLocations
Protected
toReturns with the opener option for the location argument.
The navigation location service. It also stores and manages navigation locations and recently closed editors.
Since we update the navigation locations as a side effect of UI events (seting the selection, etc.) We sometimes record intermediate locations which are not considered the "final" location we're navigating to. In order to remedy, clients should always invoke "startNavigation" before registering locations and invoke "endNavigation" when done. Only when no more nested navigations are active ist the last registered location transfered to the navigation "stack".