About Editor
Editor is a basic Euphoria editor. User may edit a program and run it. User may also run other programs
while editing and even save in a special Launch Menu programs often used.
Editor will store the last cursor position when saving files and when open that file again in editor will position
at the last cursor position. Read-only files can not use this feature.
Credits:
Editor Options
Associated with Editor is a dialog window for selecting
the syntax colorization colors, number of columns for tab, number of UnDo allowed and
updates for the syntax words by category.
Click the 'Tool' bitmap located at the bottom right next to intersection of scroll bars or
Menu Item. User may add/remove words, series of words or the complete category.
Included with IDE distribution is a program Winlibscan.exw
which updates OtherC.ini file, with a collection
of Win32lib.ew keywords, to assist the user in upgrading to a new Win32lib.ew
release. After upgrading OtherC in IDE folder, copy to Stand Alone Editor folder, if using a different folder.
Menus
Menu Items 'Find/Replace' allows searching
for specified text. Searching begins at the line where the cursor is, either
Up or Down as indicated.
Menu Item 'Go to line....' will jump to the indicated
line in editor. If indicated line is beyond the range of data, a warning message will result. Go to value zero will be ignored.
Menu Item 'Undo' will reverse the last action.
Menu Item 'Launch' will run other programs while in Editor.
Credits:
Keyboard Support
The usual keyboard keys work with the Editor.
Ctrl-Home and Ctrl-End go to the top and bottom of the code. Arrow keys
move left, right, up and down. Shift-arrow extends highlighting when selecting
text. Page Up and Page Down keys move the editing window up a page and
down a page. Backspace removes text.Tab indents 1 line. Ctrl+B will shift multiple selected lines.
Ctrl+X, Ctrl+C, Ctrl+V and Ctrl+Z may be used as shortcuts for 'cut', 'copy',
'paste' and UnDo, respectively. Ctrl+D will add comments to line or selected
lines. Ctrl+A will select all lines.
Enhanced keyboard support is provided via F-keys and Shift+F-keys. The key and inserted text must be registered
prior to using. See Menu Options/"Register Hot Keys."
F1, F5, F6 and F12 are reserved for other IDE usage. One use for this feature is for users whose keyboards
do not easily support some of the brackets and paranthesis used by Euphoria language. Multiple HotKey files allowed.
The default file is IDE_HotKey.dat included with the distribution but only containing the allowable F-keys.
The first time Editor is run any input to Register Hot Keys will be transferred to the default file.
You can create new hot key files within Register Hot Key and switch back and forth between them. Note that when switching Editor
only knows about text for the currently loaded file. In other words you can not use a F-key from one file and
others from another but switching does not affect any code already inserted into Editor.
The default hot key file is used when Editor opens, however, user may indicate a different hot key file be
used.
F1 when pressed while cursor is within an Euphoria
or Win32lib keyword will bring up associated Htm for that keyword.
F1 may also be used to jump from the line where a routine is used to the statement
where a procedure or function was writtem. Press F1 while the cursor is in the routine name. Esc will
return to this statement. The routine must be written within the same file as being edited. Include files
are not searched for the routine.
Credits:
Mouse Support
Right mouse brings up a popup menu with 'undo/cut/copy/paste/select all' options.
The mouse may be used to select text
and position the scrollbars.
Locating Ex.Err Statement
When at all possible, Editor tries to show the routine
generating the ex.err statement.
Hints
When keying an Euphoria or Win32lib global routine, IDE will supply a hint above the current
line. The hint will appear as soon as the routine name is completely entered
and the following parenthesis keyed. The parenthesis must immediately follow
the routine without intervening spaces. As parameters of the routine are
keyed, the Hint will jump to the next parameter in its list. When the closing
parenthesis is keyed the Hint will be removed. Clicking in the body of
Editor will also remove the Hint. The Hint may be moved by clicking on the black 'handle' and dragging.
Hint will width resize as Editor resizes unless user has previously moved it. When the Hint contains a long list of variables, up and down arrows may
be used to scroll or the Hint may be resized.
User may select to disable Hints. However, this
may be temporarily over ridden if Ctrl+space is pressed. Ctrl+space will also reshow a deleted Hint if Ctrl+space is
pressed while cursor is in keyword or after the opening parenthesis.
User may select Hints to appear in Status Bar instead of in body of editor.
Problems
Sometimes after
ex.err, the error statement is not located properly with the editor.
Under the Launch Menu are:
"Run" which opens a dialog for user to select a file.
"Edit Launcher" which allows user to set up files to always have under Launch Menu.
Files that were previously set up via Edit Launcher.