From: André Pönitz Date: Thu, 29 Nov 2001 16:39:44 +0000 (+0000) Subject: more selection stuff. It might be ok now... X-Git-Tag: 1.6.10~20261 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a969abe2f6f94a57ce56852771d479db62eb7eff;p=features.git more selection stuff. It might be ok now... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3116 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 6069d0debd..ce8795af0e 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -733,7 +733,7 @@ void MathCursor::selHandle(bool sel) { if (sel == selection_) return; - theSelection.clear(); + //theSelection.clear(); Anchor_ = Cursor_; selection_ = sel; } @@ -742,7 +742,7 @@ void MathCursor::selHandle(bool sel) void MathCursor::selStart() { seldump("selStart"); - theSelection.clear(); + //theSelection.clear(); Anchor_ = Cursor_; selection_ = true; } @@ -1359,7 +1359,7 @@ bool MathCursor::interpret(char c) } if (selection_) - selDel(); + selClear(); if (lastcode_ == LM_TC_TEXTRM) { // suppress direct insertion of to spaces in a row