Editor Hot Keys

The following table summarizes the hot-keys available in the PowerBASIC IDE Editor Window:

Keystroke

Description

F1

Help

F2

Code Finder dialog

F3

Find dialog/Find next

SHIFT+F3

Find previous

F4

Duplicate current line

CTRL+F4

Close current document

ALT+F4

Exit PBEDIT

F5

Compile and debug (if in edit mode) or Run program (if in debug mode)

CTRL+F5

Animate program.

F6

Clear to end-of-line

CTRL+F6

Switch to the next document window

F8

Step into next program line (when debugging)

CTRL+SHIFT+F8

Step out of current procedure (when debugging)

SHIFT+F8

Step over next program line (when debugging)

CTRL+F8

Run to caret (when debugging)

F9

Break (stop the program being debugged)

ALT+BACKSPACE

Undo

SHIFT+INSERT

Paste text from clipboard

SHIFT+DELETE

Cut text to clipboard

CTRL+DELETE

Cut text to clipboard

CTRL+INSERT

Copy text to clipboard

CTRL+HOME

Move to start of document

CTRL+END

Move to end of document

CTRL+PAGEUP

Move to start of document, maintaining caret position on screen

CTRL+PAGEDOWN

Move to end of document, maintaining caret position on screen

CTRL+0

Go to bookmark 0

ALT+0

Set bookmark 0

CTRL+1

Go to bookmark 1

ALT+1

Set bookmark 1

CTRL+2

Go to bookmark 2

ALT+2

Set bookmark 2

CTRL+3

Go to bookmark 3

ALT+3

Set bookmark 3

CTRL+4

Go to bookmark 4

ALT+4

Set bookmark 4

CTRL+5

Go to bookmark 5

ALT+5

Set bookmark 5

CTRL+6

Go to bookmark 6

ALT+6

Set bookmark 6

CTRL+7

Go to bookmark 7

ALT+7

Set bookmark 7

CTRL+8

Go to bookmark 8

ALT+8

Set bookmark 8

CTRL+9

Go to bookmark 9

ALT+9

Set bookmark 9

TAB

Indent marked block by one tab level

SHIFT+TAB

Outdent marked block by one tab level

SPACE

Indent marked block by one space

SHIFT+SPACE

Outdent marked block by one space

CTRL+A

Select all

CTRL+B

Go to Bookmark dialog

CTRL+C

Copy text to clipboard

CTRL+D

Duplicate current line

CTRL+E

Build and Execute

CTRL+F

Find dialog

CTRL+G

Go to Line dialog

CTRL+I

Toggle auto-indent mode

CTRL+K

Clear to end-of-line

CTRL+L

Select current line

CTRL+M

Compile the current document (or primary source file, if any)

CTRL+N

Create a new document, using the default file template

CTRL+O

Open an existing document

CTRL+P

Print the current source document

CTRL+Q

Comment-out marked block

CTRL+SHIFT+Q

Uncomment-out marked block

CTRL+R

Find and Replace dialog

CTRL+S

Save the current document

CTRL+T

Delete the word at the caret

CTRL+U

Paste text from clipboard

CTRL+V

Paste text from clipboard

CTRL+X

Cut text to clipboard

CTRL+Y

Cut current line to clipboard

CTRL+Z

Undo last change