Description
Justification
Modern Visual Studio offers Back and Forward buttons on the Standard toolbar, for quickly jumping to recently visited code locations. Neither VBA nor VB6 have this functionality. This hampers usability; for example after jumping to a definition to 'peek' at it, you have to manually locate your previous location when done.
Description
We already track the current selection to update the status bar. We could capture this into a stack to support Back / Forward functionality, exposed as buttons on the RD toolbar.
Additional context
Would need to understand the correct behaviour for 'Forward' if the user backtracks and then makes a new selection. Suggest we just mimic VS behaviour, which is to dump the "Forward" stack as soon as a different selection change occurs.