|
Liberty BASIC Workshop Help     |
EDITING
Version 4.8.0 adds the ability to split an editing window into two panes. Most of the editing tools work only on the upper pane.
EDITING CODE
Use the EDIT menu, or the shortcut keys to edit code.
MENUSHORTCUT
UNDOCTRL - Z
REDOCTRL - R
CUTCTRL - X
COPYCTRL - C
PASTECTRL - V
SELECTALLCTRL - A
DELETECTRL - D
CLEARALLCTRL - L
FINDCTRL - F
BOOKMARKSSHORTCUT
TOGGLESHIFT - F1
NEXTSHIFT - F2
PREVIOUSSHIFT - F3
CLEARSHIFT - F4
FIND/REPLACE F3
Use the find/replace option in the Edit menu, or click the find/replace button on the toolbar. F3 will activate the FIND AGAIN feature. The find/replace dialog remembers your search queries for the current coding session and stores them in a combobox. You can either select text in an edit window before opening the find/replace dialog, or type text into the box, or select an item from the combobox to search.
GO TO LINE
Activate this feature in the Edit Tools Menu. Enter a line number and the editor will seek to that line and highlight it. This is helpful when Liberty BASIC stops compiling a program. The compiler progress dialog will indicate how many lines have been compiled. Use GO TO LINE to find the line that is halting the compile.
BLOCK COMMENT CTRL-B
Use this feature from the Edit Tools Menu to add the comment character ( ' ) to the beginning of each line of a block of selected code. If the comment character already starts the line of code, it will be removed. If the characters (REM ) start a line of code within the block, they will be removed. The status of the first selected line will determine whether the comment character is added or removed from the selected block of code. If it is commented out, the entire block will have comment characters removed. If the first line is uncommented, then the entire block will be commented out.
BLOCK INDENT/OUTDENT
Highlight a block of code by clicking and selecting with the mouse, then press the TAB key to indent all lines in the selection by one tab. Press Shift-TAB to outdent all lines in the selection by one tab.
SYNTAX VIEWER
Choose Syntax Viewer from the Edit Tools menu to open a dialog containing a list of most Liberty BASIC commands, functions and keywords. The chosen item, along with its syntax, can be copied to the clipboard.
SYNTAX HELPER F4
Activate a popup box containing syntax help by typing a word or highlighting a word, then hitting F4, or by choosing Syntax Helper from the Edit Tools Menu. The popup box will disappear when ENTER, or page navigation keys are pressed, when the mouse is clicked in the window, or when the scroll bars are used. To hide the syntax popup manually, use the menu or hit F4 again.
INSERT KEYWORD F2
Pressing the F2 Key will pop up a small box containing all keywords. Scroll through the box to find the desired word, then hit TAB or ENTER and the word will appear in the edit window at the cursor location.
BOOKMARKS
Click the yellow button above the line number margin and a yellow bookmark will appear in the margin next to the currently selected line. If a bookmark already exists on that line, it will be removed. Click the bookmark-next or bookmark-previous buttons to go quickly to the next or previous bookmark in the code. Click the bookmark-X button to remove all bookmarks in the current edit window. Bookmarks can be toggled by right-clicking with the mouse in the bookmark margin, in the Edit Tools Menu, or with the key combinations:
TOGGLESHIFT - F1
NEXTSHIFT - F2
PREVIOUSSHIFT - F3
CLEARSHIFT - F4
BOOKMARK DIRCTIVE
If you place the following code at the beginning of a line:
'bookmark
Liberty BASIC Workshop adds the bookmark for you when you hit "ENTER" in the current code. When code is loaded from disk, it is checked for bookmark directives, and bookmarks are added automatically.
LINENUMBERS
Linenumbers appear in the left margin of the edit menu. The line number display may be turned on or off in the Options menu.
CURRENT LINE HIGHLIGHT
The line containing the caret may be highlighted. This option can be turned on or off in the Options menu.
PROGRAMMER'S COMMENTS
Programmer's custom comments can be inserted in code at the current cursor position by selecting this option from the Edit Tools Menu. There is a textbox in the Options Dialog to enter any comments or code to be included with this feature.
BRANCH LABELS
Code may be navigated by choosing the desired branch label from the combobox at the top of each edit window. Functions and subs are also shown in the list of branch labels. There is a button to refresh the list of branch labels. There is also a "Sort" button that toggles the way they are sorted. Branch labels can be sorted in the order they appear, or they can be sorted alphabetically.
ZOOM VIEW
Version 4.8.0 adds the ability to zoom the view in or out, or to return to the default text size. Zooming affects both panes in the split pane view. Use the buttons labeled - = + to change the zoom amount.
HTML export copyright (C) 1998 Windows Help
Designer