View Full Version : gedit highlighting for BAT

October 6th, 2014, 06:02 PM
I was wondering if anyone could do me a solid if they already have a highlighting script (not sure but i think they are in /usr/share/gtksourceview-3.0/language-specs/*.lang) for editing BAT files, could you post it or link the code? Thanks

October 8th, 2014, 02:00 AM
I just installed Gedit 2.30.4 and under View menu > Highlight Mode > Scripts
there is a "DOS Batch" file.

I stuck this (http://www.dostips.com/DtCodeBatchFiles.php#Batch.Progress) a new file and used it. It seemed to do the trick.

/usr/share/gtksourceview-3.0/language-specs/dosbatch.lang (http://pastie.org/9629940)

Good Luck and let us know!

October 11th, 2014, 08:00 PM
ahh yes, thank you! I don't know why I didn't see that before