Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 19, 2013, 04:13:55 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 ... 3 4 [5]
  Print  
Author Topic: [Tool] MyDefrag script syntax highlighting generator  (Read 29013 times)
dstephaniereedf
Newbie
*
Posts: 2


View Profile
« Reply #60 on: March 23, 2011, 11:56:43 am »

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 including Eclipse, FAR manager(My editor of choice) via a plugin and Freddy, possibly others. also TextPad, Notepad++, PSPad editor, gVim and jEdit 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.

Ahh found it!  Smiley This update was quite a stepping-stone for me. That's when I decided to start using mydefrag and ditch my other defrag programs.

Thanks.
Logged
Pages: 1 ... 3 4 [5]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!