b-g / processing-sublime

A Sublime Text package for the programming language Processing
MIT License
447 stars 60 forks source link

Syntax highlighting sometimes incorrect. #119

Open tomerarnon opened 6 years ago

tomerarnon commented 6 years ago

Hi,

I recently downloaded this package and have noticed a couple of syntax highlighting issues. I have attached a couple of examples to illustrate:

  1. Note that the second for is highlighted a different color, and the preamble to it is uniformly highlighted orange (rather than like the for loop above it). screen shot 2018-02-01 at 6 46 45 pm

  2. The variable something, is highlighted correctly if lowercase, and incorrectly if uppercase. screen shot 2018-02-01 at 6 51 12 pm screen shot 2018-02-01 at 6 52 36 pm

I originally wrote the empty function for a generic variable A, which suffered from the same issue.