Paulo Gomes
af40c8698b
Smarter toggle comment block. issue #10720
...
Added check to see if all lines in selection are commented (is_commented)
If so remove the comment from each line else add a comment.
If the line is empty, with trailing spaces or tabs, remove those.
This will add an extra comment character to the lines that are already commented,
so when you uncomment a block it retains the previous commented lines.
Following Zylann logic, if the selected lines are all commented out,
it removes one # from each. Otherwise, it adds one.
It works how it is, but i would like some feedback on how to implement this.
2017-09-05 00:04:08 +01:00
..
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-02 01:59:26 +02:00
2017-09-01 08:13:12 +02:00
2017-08-30 12:52:06 +02:00
2017-08-27 14:16:55 +02:00
2017-08-30 12:52:06 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-28 00:04:24 -03:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-01 21:07:55 +07:00
2017-09-01 21:07:55 +07:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-09-01 08:13:12 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-08-30 12:52:06 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-02 01:59:26 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-31 11:47:18 +02:00
2017-08-27 19:04:19 -03:00
2017-09-05 00:04:08 +01:00
2017-08-27 14:16:55 +02:00
2017-03-05 14:21:25 +01:00
2017-08-31 19:42:47 +01:00
2017-08-27 22:13:45 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-09-01 21:52:55 +02:00
2017-08-28 20:39:45 -05:00
2017-08-27 22:13:45 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-09-02 01:59:26 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00