Editor Commands ßßßßßßßßßßßßßßßßß Borland C++'s editor commands are summarized in the following tables. Block Commands: Block commands (CUA and Alternate) Block commands (Borland-style) Block commands in depth Extending selected blocks Other Commands: Cursor movement commands Insert and delete commands More about editor commands Miscellaneous keyboard commands Block Commands (CUA and Alternate) ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows the block commands. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Both modes³ CUA ³Alternate³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍ͵ ³ Move to beginning of block³ Ctrl+Q B ³ ³ ³ ³ Move to end of block ³ Ctrl+Q K ³ ³ ³ ³ Set beginning of block ³ Ctrl+K B ³ ³ ³ ³ Set end of block ³ Ctrl+K K ³ ³ ³ ³ Exit to menu bar ³ Ctrl+K D ³ ³ ³ ³ Hide/Show block ³ Ctrl+K H ³ ³ ³ ³ Mark line ³ Ctrl+K L ³ ³ ³ ³ Print selected block ³ Ctrl+K P ³ ³ ³ ³ Mark word ³ Ctrl+K T ³ ³ ³ ³ Delete block ³ Ctrl+K Y ³ ³ ³ ³ Copy block ³ Ctrl+K C ³ ³ ³ ³ Move block ³ Ctrl+K V ³ ³ ³ ³ Copy to Clipboard ³ Ctrl+Ins ³ ³ ³ ³ Cut to Clipboard ³ Shift+Del ³ ³ ³ ³ Delete block ³ Ctrl+Del ³ ³ ³ ³ Indent block ³ Ctrl+K I ³ Shift+Ctrl+I ³ ³ ³ Paste from Clipboard ³ Shift+Ins ³ ³ ³ ³ Read block from disk ³ Ctrl+K R ³ Shift+Ctrl+R ³ ³ ³ Unindent block ³ Ctrl+K U ³ Shift+Ctrl+U ³ ³ ³ Write block to disk ³ Ctrl+K W ³ Shift+Ctrl+W ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÙ Block Commands (Borland-style) ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows the Borland-style block commands. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Keys ³ Function ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ ³ Set beginning of block ³ Ctrl+K B ³ Begin selection of text. ³ ³ Set end of block ³ Ctrl+K K ³ End selection of text. ³ ³ Hides/shows selected ³ Ctrl+K H ³ Alternately displays and hides ³ ³ text ³ ³ selected text. ³ ³ Copy selected text ³ Ctrl+K C ³ Copies the selected text to the ³ ³ to the cursor. ³ ³ position of the cursor. Useful only ³ ³ ³ ³ when the Persistent Blocks option in³ ³ ³ ³ Editor Options dialog box is on. ³ ³ Move selected text ³ Ctrl+K V ³ Moves the selected text to the ³ ³ to the cursor. ³ ³ position of the cursor. Useful only ³ ³ ³ ³ when the Persistent Blocks option in³ ³ ³ ³ Editor Options dialog box is on. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Extending selected blocks ßßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows the extending selected blocks commands. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Both modes ³ CUA ³ Alternate ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ ³Left one character ³Shift+Left arrow ³ ³ ³ ³Right one character ³Shift+Right arrow ³ ³ ³ ³End of line ³Shift+End ³ ³ ³ ³Beginning of line ³Shift+Home ³ ³ ³ ³Same column on next line ³Shift+Down arrow ³ ³ ³ ³Same column on previous line³Shift+Up arrow ³ ³ ³ ³One page down ³Shift+PgDn ³ ³ ³ ³One page up ³Shift+PgUp ³ ³ ³ ³Left one word ³Shift+Ctrl+Left arrow ³ ³ ³ ³Right one word ³Shift+Ctrl+Right arrow³ ³ ³ ³End of file ³Shift+Ctrl+End ³ ³Shift+Ctrl+PgDn³ ³Beginning of file ³Shift+Ctrl+Home ³ ³Shift+Ctrl+PgUp³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Cursor movement commands ßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows the cursor movement commands. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Both Modes ³ CUA ³ Alternate ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍ͵ ³ Character left ³ Left arrow ³ ³ Ctrl+S ³ ³ Character right ³ Right arrow ³ ³ Ctrl+D ³ ³ Word left ³ Ctrl+Left arrow ³ ³ Ctrl+A ³ ³ Word right ³ Ctrl+Right arrow ³ ³ Ctrl+F ³ ³ Line up ³ Up arrow ³ ³ Ctrl+E ³ ³ Line down ³ Down arrow ³ ³ Ctrl+X ³ ³ Scroll up one line ³ Ctrl+W ³ ³ ³ ³ Scroll down one line ³ Ctrl+Z ³ ³ ³ ³ Page up ³ PgUp ³ ³ Ctrl+R ³ ³ Page down ³ PgDn ³ ³ Ctrl+C ³ ³ Beginning of line ³ Home ³ ³ ³ ³ ³ Ctrl+Q S ³ ³ ³ ³ End of line ³ End ³ ³ ³ ³ ³ Ctrl+Q D ³ ³ ³ ³ Top of window ³ Ctrl+Q E ³ Ctrl+E ³ Ctrl+Home ³ ³ Bottom of window ³ Ctrl+Q X ³ Ctrl+X ³ Ctrl+End ³ ³ Top of file ³ Ctrl+Q R ³ Ctrl+Home ³ Ctrl+PgUp ³ ³ Bottom of file ³ Ctrl+Q C ³ Ctrl+End ³ Ctrl+PgDn ³ ³ Move to previous position ³ Ctrl+P ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÙ Insert and delete commands ßßßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows the insert and delete commands. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Both Modes ³ CUA ³ Alternate ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍ͵ ³ Delete character ³ Del ³ ³ Ctrl+G ³ ³ Delete character to left ³ Backspace ³ ³ Ctrl+H ³ ³ ³ Shift+Tab ³ ³ ³ ³ Delete line ³ Ctrl+Y ³ ³ ³ ³ Delete to end of line ³ Ctrl+Q Y ³ Shift+Ctrl+Y ³ ³ ³ Delete word ³ Ctrl+T ³ ³ ³ ³ Insert line ³ Ctrl+N ³ ³ ³ ³ Insert mode on/off ³ Ins ³ ³ Ctrl+V ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÙ Miscellaneous keyboard commands ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß This table shows other keyboard commands that you use for editing. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄ¿ ³ Command ³ Both Modes ³ CUA ³Alternate³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍ͵ ³ Autoindent mode on/off ³ Ctrl+O I ³ ³ ³ ³ Cursor through tabs on/off ³ Ctrl+O R ³ ³ ³ ³ Exit the IDE ³ ³ Alt+F4 ³ Alt+X ³ ³ Find place marker ³ Ctrl+Q n* ³ Ctrl n* ³ ³ ³ Help ³ F1 ³ ³ ³ ³ Help index ³ Shift+F1 ³ ³ ³ ³ Insert control character ³ Ctrl+P** ³ ³ ³ ³ Maximize window ³ ³ ³ F5 ³ ³ Open file ³ ³ ³ F3 ³ ³ Optimal fill mode on/off ³ Ctrl+O F ³ ³ ³ ³ Pair matching ³ Ctrl+Q [, ³ Alt+[,Alt+] ³ ³ ³ ³ Ctrl+Q ] ³ ³ ³ ³ Save file ³ Ctrl+K S ³ ³ F2 ³ ³ Search ³ Ctrl+Q F ³ ³ ³ ³ Search again ³ ³ F3 ³ Ctrl+L ³ ³ Search and replace ³ Ctrl+Q A ³ ³ ³ ³ Set marker ³ Ctrl+K n* ³ Shift+Ctrl n* ³ ³ ³ Tabs mode on/off ³ Ctrl+O T ³ ³ ³ ³ Topic search help ³ Ctrl+F1 ³ ³ ³ ³ Undo ³ Alt+Backspace ³ ³ ³ ³ Unindent mode on/off ³ Ctrl+O U ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÙ * n represents a number from 0 to 9. ** Enter control characters first by pressing Ctrl+P, then pressing the desired control character.