Just downloaded and installed the latest version of SynEdit and surprised to find the Python highlighter has the same bug as the 2014 version I was using.
Bug is in the IdentKind function and to fix need to delete line 327 and replace with new code....
old line 327
if FKeywords.Find(s, i) then
To be replaced by
i:=keywords.IndexOf(s);
if i>=0 then
Just downloaded and installed the latest version of SynEdit and surprised to find the Python highlighter has the same bug as the 2014 version I was using.
Bug is in the IdentKind function and to fix need to delete line 327 and replace with new code....
old line 327 if FKeywords.Find(s, i) then
To be replaced by i:=keywords.IndexOf(s); if i>=0 then