Sheerpower®
A Guide to the Sheerpower Language


Previous Contents Index

F.6 Search, Find and Replace Keystrokes

If you want to find certain words or phrases within a file, and even replace it throughout an entire file, the following keystrokes will speed up that task enormously.

Table F-11 Search, Find and Replace Keystrokes
Keystroke Function Performed
gold/F3 bring up FIND dialog box
gold/KP * bring up FIND dialog box
F3 find next
gold/ctrl/f puts data into the "find buffer". F3 performs the "find".
ctrl/g find next
KP * find next
ctrl/f brings up the FIND dialog box
Insert toggle between insert and overstrike modes
gold/KP Enter bring up the REPLACE DIALOG BOX
ctrl/m insert/remove bookmark
ctrl/n move cursor to next bookmark
ctrl/p move cursor to previous bookmark
ctrl/b toggle between current cursor position and previous cursor position
alt/down arrow prompts for # of lines to move down; moves cursor down that # of lines
alt/up arrow prompts for # of lines to move up; moves cursor up that # of lines
gold/down arrow convert selection to lower case, skips quoted text
gold/up arrow convert selection to upper case, skips quoted text
F9 expansion key
gold/. (period) toggle select [SEL] mode
ctrl/r restore previous selection

F.7 Keypad Editing Keystrokes

In order to speed up the writing of programs and editing of text, high frequency use tasks have been mapped to the numeric keypad located on the right side of most personal computer keyboards. This allows for extremely fast one hand editing.

KP = keypad. To perform a KP keystroke, just press the keypad number or character indicated for the function you wish to perform. Some of the keystrokes use the 'GOLD' key, which is the [Esc] or [NumLock] key.

Disable Keypad Editing

While using SPDEV, the numeric keypad defaults to the special keypad editing keystrokes outlined below. To disable or re-enable the numeric keypad editing keystrokes inside SPDEV, click on Options --> Change System Settings --> then select the checkbox beside "Disable Keypad Editing".

Table F-12 Keypad Editing Keystrokes
Keystroke Function Performed
Alt/Num-Lock disables or re-enables the embedded keypad special functions.
KP 0 move cursor to the beginning of the next line. If at EOF, a new line is started.
gold/KP 0 insert a blank line before the current line; moves cursor to the blank line.
KP 1 move cursor to the next word
gold/KP 1 reverse case on selected text---including quoted text
KP 2 move cursor to the end of line (or next line if already at end of line)
gold/KP 2 delete from cursor to end of line
gold/KP 3 delete from cursor to end of word [including any white space] ; deleted characters saved in word paste buffer
KP 4 select current line
gold/KP 4 select current paragraph
KP 5 copy current line
gold/KP 5 copy current paragraph
KP 6 cut
gold/KP 6 paste
KP 7 move cursor one page up
KP 8 move cursor one page down
gold/KP 8 Program file - wraps long lines of code correctly at the right-margin and inserts "&" at the end of the wrapped line of code. Code is indented accordingly.
gold/KP 8 Text file - wrap and fill selected text. If no text is selected, it defaults to the 'current paragraph'.
KP . (period) toggle select [SEL] mode
KP + cut current word
gold/KP + uncut current word [pastes it back]
ctrl/KP + cut current char
gold/ctrl/KP + paste [uncut current word]
KP / expansion key
KP * find next
gold/KP * bring up FIND dialog box
KP - cut the current line
gold/KP Enter bring up the REPLACE DIALOG BOX

F.8 GOLD Keystrokes

These are the [GOLD] keystrokes. The GOLD Key referred to in these tables is a special key used to create many of the keystrokes within SPDEV. Both the [Esc] (escape key - top left corner of the keyboard) and the [Num-Lock] (numbers lock key in the numeric keypad) are GOLD keys in Sheerpower Rapid Development Environment.

To use the GOLD key, press the GOLD key, let go, then continue with the rest of the keystroke to complete the function.

For example, to use gold/F3 to bring up the FIND dialog box, you would press once on a GOLD key, either the escape key or the num-lock key. Let go and look in the bottom right hand corner of the SPDEV window. Sheerpower tells you if your GOLD key is activated by highlighting a small square in the bottom frame on the right side in black, with gold letters that say 'Gold'.

Gold|CAP|NUM|OVR

Now that the GOLD key is activated, press [F3] to complete the keystroke. The FIND dialog box will pop open on the screen.

Table F-13 GOLD Keystrokes
Keystroke Function Performed
gold/alt/4 launch console window
gold/a align the "=" and ":" in a group of variable assignments
gold/c generate debug comment line of !++ xxx date
gold/d document a routine in a program
gold/down arrow convert selection to lower case, skips quoted text
gold/ctrl/e delete from cursor to end of line
gold/end delete from cursor to end of line
gold/ctrl/f puts data into the "find buffer". F3 performs the "find".
gold/f Program file - wraps long lines of code correctly at the right-margin and inserts "&" at the end of the wrapped line of code. Code is indented accordingly.
gold/f Text file - wrap and fill selected text. If no text is selected, it defaults to the 'current paragraph'.
gold/F2 delete from cursor to end of word
gold/F3 bring up FIND dialog box
gold/F5 uncut current line [pastes it back]
gold/F6 uncut current word [pastes it back]
gold/F7 uncut character [pastes it back]
gold/home delete from cursor to beginning of line
gold/KP 0 insert a blank line before the current line. Move cursor to the blank line.
gold/KP 1 reverse case on selected text---including quoted text
gold/KP 2 delete from cursor to end of line
gold/KP 3 delete from cursor to end of word [including any white space] ; deleted characters saved in word paste buffer
gold/KP 4 select current paragraph
gold/KP 5 copy current paragraph without selecting
gold/KP 6 paste
gold/KP 8 Program file - wraps long lines of code correctly at the right-margin and inserts "&" at the end of the wrapped line of code. Code is indented accordingly.
gold/KP 8 Text file - wrap and fill selected text. If no text is selected, it defaults to the 'current paragraph'.
gold/KP * bring up FIND dialog box
gold/KP + uncut current word [pastes it back]
gold/ctrl/KP + uncut current character [paste]
gold/KP Enter bring up the REPLACE dialog box
gold/= repeat next keystroke NNN times [for macros see gold/l]
gold/l start/stop recording macro
gold/alt/l launch a new instance of SPDEV
gold/alt/n bring up NEW FILE dialog box
gold/n run the macro associated with the number (n = number)
gold/o organize routines within source code
gold/alt/o bring up OPEN FILE dialog box
gold/p generate program template
gold/alt/p purge previous file versions
gold/. (period) toggle select [SEL] mode
gold/page down move cursor to bottom of file
gold/page up move cursor to top of file
gold/r generate routine template
gold/s sort current column
gold/alt/s save current file
gold/alt/t open a temporary file
gold/forward slash comment/uncomment the selected text or current line
gold/up arrow convert selection to upper case, skips quoted text
gold/alt/z save open files and exit SPDEV


Previous Next Contents Index