Alfredo Braunstein wrote:

> dummy patch to allow extending a word/row selection with the mouse.
> 
> Ok?

Completely wrong patch ;-). Try this one instead.

Alfredo
Index: text3.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.185
diff -u -p -u -r1.185 text3.C
--- text3.C	21 Nov 2003 08:35:14 -0000	1.185
+++ text3.C	21 Nov 2003 10:50:41 -0000
@@ -1203,6 +1203,7 @@ DispatchResult LyXText::dispatch(FuncReq
 		if (!bv->buffer())
 			break;
 		if (cmd.button() == mouse_button::button1) {
+			selection_possible = true;
 			cursorHome();
 			selection.cursor = cursor;
 			cursorEnd();
@@ -1215,6 +1216,7 @@ DispatchResult LyXText::dispatch(FuncReq
 		if (!bv->buffer())
 			break;
 		if (cmd.button() == mouse_button::button1) {
+			selection_possible = true;
 			selectWord(lyx::WHOLE_WORD_STRICT);
 			bv->haveSelection(selection.set());
 		}

Reply via email to