On Tue, Mar 20, 2012 at 3:13 PM, Terry Brown <[email protected]> wrote:

> Can't find any documentation on these nodes, and all variations of
>
> @settings
>   @data global-abbreviation
>   @data abbreviation
>   @global-abbreviation
>   @abbreviation

It's in LeoSettings.leo.  You must set:

@bool enable-abbreviations = True

It's plural:  @data global-abbreviations

Here's mine::

alp =@language python\n
alp\n=@language python\n
alp\t=@language python\n

alr =@language rest\n
alr\n=@language rest\n
alr\t=@language rest\n

nc =@nocolor\n
nc\n=@nocolor\n
nc\t=@nocolor\n

ncn =@nocolor-node\n
ncn\n=@nocolor-node\n
ncn\t=@nocolor-node\n

teh=the

form_.=<form action="main_submit"
method="get"\nacccept-charset="utf-8">\n\n<p><input
type="submit"\nvalue="Continue &rarr;"></p>\n</form>\n
input_.=<input \ntype="text/submit/hidden/button" \nname="some_name"
value="" \nid="some_name"> \n

~a=ã
~A=Ã
~\a=~a
~\A=~A

Important: as experimentation will show, you must be careful to
delimit the "instant" abbreviations with whitespace.  Otherwise you
will get unexpected "fires".  We can debate about how convenient this
is, but the fact is that it is pretty powerful.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to