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.
Major Incredible Feature Omission !!!
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Fill block
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.
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.