Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Controlling cursor position on snippet insertion

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
sxhickman Posted - Jan 09 2015 : 11:21:35 AM
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?
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jan 13 2015 : 6:16:43 PM
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.

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