April 25, 2008 at 2:46 pm #5704
jonhutch24
Member
Sorry, let me show you an example
Let’s say I make a snippet and it looks like this (this is just in theory):
if $con1$ = $con2$ then
$expression$
end if
Now when I run the snippet I’d like $con1$ already highlighted so I could just write over it, and when when I hit the tab key, it would move to $con2$ and highlight it so I could write over it, and when I hit tab again it would move to $expression$ and highlight it so I could type over it.
So my typing would look something like this:
Run the snippet
var1 -> TAB -> 23 -> TAB -> writeline(“It’s 23!”)
and the text editor in the end would have:
if var1 = 23 then
writeline(“It’s 23!”)
end if
does this make any more sense? Sorry, I’m not very good at explaining things some times… :-?