studoot
Senior Member
35 Posts |
Posted - Jun 29 2007 : 08:34:22 AM
|
I've been doing some C recently, so have been doing single-line comments by typing in text, selecting it and pressing '*' to surround the selection with /* ... */
This is all fine and dandy **except** that I need to remember to add space before and after the text to separate the comment delimiters and the text. It would be nice if VAX added that in all by itself.
So, rather than inserting '/*' and '*/' appropriately, you insert '/* ' and ' */'. It seems to me that there's already special casing for single vs. multiple line selections, so it doesn't seem a huuuge change?
Anyway - still loving VAX, after six or seven years use. I still don't want to code without it |
|
feline
Whole Tomato Software
United Kingdom
18983 Posts |
Posted - Jun 29 2007 : 12:36:02 PM
|
The quickest solution to this would be the autotext entry:
/* $selected$ */
True you would need to trigger this slightly differently, but you could format it exactly how you wanted. |
zen is the art of being at one with the two'ness |
|
|