"TheEndless" wrote:
I'm also seeing some really bizarre syntax highlighting on the files I am able to open. For example, I have an "IsNullOrEmpty" function, and it's highlighting like this:
If Not IsNullOrEmpty(favorites) Then
I also have a RemoveFavorite function in this same file that's highlighting bizarrely in both the declaration and implementation...
config.RemoveFavorite = Configuration_RemoveFavorite
Sub Configuration_RemoveFavorite(favorite As Object)
I'd think it might have something to do with the word "favorite", but I've got a number of other "favorite" functions that don't highlight the same, and other IsNullOrEmpty's that do.
Found the problem on this one.
The syntax highlighter sees the string "REM" (case insensitive) and decides that from that point to the end of the line is all a comment.
So, that's a definite bug in the syntax highlighter pattern specification for comments. Should be easy enough to correct, and so expect a fix for this in the next plugin update.