Yes, I've always noticed this behavior from Leo and rather than look into fixing it, I've trained myself when using leo to select one fewer lines than needed before I hit the tab key to indent. Maybe it isn't all that hard to fix it, but maybe some people don't see this behavior as "broken". I think it is because the cursor is on the line (even though nothing on that line is highlighted for selection). The indentation code probably operates on all the lines with selection as well as the line with the cursor.
On Thu, Sep 26, 2019 at 9:44 AM gar <[email protected]> wrote: > 1. move cursor to the beginning of the line > 2. press shift and up twice > 3. press tab > 4. enjoy with how first not selected line is idented > > чт, 26 сент. 2019 г. в 16:41, Edward K. Ream <[email protected]>: > >> >> >> On Thu, Sep 26, 2019 at 8:16 AM gar <[email protected]> wrote: >> >>> Thanks for that, Brian! Exactly what is required! >>> >>> By the way, recently I discovered another oddness. >>> When you select several lines at the moment and try to ident/deident >>> them by a single 'tab' or 'ctrl->` - the line above/below the cursor is >>> also affected. >>> >> >> I haven't seen this. I suspect this happens only when the lines are >> continued. >> >> Edward >> >> -- >> 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, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/leo-editor/CAMF8tS2E238cHxtThs0%2B-K3yWCSAr9Xa-9BOUx6BhXw7tsYh_g%40mail.gmail.com >> <https://groups.google.com/d/msgid/leo-editor/CAMF8tS2E238cHxtThs0%2B-K3yWCSAr9Xa-9BOUx6BhXw7tsYh_g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/CAC%2B8SVxOTcDNY0_eGo4P_nRZahOhCe9fQ0AQyA8uMshoZx5s2Q%40mail.gmail.com > <https://groups.google.com/d/msgid/leo-editor/CAC%2B8SVxOTcDNY0_eGo4P_nRZahOhCe9fQ0AQyA8uMshoZx5s2Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAO5X8CxsRiEFB4BOHuLX2byMPVyMvguBqSjo6mf6TL2TXJ_2cg%40mail.gmail.com.
