From a969abe2f6f94a57ce56852771d479db62eb7eff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 29 Nov 2001 16:39:44 +0000 Subject: [PATCH] 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 --- src/mathed/math_cursor.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5