I have noticed a problem with highlighting keywords when the words contain a
"-".

I have created a custom Syntax for OpenEdge 10 (Progress). The keywords in this
language have a "-" separating them 
e.g. ADD­-CALC­-COLUMN

I have created the ADD­-CALC­-COLUMN in the definition
and also added "-" in allowed charcter in keywords.

However when I open a file with this keyword in the color is not shown correctly
it shows with ADD and COLUMN in highlighted color and CALC in black. The "-"
character is also in Black. Further investigation shows that ADD and COLUMN are
also in the definition list and if I remove them the whole keyword appears in
black.

Any thoughts ?

-- 
<http://forum.pspad.com/read.php?6,46977,47267>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem