Keep the behavior of split selection with triple click.
Fixes part of #9747. The remainder was fixed at
f58d9f27, AFAICS.
}
case LFUN_MOUSE_DOUBLE:
}
case LFUN_MOUSE_DOUBLE:
- case LFUN_MOUSE_TRIPLE:
case LFUN_WORD_SELECT:
cur.pos() = 0;
case LFUN_WORD_SELECT:
cur.pos() = 0;
+ cur.resetAnchor();
+ cur.setSelection(true);
+ cur.pos() = cur.lastpos();
+ cur.bv().cursor() = cur;
+ break;
+
+ case LFUN_MOUSE_TRIPLE:
cur.resetAnchor();
cur.setSelection(true);
cur.idx() = cur.lastidx();
cur.resetAnchor();
cur.setSelection(true);
cur.idx() = cur.lastidx();