Page 2 of 2

Block Insert??

Posted: Thu May 26, 2016 6:36 pm
by Kiwi6469
Switch to block selection mode, select down the left margin of the text to be commented, then Edit, Fill Block, ', ENTER (ALT+E,F,',ENTER).

I do this all the time in C, Java, JavaScript to comment blocks of code and it's effortless; never even bothered to create a macro for it even though all my languages use `//` line comments.

Fill block

Posted: Sat Jul 30, 2016 5:55 pm
by Cloink
I have never even noticed 'Fill Block', but gave it a whizz.

I use tabs not spaces to indent, so the minimum I can select is 4 columns (1 tab).

So I get 4 slashes, for example, rather than 2. I suppose this does the job, but I'd prefer 2.