Select to the start of the previous paragraph a-↑ Invoke the Find in Files dialog box c-F5 TextPad Quick Reference Card Select forward to start of word c-W Find next instance of search pattern c-F version 0.03 – editor: John Bokma – freelance programmer Select back to start of word c-s-B Find previous instance of search pattern c-s-F Select back to end of word c-s-D Hypertext jump in Search Results window Enter Cursor Movement Select to start of line, press twice to select to the Hypertext jump to next item in Search Results window F4 Cursor left one character ← left margin s-Home Hypertext jump to previous item in Search Results window s-F4 Cursor left one word c-← Select to end of line s-End Activate the Search Results window s-F11 Cursor right one character → Select to start of document c-s-Home Cursor right one word c-→ Select to end of document c-s-End Bookmarks Cursor down one line ↓ Select to matching { [ ( < or > ) ] } c-s-M Set or clear a bookmark on the current line c-F2 Cursor down to the start of the next paragraph a-↓ Switch in and out of selection mode c-Q-S Go to next bookmark F2 Cursor up one line ↑ Copy selection to clipboard c-C Go to previous bookmark s-F2 Cursor up to the start of the previous paragraph a-↑ Append selection to clipboard c-s-C Edit Modes Move cursor forward to start of word c-W Cut the selection to the clipboard c-X Move the cursor back to start of word c-B Cut and append the selection to the clipboard c-s-X Switch between insert and overtype mode Insert Move cursor back to end of word c-D Paste text from the clipboard c-V Switch in and out of block select mode c-Q-B Cursor to start of line, press twice to go to the left margin Home Indent selected lines Tab Switch between read-only and edit modes c-Q-E Cursor to end of line End Reduce indentation of selected lines s-Tab Switch in and out of word-wrap mode c-Q-W Cursor to start of document c-Home Delete selection Backspace Macros Cursor to end of document c-End Delete selection, or character after the cursor Delete Cursor to the first visible line, in the current column, Invert case of selection c-K Record a new macro c-s-R if possible a-Home Convert first character of selection to upper case and Playback the scratch macro c-R Cursor to the last visible line, in the current column, the rest to lower case c-s-U Invoke the Playback Macro dialog box c-F7 if possible a-End Check the spelling of the selection F7 Documents Move cursor to the next tab stop, or indent selected lines Tab Create a new document c-N Move cursor to the previous tab stop, or reduce Formatting Save the active document c-S indentation of selected lines s-Tab Start a new line Enter Save all documents c-s-S Go to line c-G Insert new line after current line c-Enter Save as F12 Find matching { [ ( < or > ) ] } c-M Insert new line before current line c-s-Enter Increase indentation c-I Open a document using the Open File dialog box c-O Deleting Reduce indentation c-s-I Open a document by typing its name c-s-O Delete selection, or character before the cursor, Join selected lines c-J Insert the contents of a file at the cursor position c-s-V (replace it with a space in overtype mode) Backspace Reformat selected lines c-s-J Delete all lines in the document a-Delete Delete back to the last start of word c-Backspace Split word-wrapped lines c-a-J Next window c-Tab or c-F6 Delete selection, or character after the cursor Delete Center text c-E Previous window c-s-Tab or c-s-F6 Delete forward to the next start of word c-Delete Right align text c-s-E Close the active window c-F4 Delete to the end of the line c-s-Delete Insert a page break c-s-L Display in-context properties dialog box a-Enter Delete all lines in the document a-Delete Display/hide visible spaces, tabs and paragraphs c-Q-I Display document statistics on status bar c-F1 Display/hide line numbers c-Q-L Invoke the Manage Files dialog box F3 Undo and Redo Set the right margin at the cursor position c-Q-R Invoke Windows File Manager or Explorer a-F3 Undo last edit c-Z Switch in and out of word-wrap mode c-Q-W Print active document c-P Undo all edits c-s-Z Preview the active document as it will print c-s-P Redo last undo c-Y Case Change and Transposing Check the spelling of the active document F7 Redo all undos c-s-Y Convert selection to lower case c-L Sort F9 Convert selection to upper case c-U Compare c-F9 Selection and Clipboard Convert first character of selection to upper case and Invoke the document selector F11 Select all c-A the rest to lower case c-s-U Scrolling and Scroll Bars Cancel any existing selection Escape Invert case of selection c-K Select left one character s-← Transpose the lines or characters either side of the cursor c-T Scroll the view up one line, without moving the cursor c-↓ Select left one word c-s-← Transpose the words either side of the cursor c-s-T Scroll the view down one line, without moving the cursor c-↑ Select right one character → Locks cursor position when scrolling with Select right one word c-s-→ Search and Replace page up/down keys Scroll Lock Select down one line s-↓ Invoke the Replace dialog box F8 Display/hide the horizontal scroll bar c-Q-H Select to the start of the next paragraph a-s-↓ Replace next instance of search pattern c-F8 Display/hide the vertical scroll bar c-Q-V Select up one line ↑ Invoke the Find dialog box F5 Switch in and out of synchronized scrolling mode c-Q-Y Command Results \ "Escapes" the special meaning of the above expressions, $FileDir The drive and directory of the current document. Stop the tool running in the command window c-Break so that they can be matched as literal characters. $WspDir The drive and directory of the current workspace Hypertext jump in Command Results window Enter [:alpha:] Any letter. file. Hypertext jump to next item in Command Results window F4 [:lower:] Any lower case letter. $FilePath The directory of the current document, stripped Hypertext jump to previous item in Command Results window s-F4 [:upper:] Any upper case letter. of the drive. Activate the Command Results window c-F11 [:alnum:] Any digit or letter. $UnixPath Same as $FilePath, except any '\' characters are [:digit:] Any digit. changed to '/'. Views [:xdigit:] Any hexadecimal digit (0-9, a-f or A-F). $Dir The current working drive and directory. Activate next view F6 [:blank:] Space or tab. $UNIXDir Same as $Dir, except any '\' characters are Activate previous view s-F6 [:space:] Space, tab, vertical tab, return, line feed, form feed. changed to '/'. [:cntrl:] Control characters (Delete and ASCII codes less than $Line The cursor line within the current document. Help space). $Col The cursor column within the current document. In-context help F1 [:print:] Printable characters, including space. $Prompt Prompt for a value to substitute for $Prompt. If it Invoke in-context help cursor s-F1 [:graph:] Printable characters, excluding space. is followed by a string in brackets, that string [:punct:] Anything that is not a control or alphanumeric character. will be displayed in the prompt dialog box. Miscellaneous [:word:] Letters, hypens and apostrophes. $Password Prompt for a value to substitute for $Password. Activate the Clip Library a-0 [:token:] Any of the characters defined on the Syntax page for the The value will not be echoed as it is typed. If it is Show or hide the Clip Library c-F3 document class, or in the syntax definition file if syntax followed by a string in brackets, that string will Display in-context properties dialog box a-Enter highlighting is enabled for the document class. be displayed in the prompt dialog box. Activate the main menu F10 $Sel Selected text in the active document. This is Popup the in-context document menu s-F10 or right mouse Replacement Expressions limited to the first line in a multi-line selection. Popup the insert date/time menu c-F10 or c-right mouse & Substitute the text matching the entire search pattern. $SelLine The text on the line containing the cursor. This Display the Preferences dialog box c-Q-P \0 to \9 Substitute the text matching tagged expression 0 through has the side effect of selecting that line. 9. \0 is equivalent to &. $SelWord The word containing the cursor. This has the side Regular Expressions (POSIX) \f Substitute a page break (form feed). effect of selecting that word. . Any single character. \i