On Sun, Jul 14, 2019 at 3:57 AM gar <[email protected]> wrote: > I'm surprising every time I use something like ctrl-right or other > shortcuts that are for text selection or cursor movements. > Cursor may jump over punctuation marks, ), etc, may even jump thru several > lines (if current line ends with bracket and lines below are empty). >
As Matt says, your real complaint is with the commands bound to Ctrl-Left/Right Arrows, that is, the back-word and forward-word commands. See the nodes: - ec.forward*/ExtendSelection - ec.backward*/ExtendSelection Both call ec.moveWordHelper. This is a complex helper, whose behavior depends on the "smart" kwarg arg. That is there are also "-smart" variants of the commands. I have no attachment to the way moveWordHelper presently works. Feel free to improve it. 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS2YxkLBbkBiJRcubYLD-re2tO-Cv_NGOKXD60HHhJHL2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
