Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 'Surround selection with' for '*'

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
studoot 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
1   L A T E S T    R E P L I E S    (Newest First)
feline 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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000