If the region isn't whole lines, make it so.
Signed-off-by: NeilBrown <neil@brown.name>
flags them?
- [ ] merge command 9-A-m could work as one command. If there is an
active selection, the patch is moved to that selection.
-- [ ] merge command 9 must ensure selection is full lines.
+- [X] merge command 9 must ensure selection is full lines.
- [ ] if cursor position causes pane size to change, this doesn't
propagate.
- [ ] When is left_margin used? Can I use it for hanging indent? If
else:
mk = None
if mk:
+ # selection must be full lines
+ focus.call("doc:EOL", -1, pt)
+ focus.call("doc:EOL", -1, mk)
strt,end = pt.dup(),mk.dup()
if strt > end:
strt,end = end,strt