]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Call an update before setting the_locking_inset = 0 as otherwise we
[lyx.git] / src / lyxtext.h
index 646f736ffa41fe01a6f04a3917197b0633064486..62247add0ac8dc1451a814e66f7a1771fb4f1e89 100644 (file)
@@ -321,6 +321,9 @@ public:
                             bool setfont = true,
                             bool boundary = false) const;
        ///
+       float getCursorX(BufferView *, Row *, lyx::pos_type pos,
+                                        lyx::pos_type last, bool boundary) const;
+       ///
        void setCurrentFont(BufferView *) const;
 
        ///
@@ -337,9 +340,9 @@ public:
        void setCursorFromCoordinates(BufferView *, LyXCursor &,
                                      int x, int y) const;
        ///
-       void cursorUp(BufferView *) const;
+       void cursorUp(BufferView *, bool selecting = false) const;
        ///
-       void cursorDown(BufferView *) const;
+       void cursorDown(BufferView *, bool selecting = false) const;
        ///
        void cursorLeft(BufferView *, bool internal = true) const;
        ///