Re: How to position body at beginning of text

2015-10-30 Thread 'Terry Brown' via leo-editor
On Fri, 30 Oct 2015 13:51:03 -0500 Kent Tenney wrote: > My script pastes into the node body: > p.b = some_text > > at which point, the body displays the end of 'some_text', > I want to be looking at the beginning of the text c.frame.body.wrapper.setInsertPoint(0)

Added external file subtree search option to quicksearch

2015-10-30 Thread john lunzer
The dropdown in the quicksearch tab now includes a "File" option which traverses back up through the tree to find a node with a headline starting with any one of the following directives (taken directly from the leo Directives webpage): ["@clean", "@file", "@asis", "@edit", "@auto",

How to position body at beginning of text

2015-10-30 Thread Kent Tenney
My script pastes into the node body: p.b = some_text at which point, the body displays the end of 'some_text', I want to be looking at the beginning of the text I've tried c.frame.body.widget.moveCursor(0,0) and c.frame.body.widget.setFocus(0) without success Suggestions? Thanks, Kent --

Re: How to position body at beginning of text

2015-10-30 Thread Kent Tenney
c.frame.body.wrapper.setInsertPoint(0) does it many thanks kind sir On Fri, Oct 30, 2015 at 2:08 PM, 'Terry Brown' via leo-editor wrote: > On Fri, 30 Oct 2015 13:51:03 -0500 > Kent Tenney wrote: > >> My script pastes into the node body: >> p.b =