Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "$selected$" inserts extra space in comments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Tomato Guru

150 Posts

Posted - Jun 13 2012 :  10:13:48 AM  Show Profile  Reply with Quote
Latest VAX, Win7, VC2008

Create a snippet and add the "$selected$" insertion. Now create a comment and add some text. Select a word and the space in front of the word, than chose your snippet from context menu. An extra space is inserted in front of the word.

Before using the snippet
// bla foo bar

Selection for the snippet
// bla foo bar
//    ^^^^

Result of snippet (note the extra space)
// bla  foo bar
//    ^^^^^

This happens also in normal code, but i recognized it first in comments while using snippets for surrounding special text with other text.

Whole Tomato Software

United Kingdom
17100 Posts

Posted - Jun 14 2012 :  4:23:07 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.


zen is the art of being at one with the two'ness
Go to Top of Page

Whole Tomato Software

5566 Posts

Posted - Aug 09 2012 :  02:03:03 AM  Show Profile  Reply with Quote
case=67264 is fixed in build 1912

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000