edx 1.5 posted to http://www.rapideuphoria.com/contrib.htm
- Posted by K_D_R Apr 22, 2013
- 1036 views
So it should show up in a day or so, if not sooner.
New features: edx.ex 1.5
ESCAPE + a :: auto complete current partial word from top line pick list. Use arrow keys to scroll through pick list options and ENTER to select word to complete. EXAMPLE: text, "db_s" is entered, user presses "ESCAPE + a" and then a prompt, "select word: " appears on the top line. The user can scroll through the options of "db_select", "db_slect_table", or "db_slect_word". This feature is especially useful for many of the very long GUI lib words. After a word has been selected ESCAPE + h can be used to find help regarding its syntax and use.
Context sensitive help with optional support for wxEuphoria and EuGTK GUI libraries vial "ESCAPE + h". GUI constant default set to FALSE, but the user can set GUI = TRUE, GTK = TRUE/FALSE, WX= TRUE/FALSE. So the editor will start with your preferences. See next comment
optional GUI (EuGTK/WxEuphoria) support default set to false ( must have doc files installed) ESCAPE + G :: select GUI library, dump current GUI library, toggle GTK/WX Liraries, or continue as is.
FILE BACK-UP FEATURES
ESCAPE + b :: simple file backup If overwrite = TRUE then each time ESCAPE + b is executed while editing the same file, the source file on disk will be copied to a backup file with a "~" appended. The backup file will be over written each execution of ESCAPE + b. edx.ex ==> edx.ex HOWEVER; if overwrite = FALSE, then a new backup file will be created with an extra "~" appended: edx.ex, edx.ex, edx.ex~, edx.ex~, etc.
ESCAPE + B :: toggles backup setting, dynamically.
The constant declaration E_FILES has been changed to a sequence to support backup files Whenever a file with a backup extension is loaded, it is added to E_FILES so that it can be displayed with color syntax support.
Backup files ( *.*~) are automatically loaded into the file_history sequence, so you can easily load any backup file, simply by scrolling through the file list. If a backup file is loaded, the top line menu bar will offer the options of "Restore" and "purge". ESCAPE + R, "Restore" will destructively copy the current file, which is a backup file over its target "restore to file" which is the file_base of the current backup file, stripped of any and all tilde's: If edx.ex~ is the current file, then ESCAPE + R will copy edx.ex~ to edx.ex, overwriting the current file, edx.ex. A warning message of the impending overwrite will be posted on the top line and you will be given an opportunity not to complete the restoration. By the way, If you wish, you can also save the backup file to a new file name, using the Write/Save-as option, ESCAPE + W.
ESCAPE + p :: will purge/erase the currently loaded backup file on disk. You can re-write it to disk with ESCAPE + w, if you wish.
If a backup file is loaded (filename + one or more "~"), "mods" will compare the copy of the current backup file on disk with the "restore to" source code file on disk.
get_err_line() routine overhauled. Now it performs as claimed.
ESCAPE + * or ESCAPE + C :: compiles the current file on disk, compresses the executable binary with UPX, if UPX has been installed, and optionally "installs" the executable file into /euphoria/bin/ and made executable
As always, comments and suggestions for improvements will be appreciated.
Ken Rhodes