On Thursday, August 21, 2014 12:23:00 PM UTC-5, Edward K. Ream wrote:

> Next up: making y do the right thing in visual mode.

Not sure about 'y', but now **V** works as expected.  In normal mode it 
selects a line.  In visual mode it enters "Visual Line" mode.

In visual line mode, all cursor motions get extended to a line.  Happily, 
no visual mode code changed at all.  Rather, vc.do_visual_mode does the 
necessary extending after the command completes.  Using Leo's existing 
high-level commands made the code straightforward. 

Let me know how Visual Line mode works for you.

Edward

P.S. At present, LeoQTextEditWidget.setSelectionRangeHelper doesn't allow 
an insert point to be different from one of the two end points of the 
selection.  As a result, visual-insert mode doesn't give the same feedback 
as in vim itself.  I'm working on it.

EKR

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to