[EMAIL PROTECTED] schrieb:
Author: baum
Date: Sun Jan 7 15:44:44 2007
New Revision: 16572
Modified: lyx-devel/trunk/src/cursor.C
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/cursor.C?rev=16572
==============================================================================
--- lyx-devel/trunk/src/cursor.C (original)
+++ lyx-devel/trunk/src/cursor.C Sun Jan 7 15:44:44 2007
@@ -40,6 +40,8 @@
#include "mathed/InsetMath.h"
#include "mathed/InsetMathScript.h"
#include "mathed/MathMacroTable.h"
+
+#include "frontends/Selection.h"
#include "support/limited_stack.h"
@@ -558,6 +560,7 @@
resetAnchor();
selection() = sel;
+ theSelection().haveSelection(sel);
return true;
}
Georg, one line above your change:
selection() = sel;
looks broken. We can't assign a value to a function value, can we?
Michael