Re: Abbreviations

2015-11-14 Thread Kent Tenney
with @bool scripting-abbreviations = False and ,,={|{x='__NEXT_PLACEHOLDER'}|} in @data abbreviations my abbrev prints width="width" height="<|height|>" width is selected. I enter 200 for width, then double comma and get width="200{|{x='__NEXT_PLACEHOLDER'}|}" height="height" So it seems to

Re: Abbreviations

2015-11-14 Thread john lunzer
There is likely a way to make the __NEXT_PLACEHOLDER functionality safe and accessible without have scripting abbreviations enabled. Terry would know the best plan forward. On Saturday, November 14, 2015 at 8:48:52 AM UTC-5, Kent Tenney wrote: > > with > @bool scripting-abbreviations = False

Import JSON file as tree

2015-11-14 Thread john lunzer
I tried to search the forums but the google groups search is the worst. Has there been any work done to import JSON files as a Leo tree? My idea is that each node would have a headline and an empty body until the JSON structure got down to the deepest level of nesting, in which case the last

Re: Import JSON file as tree

2015-11-14 Thread john lunzer
I wouldn't mind at least taking a glance at your unused code. I really would like a fully collapsible tree and again, Leo seems like a natural fit. This wouldn't be much trouble to write myself, however if there is some code floating around that I can edit that would be nice. On Saturday,

Re: Import JSON file as tree

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 08:20:51 -0800 (PST) john lunzer wrote: > I tried to search the forums but the google groups search is the > worst. > > Has there been any work done to import JSON files as a Leo tree? > > My idea is that each node would have a headline and an empty body

Re: Abbreviations

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 07:48:31 -0600 Kent Tenney wrote: > declaring > @string next-placeholder-abbrev = ,, > > with scripting turned off didn't work for me Could be a temporal sequencing error, i.e. using features before they're implemented doesn't always work :-) I've just

Re: Abbreviations

2015-11-14 Thread john lunzer
For the ,, failing to find placeholder may I recommend a message to log "Failed to find abbreviation placeholder" ? This way people really will be able to discover it and it will at least give them a starting point on where to look for help. On Saturday, November 14, 2015 at 12:29:10 PM UTC-5,

Re: Abbreviations

2015-11-14 Thread Kent Tenney
On Sat, Nov 14, 2015 at 11:28 AM, 'Terry Brown' via leo-editor wrote: > On Sat, 14 Nov 2015 07:48:31 -0600 > Kent Tenney wrote: > >> declaring >> @string next-placeholder-abbrev = ,, >> >> with scripting turned off didn't work for me > > Could be a

Re: Import JSON file as tree

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 11:34:52 -0800 (PST) john lunzer wrote: > I wouldn't mind at least taking a glance at your unused code. I > really would like a fully collapsible tree and again, Leo seems like > a natural fit. This wouldn't be much trouble to write myself, however > if