Kapiainen / SublimePapyrus

A Sublime Text 2 and 3 package for the Papyrus scripting language.
MIT License
47 stars 8 forks source link

Syntax highlighting breaks on first function call in script #41

Open fireundubh opened 5 years ago

fireundubh commented 5 years ago

I'm using your TextMate grammar bundle in PyCharm. Syntax highlighting breaks on the first function call in any script.

Tested all versions from 1.0.0 to 2.7.1.

For example:

2019-02-25 23_54_21

If I comment out that call, highlighting breaks on the next function call.

;Debug.Trace("Master of Disguise: PlayerScript> " + asMessage)

If I remove the first parenthesis, highlighting breaks on the next function call, but that's obviously incorrect.

Debug.Trace"Master of Disguise: PlayerScript> " + asMessage)

If I remove the value altogether, highlighting breaks on the next function call, but that's obviously incorrect, too.

Debug.Trace()