Editing features in the PLSQL Editor The editing features in the PLSQL Editor Using the keyboard in the PLSQL Editor The following keyboard actions are

4-114 Oracle Reports Users Guide to Building Reports

10. When the code compiles successfully, click Close.

See also Section 2.6.4, About program units

4.13.2.3 Editing a program unit

To edit a program unit:

1. In the Object Navigator, expand the Program Units node.

2. Double-click the PLSQL Editor view icon for the program unit you want to edit. 3. In the PLSQL Editor, edit the PLSQL for the program unit. See also Section 2.6.4, About program units

4.13.2.3.1 Editing features in the PLSQL Editor The editing features in the PLSQL Editor

and Stored PLSQL Editor include: Tip: If you replace text in multiple program units, you can recompile them all at once when you are finished. Tip: If your edits are extensive, you may want to click Apply to save your changes incrementally, without having to compile. Table 4–7 Editing features of PLSQL Editor Editing Feature Description Automatic indent When you press the Enter key at the end of a line, the next line is automatically indented. Color syntax highlighting Keywords, comments, strings, and symbols such as := and || are colored differently. Column and line selection You can select columns of text as well as lines of source code. To select a column, press the ALT key, then click and drag horizontally. To select a line, click the extreme left margin of the line in the Source pane. Drag and drop text manipulation Selected text may be copied or moved by dragging and dropping. To copy text, press the CTRL key and drag the selected text. To move text, simply drag the selected text. IndentOutdent lines The IndentOutdent commands on the Edit menu enable you to indent or outdent selected source lines. How To... 4-115

4.13.2.3.2 Using the keyboard in the PLSQL Editor The following keyboard actions are

supported when using the PLSQL Editor and Stored PLSQL Editor in Microsoft Windows and UNIX: Multiple split views You can create up to four separate views of the current program unit. To create horizontal views, place the cursor on the split bar at the top of the vertical scroll bar. Then click and drag the split bar down. To create vertical views, place the cursor on the split bar at the far left of the horizontal scroll bar. Then click and drag the split bar to the right. To remove a horizontal or vertical view, double-click the split bar that separates the views. Printing Choose File Print to print the current program unit. Unlimited undoredo The UndoRedo commands on the Edit menu enable you to undo or redo changes as far back as the last save operation. Note: These features are available in Microsoft Windows only. On UNIX, you can print the current program unit, and you can use TABShift-TAB to indentoutdent selected lines. Table 4–8 Using the keyboard in the PLSQL Editor To do the following Use Keystroke On Platform Move cursor left one character Left arrow key Windows and UNIX Select character as cursor moves left Shift + Left arrow key Windows and UNIX Move cursor right one character Right arrow key Windows and UNIX Select character as cursor moves right Shift + Right arrow key Windows and UNIX Copy selected characters or words Ctrl + C Windows and UNIX Cut selected characters or words Ctrl + X Windows and UNIX Paste from the clipboard Ctrl + V Windows and UNIX Delete character on the right of current cursor position, or delete selected characters or words Delete key Windows and UNIX Delete character on the left of current cursor position Backspace Windows and UNIX Table 4–7 Cont. Editing features of PLSQL Editor Editing Feature Description 4-116 Oracle Reports Users Guide to Building Reports Move cursor to the end of the program unit Ctrl + End Windows Move cursor to the start of the program unit Ctrl + Home Windows Select source lines from the current cursor position to the end of the program unit Ctrl + Shift + End Windows Select source lines from the current cursor position to the start of the program unit Ctrl + Shift + Home Windows Move cursor to the end of current line End Windows Move cursor to the start of current line Home Windows Select characters from the current cursor position to the end of the current line Shift + End Windows Select characters from the current cursor position to the start of the current line Shift + Home Windows Indent selected line, or indent characters on the right of current cursor position Tab Key Windows and UNIX Outdent selected line Shift + Tab key Windows and UNIX Move cursor down one line Down arrow key Windows and UNIX Select line as cursor moves down Shift + Down arrow key Windows and UNIX Move cursor up one line Up arrow key Windows and UNIX Select line as cursor moves up Shift + Up arrow key Windows and UNIX Scroll down the program unit by the number of lines that are shown in the Source pane PageDown key Windows and UNIX Scroll down the program unit by the number of lines that are shown in the Source pane and select the lines at the same time Shift + PageDown key Windows and UNIX Table 4–8 Cont. Using the keyboard in the PLSQL Editor To do the following Use Keystroke On Platform How To... 4-117

4.13.2.3.3 Using the mouse in the PLSQL Editor The following table describes the mouse