]> git.lyx.org Git - features.git/blobdiff - src/text2.C
globalize the cursor
[features.git] / src / text2.C
index 3e25913b846124ba7cd2ef9cc03c3c26f2c6e466..263ddfa46dbc38771e94e2d346e29a475474509d 100644 (file)
@@ -471,28 +471,8 @@ void LyXText::setFont(LyXFont const & font, bool toggleall)
 }
 
 
-// important for the screen
-
-
 // the cursor set functions have a special mechanism. When they
-// realize, that you left an empty paragraph, they will delete it.
-
-// need the selection cursor:
-void LyXText::setSelection()
-{
-       TextCursor::setSelection();
-}
-
-
-void LyXText::clearSelection()
-{
-       TextCursor::clearSelection();
-
-       // reset this in the bv()!
-       if (bv() && bv()->text())
-               bv()->unsetXSel();
-}
-
+// realize you left an empty paragraph, they will delete it.
 
 void LyXText::cursorHome()
 {