Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [1837] Snippet Editor does not save empty entries

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
Luke1410 Posted - Jan 13 2011 : 11:55:37 AM
To reproduce the issue:
1. Open VAX' snippet editor (VAssistX -> Tools -> Edit VA Snippets...)
2. select an entry (for instance C++ -> SuggestionsForType bool)
3. remove all lines in the editbox (in case of SuggestionsForType bool: remove the two lines true and false so that the editbox now only shows one single empty line).

4. Click on Apply and OK
5. Reopen VAX' snippet editor and navigate to the entry u just removed.

Actual result:
The box shows the entries u just removed in the step before.

Expected result:
The box shows an empty entry.

[edit] A workaround would be to add an empty line rather than deleting the entry. However, this then creates (unwanted) empty lines, if used for instance in the CreateFromUsage Method body.
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jan 13 2011 : 9:15:59 PM
quote:
Originally posted by Luke1410
A workaround would be to add an empty line rather than deleting the entry. However, this then creates (unwanted) empty lines, if used for instance in the CreateFromUsage Method body.



Interesting. Still a workaround, but another one is to make the body a space or tab.
accord Posted - Jan 13 2011 : 7:46:55 PM
I am seeing the same effect here. Thank you for the clear description and the rationale. I have put in an improvement request for this:

case=54124

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