Keyboard Shortcuts to Jump to the Previous or Next System
IWBNI there were keyboard shortcuts that could be used to jump to the previous or next system in page view.
This could be implemented by allowing one to use the key combinations Shift+Page Up and Shift+Page Down to jump to the previous and next systems, respectively. These keyboard shortcuts would not be available in scroll view. Also, a submenu called Go To could be added to the Edit menu. The submenu could contain the following items:
----------------------------------
Go To Submenu of Edit Menu
Previous System Shift+PgUp
Next System Shift+PgDn
----------------------------------
When the keyboard shortcut to jump to the next system is pressed in page view, the following algorithm could be used to determine the identity of the next system and the position at which the next system is to be displayed in the document window:
1. Determine which system is the current system. The current system is that which is being displayed closest to the top left corner of the document window. The distance from the top left corner of the document window to a given system would be equal to the distance from top left corner of the document window to the point on a staff line within the system that is closest to the top left corner.
2. Determine the next system. The next system would be that which has the next highest number after the current system.
3. Determine the position at which the next system is to be displayed in the document window. Roughly speaking, when the display is updated to show the next system, the position of the staff that was closest to the top left corner should remain unchanged. To do this, identify the staff number (call it N) of the staff within the current system that is closest to the top left corner of the document window. If staff N is contained in the next system, update the display with the next system positioned so that the top left corner of staff N in the next system is at the same location as it was in the current system prior to updating the display. If staff N is not contained in the next system because it was removed by optimization, display the staff with the next lower staff number that is contained in the next system in the same location that staff N was displayed in the current system.
A similar algorithm could be used when the keyboard shortcut to jump to the previous system is pressed.
Created: April 2, 2000
Last Updated: April 2, 2000
Version: Finale 2000b