DefaultPackages icon indicating copy to clipboard operation
DefaultPackages copied to clipboard

Groovy Syntax bug

Open ghost opened this issue 10 years ago • 0 comments

ST's default Groovy Syntax package does not highlight all double-quoted strings properly. moved from here: https://github.com/SublimeTextIssues/Core/issues/653

easy to reproduce:

/*
  MacOSX, ST3, b3065, registered

  if Syntax is set to Groovy, foo1 brackets don't match, foo2 & foo3 are OK
  if Syntax is set to C, everything's fine.
*/

// BUGGY
int foo1 () {
    MYFUNC (" $f) ");
}

// This works OK
int foo2 () {
    DEBUG (" $f ");
}

// This also works OK:
int foo3 () {
    _DEBUG (" $f) ")
}

Screenshot

ghost avatar Jan 30 '15 21:01 ghost