Formatting keys and toolbars
When the toolbar is visible, you can use its buttons to format
text. The changes you make in preview are temporary.
The keystrokes listed in the following tables also assign
formatting to selected text.
Keyboard shortcuts do not work in the painter
These keystrokes work only when you are running the DataWindow object or the
window containing the RichTextEdit control. In PowerBuilder, only keyboard
shortcuts defined for menu items in the painter can be used.
|
Category |
Action |
Key |
|---|---|---|
|
Using the clipboard |
Cut |
Ctrl+X |
|
Paste |
Ctrl+V, Shift+Insert |
|
|
Copy |
Ctrl+C |
|
|
Undo |
Ctrl+Z |
|
|
Assigning font attributes |
Bold |
Ctrl+B |
|
Italic |
Ctrl+I |
|
|
Underline |
Ctrl+U |
|
|
Subscript |
Ctrl+= |
|
|
Superscript |
Ctrl+Shift+= |
|
|
Strikeout |
Ctrl+U |
|
|
Change font |
Ctrl+Shift+U |
|
|
Setting line spacing |
Single space |
Ctrl+1 |
|
Double space |
Ctrl+2 |
|
|
One and a half space |
Ctrl+5 |
|
|
Aligning text |
Justify |
Ctrl+J |
|
Center |
Ctrl+E |
|
|
Left |
Ctrl+L |
|
|
Right |
Ctrl+R |
|
|
Set paragraph formatting |
Ctrl+Shift+S |
|
|
Editing |
Insert a new paragraph |
Enter |
|
Insert an empty line |
Ctrl+N |
|
|
Delete character to right of insertion |
Delete |
|
|
Delete character to left of insertion |
Backspace |
|
|
Input fields |
Select the input field at the insertion |
Enter |
|
Activate the input field at the insertion |
Space |
|
|
When input field is active, accept data |
Enter |
|
|
When input field is active, exit field |
Esc |
|
|
Move to next input field |
Ctrl+Tab |
|
|
Move to previous input field |
Shift+Ctrl+Tab |
|
|
Miscellaneous |
Select All |
Ctrl+A |
|
|
Ctrl+P |
|
|
Undo |
Ctrl+Z |
|
|
Toggle display of nonprinting characters |
Ctrl+* |
|
|
Toggle preview mode |
Ctrl+F2 |
Navigating and selecting text
|
Move or select |
Navigating key |
Selection key |
|---|---|---|
|
A character to the right or left |
Right Arrow or |
Shift+Right Arrow or Shift+Left |
|
A word to the right or left |
Ctrl+Right Arrow or Ctrl+Left |
Ctrl+Shift+Right Arrow |
|
A line up or down |
Up Arrow or |
Shift+Up Arrow or Shift+Down |
|
To start of line |
Home |
Shift+Home |
|
To end of line |
End |
Shift+End |
|
To start of document |
Ctrl+Home |
Ctrl+Shift+Home |
|
To end of document |
Ctrl+End |
Ctrl+Shift+End |
|
To next input field |
Ctrl+Tab |
|
|
To previous input field |
Shift+Ctrl+Tab |