As far as I am aware, Stata's own do-file editor does not allow
extensions to, or customisations of, syntax highlighting, however
defined.
Ambitions for, and definitions of, syntax highlighting seem to vary
considerably. I've know hopes for syntax highlighting range from
wanting something a little more colourful in one's text editor to
wanting that text editor to catch one's mistakes.
Some people emphasise highlighting of command names, but that goal
strikes me as Sisyphean, even in terms of keeping track of Stata's
official command syntax, let alone user-written commands.
Nick
njcoxstata@gmail.com
On 3 April 2013 22:03, Werner Wackernagel
<werner.wackernagel@medunigraz.at> wrote:
,
> How can I make the do-file editor in Stata IC 12.1 / Windows 7 (64)
> recognize user written commands (ados) and achieve proper syntax
> highlighting for those commands (as possible e.g. in Notepad++ by
> customizing the userDefinelang.xml)? Is there a language definition-file,
> which I can modify?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/