]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.cpp
Add a pending space after math if it is not the last of the selection. This fixes...
[lyx.git] / src / LyXVC.cpp
index 7b44efa19d9fd6a9a83f3bd7a17583de8c89e216..a8455546642642b632bd8bc0a1319f1837e08fbc 100644 (file)
@@ -170,6 +170,13 @@ string LyXVC::checkOut()
 }
 
 
+string LyXVC::lockingToggle()
+{
+       LYXERR(Debug::LYXVC, "LyXVC: toggle locking property");
+       return vcs->lockingToggle();
+}
+
+
 void LyXVC::revert()
 {
        LYXERR(Debug::LYXVC, "LyXVC: revert");
@@ -206,7 +213,7 @@ void LyXVC::toggleReadOnly()
                LYXERR(Debug::LYXVC, "LyXVC: toggle to unlocked");
                checkIn();
                break;
-       default:
+       case VCS::NOLOCKING:
                break;
        }
 }
@@ -266,6 +273,12 @@ bool LyXVC::checkInEnabled()
 }
 
 
+bool LyXVC::lockingToggleEnabled()
+{
+       return vcs && vcs->lockingToggleEnabled();
+}
+
+
 bool LyXVC::undoLastEnabled()
 {
        return vcs && vcs->undoLastEnabled();