Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: How to fix 2 errors in Notepad++ syntax highlighting?

From   Bert Lloyd <>
To   statalist <>
Subject   Re: st: How to fix 2 errors in Notepad++ syntax highlighting?
Date   Tue, 25 Feb 2014 12:25:05 -0500

There is an updated version of the syntax highlighting at
which appears to handle compound-double-quotes correctly.

The problem of treating all "*" characters as indicators for comments
persists. My imperfect workaround is to remove "*" as a comment
indicator and replace it with "**". The benefit is that now "*"
behaves properly for multiplication and pointers; the cost is that
lines intended to be comments beginning only with a single asterisk
will not be highlighted as comments, so you have to remember to use at
least two asterisks to indicate a comment or use // or /* */.

- BL

On Thu, Feb 13, 2014 at 1:33 PM, Bert Lloyd <> wrote:
> Information I should have put in the original post:
> Notepad++ v 6.5.2 from
> Windows 7 Professional 64-bit
> I don't think the version of Stata is relevant here but just in case:
> Stata 12.1 SE 64 bit
> Source for the syntax highlighting given in the original.
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index