by facelessuser on Wed Feb 27, 2013 6:35 pm
I use ST for C/C++. The stock C/C++ syntax files causes a number of syntax highlight issues. I had to fork it and patch most of them myself...and even then it still is not perfect. The syntax file approaches things in blocks: if blocks, function blocks, #if blocks etc. Compiler switches can throw these blocks off depending how they are used to break up code. On top of that, since everything is evaluated in blocks, you get this recursive problem as the syntax highlighter digs into nested blocks. Sometimes, the highlighter crashes (leaving un-highlighted code) due to exceeding some recursive limit. I don't have that issue much anymore with since I have patched my own version, but I still do see issues from time to time, but it is usable enough for me to not worry about it.