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

 All Forums
 Visual Assist
 Technical Support
 Controlling cursor position on snippet insertion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sxhickman
New Member

USA
2 Posts

Posted - Jan 09 2015 :  11:21:35 AM  Show Profile  Reply with Quote
The snippets built into Visual Assist include controlling where the cursor is placed after the snippet is inserted (so that the cursor doesn't just end up after the entire snippet).

How do I add this capability to my own snippets?

Steve Hickman

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 13 2015 :  6:16:43 PM  Show Profile  Reply with Quote
Use the keyword $end$, this is where the caret will land after the snippet is inserted.

You can learn more about reserved snippet keywords here:
http://docs.wholetomato.com/default.asp?W262

This is where $end$ is also mentioned.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000