Re: Pretty email code (was Re: A pattern for beginners: delete all of a node's children)

2018-01-20 Thread tscv11
Sorry - I see I 'dropped the ball' on this. Yes, Mr. EKR is correct, that is how I did it (the last formatting icon '{}'). tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, s

New insert-as-first-child and insert-as-last-child commands

2018-01-20 Thread Edward K. Ream
Rev 4f57c35 adds two new commands: insert-as-first-child and insert-as-last-child. These commands always add the new node as the first/last node of the preceding node, regardless of the @bool insert_new_nodes_at_end setting. Edward -- You received this message because you are subscribed to t

Re: buttons defined in myLeoSettings.leo

2018-01-20 Thread Edward K. Ream
On Saturday, January 20, 2018 at 8:14:54 AM UTC-6, Edward K. Ream wrote: > > > > On Sat, Jan 13, 2018 at 9:08 AM, Kent Tenney wrote: > >> I moved some buttons from the .leo file under development >> to the myLeoSettings.leo in the same dir. >> >> For a time, the buttons appeared in the work file

Re: Pretty email code (was Re: A pattern for beginners: delete all of a node's children)

2018-01-20 Thread Edward K. Ream
On Fri, Jan 12, 2018 at 3:12 PM, Matt Wilkie wrote: > > @language python >>> >>> p = g.findNodeAnywhere(c, 'temp') >>> c.selectPosition(p) >>> p.deleteAllChildren() >>> c.redraw() >>> >>> > How are folks getting this pretty formatting for code blocks in email? > ​By responding on the leo-editor

Re: buttons defined in myLeoSettings.leo

2018-01-20 Thread Edward K. Ream
On Sat, Jan 13, 2018 at 9:08 AM, Kent Tenney wrote: > I moved some buttons from the .leo file under development > to the myLeoSettings.leo in the same dir. > > For a time, the buttons appeared in the work file, then they > disappeared, only visible if in the settings file. > > I'm seeing differen

Re: My javascript mistake

2018-01-20 Thread Edward K. Ream
On Sat, Jan 20, 2018 at 7:04 AM, Edward K. Ream wrote: - I have just created #655: The js importer could remove @others when a > node has only one child > . This is a > separate, relatively low priority item. It would improve only a few > impo

Re: My javascript mistake

2018-01-20 Thread Edward K. Ream
On Wednesday, January 17, 2018 at 5:30:17 AM UTC-6, vitalije wrote: > > Well, obviously we don't agree on what "reasonably" imported code look > like. > I have just closed #653 , relating to the jqterm.js. Notes: - I did not detect any pro