On Fri, 13 Nov 2015 08:21:47 -0600
Kent Tenney wrote:
> I have the following abbrev def:
>
> svg;;=http://www.w3.org/2000/svg;
> \:xmlns:xlink="http://www.w3.org/1999/xlink;
> \:width="<|width|>" height="<|height|>" viewBox="<|viewbox|>"
>
> and as John mentioned you have
> ,,={|{x='__NEXT_PLACEHOLDER'}|}
> in the `@data abbreviations` node?
Of course not, I'm an idiot.
Much better now, having followed directions.
Other editors make a big deal of snippet capability not nearly
as nice as this. Is there a reason it's not
I agree that Leo abbreviations are one of if not the most powerful
"snippet" implementations I've ever seen.
I also just learned about @outline-data tree-abbreviations which can
actually insert whole nodes and subtrees!
I've pushed for abbreviations to be more on by default but I backed off
On Fri, 13 Nov 2015 12:33:11 -0600
Kent Tenney wrote:
> Terry's suggestion of substitution only, no code sounds doable.
> Would it be possible to provide next-field by some means
> other than via code-running?
It's mostly that way already, the
On Fri, Nov 13, 2015 at 12:33 PM, Kent Tenney wrote:
> Terry's suggestion of substitution only, no code sounds doable.
> Would it be possible to provide next-field by some means
> other than via code-running?
>
I'm not sure I understand this question :-)
Leo's (static)
Terry's suggestion of substitution only, no code sounds doable.
Would it be possible to provide next-field by some means
other than via code-running?
That would provide the expected snippet capability, turning on
generic code-running would be wrapped in a warning.
On Fri, Nov 13, 2015 at 12:00
I have the following abbrev def:
svg;;=http://www.w3.org/2000/svg;
\:xmlns:xlink="http://www.w3.org/1999/xlink;
\:width="<|width|>" height="<|height|>" viewBox="<|viewbox|>"
\:xml:lang="en">
\:
When I type svg;; it appears
Why am I not making more use of these, they look
to be the cat's pajamas.
Is the double comma capability working for others?
Abbreviations can define templates in which ``<|a-field-name|>``
denotes a field to be filled in::
input;;=\n
Typing ``,,``
Abbreviations *are* the cat's pajamas. Definitely a great feature to have.
My double comma shortcut is working correctly.
Unfortunately abbreviations are notoriously difficult to set up.
Two settings need to be present in your myLeoSettings.py under your
@settings node:
@bool