The commenting commands now never do anything in a read-only editor.
Make toggleComment
use toggleBlockCommentPerLine
when no line comment syntax is available.
Add a toggleBlockCommentByLine
command, which toggles commenting/uncommenting of entire selected lines.
Update dependencies to 0.19.0
Toggling line comments will now add comments when a range with both commented and uncommented lines is selected (to allow toggling without changing anything).
Update dependencies to 0.18.
Don't change lines that have the end of a range selection directly at their start when line commenting.
Don't insert multiple line comment markers when there are multiple selections on a line.
Move the cursor after the comment marker when inserting a line comment directly at the cursor.
The package now also exports a CommonJS module.
First numbered release.