]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
* remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
[lyx.git] / src / Cursor.cpp
index 91402c3396211d227e3878ca1607560064fd05e1..afa8a9b30ffaa5ad36db6cccd198fe5405b51645 100644 (file)
@@ -426,6 +426,12 @@ void Cursor::resetAnchor()
 }
 
 
+void Cursor::setCursorToAnchor()
+{
+       if (selection())
+               setCursor(anchor_);
+}
+
 
 bool Cursor::posBackward()
 {