Hi all,

Would it be possible to add this function to the Cursor class ?

Vincent

Index: C:/Users/Vincent/OpenSource/LyX/svn-trunk/src/Cursor.cpp
===================================================================
--- C:/Users/Vincent/OpenSource/LyX/svn-trunk/src/Cursor.cpp (revision 29107) +++ C:/Users/Vincent/OpenSource/LyX/svn-trunk/src/Cursor.cpp (working copy)
@@ -426,7 +426,13 @@
}


+void Cursor::setCursorToAnchor()
+{
+    if (selection())
+        setCursor(anchor_);
+}

+
bool Cursor::posBackward()
{
    if (pos() == 0)

Reply via email to