]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Cosmetics.
[lyx.git] / src / BufferView.h
index 234d86a8169461b16c4143eb9653c963d409dc1c..8899edd1aa36761f0b7616f5e8f4a974e9c6b5f2 100644 (file)
@@ -24,7 +24,7 @@
 #include "support/types.h"
 
 #include <boost/tuple/tuple.hpp>
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
 #include <boost/signal.hpp>
 
 #include <utility>
@@ -222,6 +222,10 @@ public:
        ///
        CoordCache const & coordCache() const { return coord_cache_; }
 
+       ///
+       Point getPos(DocIterator const & dit, bool boundary) const;
+
+
        ///
        void draw(frontend::Painter & pain);
 
@@ -249,10 +253,9 @@ public:
        boost::signal<void(std::string name,
                std::string data)> updateDialog;
 
-       /// This signal is emitted when the layout at the cursor is changed.
-       boost::signal<void(docstring layout)> layoutChanged;
-
 private:
+       // the position relative to (0, baseline) of outermost paragraph
+       Point coordOffset(DocIterator const & dit, bool boundary) const;
        /// Update current paragraph metrics.
        /// \return true if no further update is needed.
        bool singleParUpdate();