KEYBOARD FEATURES

11.6 KEYBOARD FEATURES

The following keys are specified for the editor: • Shortcuts

• Movement and Selection • Special Characters

11.6.1 Shortcuts

The following keyboard shortcuts are available for the editor. To change shortcut key assignments, use Configure>Settings, Hot Keys tab.

11.6.1.1 EDITING

Result CTRL + Z

Keystroke

Undo last edit

CTRL + Y

Redo last edit

CTRL + X,

Cut selected text

Shift + Delete CTRL + C,

Copy selected text

CTRL + Insert CTRL + V,

Paste text

Shift + Insert Delete

Delete selected text

CTRL + A Select all text in the window CTRL + F

Find

CTRL + H

Find/Replace F3 Repeat find/replace down

SHIFT + F3

Repeat find/replace up

CTRL + G

Goto line

CTRL + M

Match brace

11.6.1.2 FILE MANAGEMENT

Result CTRL + N

Keystroke

Create new text file

CTRL + O

Open existing file

CTRL + F4

Close existing file

CTRL + S

Save active file

CTRL + P

Print active file

11.6.1.3 NAVIGATION

Result CTRL + F6

Keystroke

Next open window

SHIFT + CTRL + F6

Previous open window

CTRL + K

Toggle Bookmark

CTRL + L

Next Bookmark F1 Help

DS51519A-page 162

 2005 Microchip Technology Inc.

Using the Editor

11.6.2 Movement and Selection

The keyboard keystrokes shown in Table 11-2 may be used when editing text. TABLE 11-2:

KEYSTROKES FOR EDITING TEXT

Keystroke

Result

CTRL + A

Selects all the text in the file

UP

Moves the cursor up by one line

SHIFT + UP Moves the cursor up by one line, extending the selection DOWN

Moves the cursor down by one line

SHIFT + DOWN Moves the cursor down by one line, extending the selection LEFT

Moves the cursor left by one character

SHIFT + LEFT Moves the cursor left by one character, extending the selection CTRL + LEFT

Moves the cursor left by one word

CTRL + SHIFT + LEFT Moves the cursor left by one word, extending the selection RIGHT

Moves the cursor right by one character

SHIFT + RIGHT Moves the cursor right by one character, extending the selection CTRL + RIGHT

Moves the cursor right by one word

CTRL + SHIFT + RIGHT Moves the cursor right by one word, extending the selection PGDN

Moves the cursor down by one page

SHIFT + PGDN Moves the cursor down by one page, extending the selection PGUP

Moves the cursor up by one page

SHIFT + PGUP Moves the cursor up by one page, extending the selection HOME

Moves the cursor to the start of the line

SHIFT + HOME Moves the cursor to the start of the line, extending the selection CTRL + HOME

Moves the cursor to the start of the file

CTRL + SHIFT + HOME Moves the cursor to the start of the file, extending the selection END

Moves the cursor to the end of the line

SHIFT + END Moves the cursor to the end of the line, extending the selection CTRL + END

Moves the cursor to the end of the file

CTRL + SHIFT + END Moves the cursor to the end of the file, extending the selection

11.6.3 Special Characters

To enter any single character:

1. Put the keyboard keypad into numeric mode, either with <NumLock> or by holding down <Shift>.

2. Hold down <Alt>.

3. Type the decimal number of the character you want (between 0 and 256.)

4. Release <ALT>. If the character you typed has a visible form, it will appear at the caret in your file

window. Insert/Overtype Modes:

Use the Insert key to toggle between INS and OVR mode, shown on the status bar.

Overtype Mode Enter

Key(s)

Insert Mode

Move to first character of next line, if any TAB or

Insert NewLine

Move to next tab position, if any CTRL + I

Insert Tab

 2005 Microchip Technology Inc.

DS51519A-page 163

MPLAB ® IDE User’s Guide