Sheerpower®
A Guide to the Sheerpower Language


Previous Contents Index

F.3 Keystroke Combinations

The following table describes keystroke combinations that allow the user to do particular functions with ease. For example, [Ctrl/C] and [Ctrl/V] perform the common "copy and paste" combination.

Table F-3 Keystroke Combinations
Keystroke Combinations
ctrl/c copy (ends selection) ctrl/v paste
KP 5 copy KP Enter paste
ctrl/x cut selection ctrl/v paste
gold/F3 bring up FIND dialog box F3 search for next occurence
F5 cut current line gold/F5 uncut current line [pastes it back]
F6 cut current word gold/F6 uncuts current word [pastes it back]
home move to the beginning of current line gold/end deletes from cursor to end of line
KP 4 select line KP 6 cut
gold/KP 4 select paragraph gold/KP 5 copy paragraph
ctrl/p go to previous bookmark ctrl/n go to next bookmark

F.4 Editing Keystrokes

The following tables describe the special Sheerpower keystrokes designed to make editing in SPDEV fast and easy.

F.4.1 Select Keystrokes

Table F-4 Select
Keystroke Function Performed
KP4 selects current line
gold/KP4 selects current paragraph
ctrl/a select all
shift/ctrl/end selects text from cursor to end of file
shift/ctrl/home selects text from cursor to beginning of file
shift/right arrow selects text one character at a time

F.4.2 Copy Keystrokes

Table F-5 Copy
Keystroke Function Performed
ctrl/c copy (end selection)
KP 5 copy [or copy CURRENT LINE if no text selected]
gold/KP 5 copy current paragraph without selecting

F.4.3 Cut Keystrokes

Table F-6 Cut
Keystroke Function Performed
KP 6 cut
ctrl/x cut selection
F7 cut current character without selecting
F6 cut current word without selecting
F5 cut current line without selecting
KP - cut current line without selecting
KP + cut current word without selecting
ctrl/KP + cut current character without selecting
shift/delete cut selected text to the clipboard

F.4.4 Paste Keystrokes

Table F-7 Paste
Keystroke Function Performed
gold/KP 6 paste
ctrl/t trim whitespace and paste
ctrl/v paste
KP Enter paste
gold/ctrl/KP + uncut current character [paste]
gold/F7 uncut character [paste]
gold/KP + uncut current word [paste]
gold/F6 uncut current word [paste]
gold/F5 uncut current line [paste]

F.4.5 Delete Keystrokes

Table F-8 Delete
Keystroke Function Performed
delete delete the current selection or current character
backspace delete previous character
gold/F2 delete from cursor to end of word
gold/KP 3 delete from cursor to end of word [including any whitespace]; deleted characters saved in word paste buffer
gold/KP 2 delete from cursor to end of line
gold/ctrl/e delete from cursor to end of line
gold/end delete from cursor to end of line
gold/home delete from cursor to beginning of line
ctrl/u delete from cursor to beginning of line

F.4.6 Formatting Keystrokes

Table F-9 Formatting
Keystroke Function Performed
gold/a align the "=" and ":" in a group of variable assignments
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/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/o organize routines within source code
gold/p generate program template
gold/r generate routine template
gold/s sort current column

F.5 Keystrokes For Movement Within a File

Sheerpower has keystrokes which allows quick and easy movement within files. This saves much time when large files are being worked with.

Table F-10 Keystrokes for Movement within a File
Keystroke Function Performed
KP 1 move cursor to next word
F2 move cursor to beginning of next word
ctrl/KP4 move cursor left one word
KP 2 move cursor to the end of line (or next line if already at end of line)
ctrl/e move cursor to end of line (or end of next line if already at end of line)
end move cursor to end of line (or beginning of line if already at end of line, and visa versa)
ctrl/end go to the bottom of the file
ctrl/h move cursor to beginning of line (or beginning of previous line if already at beginning)
home move cursor to the beginning of current line
ctrl/home go to the top of the file
KP 0 move cursor to the beginning of the next line. If at EOF, a new line is started.
F1 move cursor to the beginning of the next line. If at EOF, a new line is started.
KP 7 move cursor one page up
KP 8 move cursor one page down
page down move cursor one page down
gold/page down move cursor to bottom of file
page up move cursor one page up
gold/page up move cursor to top of file
right arrow move cursor right one character
ctrl/right arrow move cursor right one word
left arrow move cursor left one character
ctrl/left arrow move cursor left one word
down arrow move cursor down one line
up arrow move cursor up one line
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/F3 bring up FIND dialog box
gold/KP * bring up FIND dialog box
ctrl/g find next
F3 find next
F11 go to definition-place the cursor on a reference to a routine, then press F11 to go directly to that routine.
F12 show definition-place cursor on a reference to a routine, then press F12 to display the contents of the routine header in a new window.
KP * find next
ctrl/b toggle between current cursor position and previous cursor position
ctrl/f brings up the FIND dialog box
ctrl/m insert/remove bookmark
ctrl/n move cursor to next bookmark
ctrl/p move cursor to previous bookmark
gold/KP 0 insert a blank line before the current line. Move cursor to the blank line


Previous Next Contents Index