]> git.lyx.org Git - features.git/blobdiff - src/Cursor.h
Make sure the selection painting is updated after LFUN_UP or LFUN_DOWN. See http...
[features.git] / src / Cursor.h
index 178d4fed336818055d2abbad8f58331d29071d3d..4fc4ef937a8b6fd18dc83f6921740251f1626c67 100644 (file)
@@ -359,6 +359,8 @@ public:
        /// move the cursor up by sending an internal LFUN_DOWN,
        /// return true if fullscreen update is needed
        bool down();
+       /// whether the cursor is either at the first or last row
+       bool atFirstOrLastRow(bool up);
        /// move up/down in a text inset, called for LFUN_UP/DOWN,
        /// return true if successful, updateNeeded set to true if fullscreen
        /// update is needed, otherwise it's not touched