Page 1 of 1
Highlighters in D programming
Posted: Sun Mar 25, 2007 8:09 am
by Kramerica
Does anyone know how I can get Textpad to support the D programming language and have it use highlighters for keywords, strings, etc...?
Posted: Sun Mar 25, 2007 12:34 pm
by bbadmin
There is one Syntax Definition File for "D" on our Add-ons page:
http://www.textpad.com/add-ons/syna2g.html
Posted: Sun Mar 25, 2007 5:02 pm
by smjg
A more general answer: Use syntax definition files.
You can either use any of the syntax definition files that come with TextPad, download others or create your own. Look up "syntax" in TextPad's help.
A word of warning: Last time I knew, TextPad didn't support two of D's features: nested comments and WYSIWYG strings. But I haven't tested TextPad 5 extensively, so don't know if this has changed.