jcartledge
jcartledge
e.g. , '''
before anything else
If the selection does not start or end in a comment, matches in comments should be ignored. Otherwise look inside comments. Sample code: ``` python import sublime import sublime_plugin #...
It's a bit messy and unclear, and there's stuff in there which doesn't seem to do anything.
Now we have 2 versions of Sublime Text, 3 operating systems, and 7+ languages the potential for inadvertently breaking things justifies spending some time setting up tests.