A more subtle configuration is the definition of a 'word'. When you doubleclick on a word in BASIC, you want it to recognize "ABC%" and "XYZ$" as special words, whereas in C you would only want the "ABC" and "XYZ" part marked.
Modes are completely user definable. If a mode doesn't do what you want, you can change it, or you can even make a completely new one. But Modes are extremely powerful, so although some such changes are very simple, extremely complex definitions ar ealso possible!
ModeWhen files are the key to the power of the modes. These define which mode to use for a text which is to be loaded, based on its pathname and filetype (and possibly also on its content). With a ModeWhen file, you can say that all text files in a directory called "C" should use the C mode, or that all BASIC files should use the BASIC mode.
To move a mode from the main Modes menu to Extra modes menu there are two methods (one is introduced with 4.7):
The first column of the ModeLock file shows the list of modes. The second column shows if a mode is in Extra modes or not, a 'Y' means yes and an 'N' means no. To move a mode to Extra modes simply change the 'N' to a 'Y'.
Do this for all the modes that you want in Extra modes, then save the file. When next you open the Modes menu it should be updated.
StrongED automatically removes modes it cannot find from the ModeLock file. If you add a mode, either to !StrongED.Defaults.Modes or to !StrED_cfg.UserPrefs.Modes, StrongED will automatically add it to the ModeLock file.
You may also find it less confusing to move most modes to !StrED_cfg, StrongED. They do not need to be in two places!
The reason there are two separate modes, is because the syntax of assembly and basic is rather different. One example is the ";" character. In BASIC this is used in PRINT statements. In assembly it denotes that the rest of the line is a comment.
Shift-F2 | Lists all functions and procedures |
F10 | Runs the file |
Shift-F10 | First saves and *then* runs the file |
Ctrl-G | Go to PROC/FN or label |
Shift-PgUp | Go to previous PROC/FN or label |
Shift-PgDown | Go to next PROC/FN or label |
Was this page helpful? Please email me and/or rate this page: