Updated to support MyDefrag 4.2.9
. Last update adds Vim
support, more info in this post
. Minor update to the Generator fixing a conflict with operators and comments in Notepad++.
This is a preview/beta
release, its not quite finished but should be testable/usable.
So this is the MyDefrag script syntax highlighting generator
that I have mentioned in some threads, it uses the Formal script grammar
that describes the syntax of MyDefrag scripts, and creates config files supported editors can use to highlight MyDefrag scripts, so it's easier to see syntax errors and just nicer when making a script.
The idea behind the generator is that when a new version of MyDefrag is released you can just run the generator again to update the syntax highlighting to use any new syntax, but if there are big changes to MyDefrag syntax that my generator can't handle I will release a new version.
This is the main window for the installer/generator part:
I have tried to make the generator flexible to be able to add support for many editors/highlighting formats, right now it supports any editor that can use Colorer library
, FAR manager
(My editor of choice) via a plugin and Freddy
, possibly others. also TextPad
, PSPad editor
support is almost finished.
Some examples Eclipse and FAR manager.
Here is the download: Generator
What is needed:
The generator needs the Manual.chm
file from the MyDefrag install directory, it tries to find it but if it can't you can specify it in the left editbox.
If installing Colorer support the generator also needs to find the catalog.xml
that Colorer uses for it's configuration, that is specified in the right editbox.
I'm using 7z.exe and 7z.dll from www.7-zip.org
that uses the GNU LGPL license.
Comments, suggestions and bug reports are welcome.
This update was quite a stepping-stone for me. That's when I decided to start using mydefrag and ditch my other defrag programs.