accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
Posted - Dec 09 2008 : 3:59:35 PM
|
You can do it by VA Snippets, I wrote this one for you:
<$tag$>$selected$$end$</$tag$>
It will automatically appear in the menu:
Right click on selection -> Surround With (VAX)
Ok, it's a bit slow to do, but we can use a trick to speed it up: if you overwrite the content of snippet "#ifdef (VA X)" then you can "run" it by pressing the # key:
1. Select the text (if your text is a word then it can be done by double-clicking on it) 2. Press # 3. Type your tag 4. Press ENTER
You can access snippet editor here:
VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button) |
Edited by - accord on Dec 09 2008 5:06:55 PM |
 |
|