Syntax highlighting only partially works with Stata files...

Syntax highlighting only partially works with Stata files...

2

    Jun 30, 2006#1

    Some stuff is highlighted (about 1/3 of what's defined in it's wordfile), and the rest is rendered as normal text. This is 90% of the time I load Stata script files.

    The other 10% of the time, I get full syntax highlighting in all its glory.

    Anyone have this problem before?

    6,683583
    Grand MasterGrand Master
    6,683583

      Syntax highlighting only partially works with Stata files

      Jun 30, 2006#2

      I don't know anything about Stata.

      However, I looked into the stata7.txt wordfile from the download area and have seen, that the language definition is case-sensitive. So the keywords in your file must also have the correct case.

      What I'm missing in the stata7.txt is the /Delimiters = specification. So UltraEdit uses the default delimiter character set. I guess, this is the main problem. Add the delimiters for stata files and then check especially the operators section. If for example the = is also a delimiter, == must be deleted and ~= must be replaced by only ~.

      Note: The wordfiles in the download area are created by users and not by IDM!
      Best regards from an UC/UE/UES for Windows user from Austria

      2

        Re: Syntax highlighting only partially works with Stata file

        Jul 04, 2006#3

        Thanks for the thoughts on the stata syntax file - i'll try to get it "up to code"...

        :)