Ivan Sagalaev
unread,Aug 20, 2016, 10:47:42 PM8/20/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highl...@googlegroups.com
Yes, this is pretty much how it works. Nicely summed up :-)
"Pretty much" stands for additional tweaks. Some language construct have
more weight, if they're rare among different languages. Some have no
weight (like common numbers). And there are also things defined as
illegal that cause the parser to drop the highlighting attempt for a
given language (if you happen upon `</` outside of strings or comments,
this is definitely not, say, C++).