]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / src / BufferView.h
index 426e90a293d2d273f46d390b64374bc07020c540..95910a97f146282ac627093a9ffa80434821c1a3 100644 (file)
@@ -40,7 +40,8 @@ namespace Update {
        enum flags {
                FitCursor = 1,
                Force = 2,
-               SinglePar = 4
+               SinglePar = 4,
+               MultiParSel = 8
        };
 
 inline flags operator|(flags const f, flags const g)
@@ -119,6 +120,8 @@ public:
        void restorePosition(unsigned int i);
        /// does the given bookmark have a saved position ?
        bool isSavedPosition(unsigned int i);
+       /// save bookmarks to .lyx/session
+       void saveSavedPositions();
 
        /// return the current change at the cursor
        Change const getCurrentChange();
@@ -198,7 +201,10 @@ public:
         */
        void putSelectionAt(DocIterator const & cur,
                int length, bool backwards);
-
+       ///
+       bool const repaintAll() const;
+       ///
+       void const repaintAll(bool r) const;
 
 private:
        ///