Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wed, Nov 11, 2020 at 1:00 AM gar wrote: > problem with indent is solved - there's left newline-and-indent binding > and it took precedence > Glad to hear it. Again, my apologies to longtime Leonistas. The improved key handling code required the change of settings. Imo, in the long term, the

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread gar
and what about the case when I want to indent the line cursor is currently on w/o selecting it all. I can unindent it with shift-tab or ctrl-< - but their counterparts dont work. this is a big concern for me. -- You received this message because you are subscribed to the Google Groups "leo-edito

The ekr-1591 branch works around icons problems in the todo plugin

2020-11-11 Thread Edward K. Ream
The ekr-1591 branch is ready for testing. This branch fixes #1591 : Todo icons are not shown for pyqt 5.14. For full details, see PR #1728.

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wed, Nov 11, 2020 at 4:53 AM gar wrote: > and what about the case when I want to indent the line cursor is currently > on w/o selecting it all. > I can unindent it with shift-tab or ctrl-< - but their counterparts dont > work. > this is a big concern for me. > Wow. I can see your concern. The

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wednesday, November 11, 2020 at 7:17:52 AM UTC-6, Edward K. Ream wrote: > > Wow. I can see your concern. The indent-body code has these lines: > > # New in Leo 6.3. > if sel_1 == sel_2: > c.editCommands.selfInsertCommand(event) > return > > I'll create a new issue, and (probably a new b

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wednesday, November 11, 2020 at 7:28:06 AM UTC-6, Edward K. Ream wrote: > Hmm. This might be a good time to replace c.updateBodyPane with the new undoer pattern using u.before/afterChangeBody. I meant to say, a good time to replace c.updateBodyPane in *only *the indent-region and unindent-r

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wednesday, November 11, 2020 at 7:17:52 AM UTC-6, Edward K. Ream wrote: > I'll create a new issue... Done. See #1729 . Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscrib

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wednesday, November 11, 2020 at 7:17:52 AM UTC-6, Edward K. Ream wrote: The indent-body code has these lines: > > # New in Leo 6.3. > if sel_1 == sel_2: > c.editCommands.selfInsertCommand(event) > return > > This makes absolutely no sense to me. > Alas, auto-indentation does not happen

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread gar
> > # New in Leo 6.3. > if sel_1 == sel_2: > c.editCommands.selfInsertCommand(event) > return > In the meantime, try commenting them out yourself. Please report your > results. Thanks. > did that. now can indent w/o selecting the whole line. technically it all works. but since you'v

Re: trying to indent line with 'tab' also inserts newline in 6.3

2020-11-11 Thread Edward K. Ream
On Wed, Nov 11, 2020 at 10:19 AM gar wrote: technically it all works. but since you've created an issue for that - i > wish to ask you to pay attention to usability > now indenting also moves cursor somewhere around - but it is a good manner > to preserve relative cursor position > when doing any