John Ehresman:
> I want a block caret that displays over the character at the end of a selection like the cursor in vi does. I've attached a proof of concept patch. Two questions: is this the best way to do this?
It looks reasonable to me. The drag state looks to be taken care of. Inverted range (caret before anchor) should be OK.
Well, maybe a comment: // Show block caret on last character of non-empty selection
> And, should I add a new caret style for this behavior or just modify how the existing CARETSTYLE_BLOCK works?
That will depend on whether the other users of CARETSTYLE_BLOCK always want this behaviour.
Neil