Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter2:cmdline [2017/10/07 06:25] claudio [Using the menus while in the editor] |
manual:chapter2:cmdline [2019/11/25 13:13] jojo1973 [Using the menus while in the editor] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== The Command Line ===== | + | ===== The command line ===== |
==== Modes of operation ==== | ==== Modes of operation ==== | ||
+ | |||
The command line editor is an area of the screen that opens up whenever the user needs to input data on the calculator. | The command line editor is an area of the screen that opens up whenever the user needs to input data on the calculator. | ||
The command line has several different modes of operation, indicated by the letter of the blinking cursor. | The command line has several different modes of operation, indicated by the letter of the blinking cursor. | ||
- | The editor will switch between modes of operation automatically most of the time based on context. The user can manually switch by using the '' | + | The editor will switch between modes of operation automatically most of the time based on context. The user can manually switch by using the **ENTRY** key (**RS-AL**). |
- | ===' | + | |
+ | === ' | ||
When a number is first pressed, the editor opens up in direct mode. In this mode, commands and operations will close the editor, compile what was typed, and perform the operation all in a single keystroke. For example typing '' | When a number is first pressed, the editor opens up in direct mode. In this mode, commands and operations will close the editor, compile what was typed, and perform the operation all in a single keystroke. For example typing '' | ||
- | ===' | ||
- | This mode is specifically for entering symbolic expressions. It is activated when the user types the single quotes '' | ||
- | ===' | ||
- | This is the default mode for programming in RPL, it is activated automatically when the user enters the program delimiters '' | ||
- | ===' | ||
- | This is the preferred mode for entering arbitrary text. It is activated manually using **ALPHA**, or automatically when the user inserts the double quotes '' | ||
- | ---- | + | === ' |
+ | |||
+ | This mode is specifically designed for entering symbolic expressions. It is activated when the user types the __single quotes__ '' | ||
+ | |||
+ | === ' | ||
+ | |||
+ | This is the default mode for programming in RPL, it is activated automatically when the user enters the __program delimiters__ '' | ||
+ | |||
+ | === ' | ||
+ | |||
+ | This is the preferred mode for entering arbitrary text. It is activated manually using **AL**, or automatically when the user inserts the __double quotes__ '' | ||
+ | |||
+ | To switch between '' | ||
+ | |||
+ | Alphanumeric mode can also be used temporarily. When in any other mode, press **ALPHA< | ||
==== Navigation ==== | ==== Navigation ==== | ||
+ | |||
To move the cursor through the text, use the cursor keys in the keyboard. Depending on the shifts, they will perform different operations: | To move the cursor through the text, use the cursor keys in the keyboard. Depending on the shifts, they will perform different operations: | ||
- | * Cursors: Move one character left, right, up or down. | ||
- | * Cursor right at the end of the line: It will move to the start of the next line. | ||
- | * **RS-RT**: Moves to the end of the current line. | ||
- | * **RS-LF**: Moves to the start of the current line. | ||
- | * **RS-UP**: Moves to the first line of text. | ||
- | * **RS-DN**: Moves to the last line of text. | ||
- | * **RS< | ||
- | * **RS< | ||
- | * **RS< | ||
- | * **RS< | ||
- | ---- | + | * **LF**, **RT**, **UP**, **DN**: Moves one character left, right, up or down; |
+ | * **RT** at the end of the line: Moves to the start of the next line; | ||
+ | * **RS-RT**: Moves to the end of the current line; | ||
+ | * **RS-LF**: Moves to the start of the current line; | ||
+ | * **RS-UP**: Moves to the first line of text; | ||
+ | * **RS-DN**: Moves to the last line of text; | ||
+ | * **RS< | ||
+ | * **RS< | ||
+ | * **RS< | ||
+ | * **RS< | ||
==== Autocompletion of commands ==== | ==== Autocompletion of commands ==== | ||
Line 35: | Line 47: | ||
{{ : | {{ : | ||
- | When the user is typing text, the status area will offer suggestions to quickly type RPL commands based on the partial word immediately to the left of the cursor. For example, pressing the key **X** will insert the letter X into the editor, and immediately suggest '' | + | When the user is typing text, the status area will offer suggestions to quickly type RPL commands based on the partial word immediately to the left of the cursor. For example, pressing the key **X** will insert the letter |
When a suggestion is being displayed, the following keys become active: | When a suggestion is being displayed, the following keys become active: | ||
- | * **Alpha< | ||
- | * **Alpha< | ||
- | * **Alpha< | ||
- | The autocomplete feature works best when the editor is in programming mode ' | ||
- | ---- | + | * **AL< |
+ | * **AL< | ||
+ | * **AL< | ||
- | ====Text selection and copy/paste operations==== | + | The autocomplete feature works best when the editor |
- | To select text when inside | + | |
- | * **LS-LF**: Define the start of the selection at the cursor location. | + | |
- | * **LS-RT**: Define the end of the selection at the cursor location. | + | |
- | * **LS< | + | |
- | | + | |
- | | + | |
- | The clipboard is also shared with the stack, so objects from the stack can be pasted into the editor and text from the editor can be pasted into the stack. | + | |
- | ---- | + | ==== Text selection and copy/paste operations ==== |
- | ==== Using the menus while in the editor | + | To select text when inside |
- | When the editor is open, the menu keys behave slightly different from their actions when at the stack. | + | * **LS-LF**: Defines |
- | For complete information see [[manual:chapter2:menus#the-vars-menu|Working with the menus]]. This section has a summary of the menu workings when in the editor. | + | * **LS-RT**: Defines the end of the selection at the cursor location; |
+ | * **LS< | ||
+ | * **LS< | ||
+ | * **LS< | ||
- | Most commands in the menu will insert | + | The clipboard is also shared with the stack, so objects from the stack can be pasted into the editor and text from the editor |
- | If the menu is showing variables, using the menu tab will insert the name of the variable | + | ==== Using the menus while in the editor |
- | When using left or right shift (which normally do '' | + | When the editor is open, the menu keys behave slightly different from their actions |
- | + | For complete information see [[manual: | |
- | Finally, | + | |
- | + | ||
- | If the menu tab is displaying | + | |
+ | * Most commands in the menu will insert the command name to the command line. When the editor is in algebraic mode '' | ||
- | ---- | + | * if the menu is showing variables, using **{A/L}** will insert the name of the variable in the editor; |
+ | * when using **LS-{A/L}** or **RS-{A/L}** (which normally do '' | ||
+ | * finally, when using **RS< | ||
+ | * If the menu tab is displaying a directory, the menu key will change to the directory instead of inserting its name. This allows traversing directories while editing text, transparently. The **LS-UP** ('' | ||