Ok new version Light and Dark.Re-import is needed since they can both be loaded in NP++ with distinct names.
Changes- Cyclotron item 1 and 2 are added
- KungFuJosh colors are added to dark with a slight change to keywords 3 4 7 8 colors for better readability from around 2.4–2.7:1 contrast to 4.5–6:1 range contrast. If you do not like it, I'll make a third theme for Obsedian to
- some other additions e.g. more units like dBv and some more
Known limitations due to UDF 2.1 restrictions - Keywords inside prose still match (for, to, do)
- \xNN uncoloured
- ext="" means users must pick the language manually
- Colour stopping mid-file means an unmatched quote above
@KungFuJosh your mods with the : do not work for me and mess up my :tip: :readmath: etc, so I did not implement it. I tried it.... Please re-apply your mods if you want to use 1.02, I am sorry !
Instructions: (UDL only, autoCompletion below) (item 1 fix is not transportable)- After importing, open Language > User Defined Language > Define your language, go to the Comment & Number tab, and under Comment line position tick "Allow preceding white space". Without it every semicolon starts a comment, including the ones separating commands. (should check it, already there)
- You can add your own keywords for highlight in the 7th group. (the sample content is my list of #replacetext space holder values)
[ Attachment Invalid Or Does Not Exist ]
(it is not 100% perfect, but close. I may add the # directives (it is now only the prefix) also for highlighting, but 1.02 is good enough now and #command are highlighted)
One post below