6.17.4   Context Menu

By clicking into the program window with the right mouse button you can open a context menu, which contains shortcuts to some of the actions of the menus Menu Edit, for example, copy and paste lines, and Menu Execute, for example, activate and deactivate lines or set and clear breakpoints. Please note that these actions behave slightly differently than their counterparts in the main menus: When called via the main menus, the actions are performed only on the selected part of the program; if nothing is selected, no action is performed. In contrast, when an action is called via the context menu and no line is selected in the program, the action is performed for the line that you right-clicked.

Note that any actions that modify the position of the PC will cause the call stack to pop all procedure calls until the current procedure call remains on top. This is relevant in case the current procedure call is not the top-most procedure call and is necessary to secure the consistency of the call stack. Modification of the PC can happen as well directly as described above or indirectly by, for example, inserting a program line above the PC in the current procedure body.

Action Shortcut Description

Run Until Here Shift+F5 Execute the lines from the PC to the line under the mouse cursor.

Open Operator Window Ctrl+Shift+Space Open the current operator or procedure call in the operator window for editing.

Help If the line under the mouse cursor contains an operator call, the corresponding page will be opened in the online help window. This is a shortcut to double-clicking the program line and clicking Help in the operator window.

Show Procedure Alt+Return or Alt+Enter If the line under the mouse cursor contains a procedure call, the corresponding procedure will become the current procedure and it is displayed for editing.

Show Procedure in New Tab Alt+Ctrl+Return or Alt+Ctrl+Enter If the line under the mouse cursor contains a procedure call, the corresponding procedure will be displayed as a new tab in the current program window. If the corresponding procedure tab exists already, it will be activated.

Show Procedure in New Window Alt+Shift+Return or Alt+Shift+Enter If the line under the mouse cursor contains a procedure call, the corresponding procedure will be displayed in a new program window.

Show Caller This menu item lists all the places in the current program where the currently selected procedure is called. Clicking an entry takes you to the corresponding program line.

Cut Ctrl+X or Shift+Del Cut selected text.

Copy Ctrl+C

Copy selected text.

Paste Ctrl+V or Shift+Ins Paste clipboard content at cursor position or replace selected text with clipboard content.

Delete Del Delete selected text.

Activate F3 Activate selected lines.

Deactivate F4 Deactivate selected lines.

Auto Indent Ctrl+Shift+I The indenting level of all selected program lines is updated. Nested program blocks are indented by the amount of spaces set in the preferences.

Create New Procedure Ctrl+Shift+P,C or Ctrl+Shift+P,Ctrl+Shift+C See Create New Procedure.

Set Program Counter Ctrl+, Set the PC to the selected line.

Set Insert Cursor Ctrl+. Set the IC to the selected line.

Update Program Counter See preferences.

Set/Clear Bookmark Ctrl+F11 See Set/Clear Bookmark.

Set/Clear Breakpoint F10 See Set/Clear Breakpoint.

Activate/Deactivate Breakpoint Shift+F10 See Activate/Deactivate Breakpoint.

Set/Clear Breakpoint on Variable Toggle breakpoint on variable under mouse cursor. See section “Breakpoints on Variables”.

Activate/Deactivate Breakpoint on Variable Toggle activation of breakpoint on variable under mouse cursor.

Manage Breakpoints Ctrl+Shift+O,F10 or Ctrl+Shift+O,Ctrl+Shift+F10 See Manage Breakpoints.

Add Watch Add the variable under the mouse cursor to the user tab of the variable window.

Print... Ctrl+P See Print....