Closed vapniks closed 5 years ago
Works for me after the added commit. Please test.
OK, it works now, but only if I put the cursor after all the placeholders.
If I use aya-create
on a line with ~
's it doesn't matter where the cursor is.
That's the expected behavior. To save one character, the point position is also used as the end position.
OK
When I try
aya-create-one-line
on the example:field$ = document.getElementById("");
nothing happens and a subsequent call toaya-expand
just expands the snippet that was defined before that one. Also, is the example really correct? Shouldn't it be like this instead:field$ = document.getElementById("$");
I've tried both
aya-create-one-line
andaya-create
on lines which contain$
's but no~
's and cant get any of them to work. On lines with~
'saya-create
works as described. I've checked that the value ofaya-marker-one-line
is$