-2

I'm looking to syntax highlight tokens that are different types based on their definition which would seem to require lookbehind "?<=" but that doesn't seem to be supported by textmate for basic language syntax highlighting extensions for visual studio. Is there a way to do this? It would be like a C++ variable that might be local, global or member but where ::, -> and . have not been used.

When I ask about Visual Studio, I often get more answers for Visual Studio Code but I am only interested in textmate for Visual Studio basic language support and syntax highliting.

I tried ?<= and VS says that it isn't supported. I tried copy various regexp expressions from other textmate grammas, but they all seem to use ?<= or ?<!. I watched an excellent video: https://www.youtube.com/watch?v=ftug7sL-5kw

0 Answers0