http://bugzilla.lyx.org/show_bug.cgi?id=2913
"mark-on" is broken since 1.4.0. The attached patch revives it. I'm committing
to trunk. Please test it out. If it doesn't entail problems, I'm gonna commit
to branch as well.
Jürgen
Index: src/Text.cpp
===================================================================
--- src/Text.cpp (Revision 22179)
+++ src/Text.cpp (Arbeitskopie)
@@ -1362,6 +1362,7 @@
return false;
recordUndoInset(cur);
+ cur.mark() = false;
cur.selHandle(false);
// save position
pos_type spos = cur.pos();
Index: src/Cursor.cpp
===================================================================
--- src/Cursor.cpp (Revision 22194)
+++ src/Cursor.cpp (Arbeitskopie)
@@ -585,6 +585,8 @@
bool Cursor::selHandle(bool sel)
{
//lyxerr << "Cursor::selHandle" << endl;
+ if (mark())
+ sel = true;
if (sel == selection())
return false;