Class NavigationHistory
Represents methods to store and restore text location for navigation purposes.
public class NavigationHistory
- Inheritance
-
NavigationHistory
Methods
- AddToHistory(SymbolLocation, string)
Adds specified location to the history collection.
- BeginUpdate()
Prevents navigation history updating until calling
EndUpdate
method.
- ClearCurrentHistory(ToolStripItemCollection, ToolStripItem, ToolStripItem)
Clears only forward part of the navigation history and updates all related visual controls.
- ClearHistory(ToolStripItemCollection, ToolStripItem, ToolStripItem)
Clears navigation history and updates all related visual controls.
- EndUpdate()
When implemented by a class, re-enables navigation history updating turned off by calling
BeginUpdate
method.
- GetNextHistory(ref KeyValuePair<string, SymbolLocation>)
Moves to the next location in the stored history collection.
- GetPrevHistory(ref KeyValuePair<string, SymbolLocation>)
Moves to the previous location in the stored history collection.
- SaveCurrentLocationToHistory(Point, string, string)
Adds specified location to the history collection.
- UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem)
Updates visual history elements accordingly the new history index.
- UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem, bool)
Updates visual history elements accordingly the new history index.