]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
This comment is wrong and causes bug in revision control.
[lyx.git] / src / TextMetrics.h
index bb9d7bd6c122ccc207390695e4f68bd01a3a3a83..1a0945d4ffa57cbb4fde7d39403268dc95a89516 100644 (file)
@@ -211,10 +211,6 @@ public:
        int cursorY(CursorSlice const & cursor,
                bool boundary) const;
 
-       ///
-       void cursorPrevious(Cursor & cur);
-       ///
-       void cursorNext(Cursor & cur);
        ///
        bool cursorHome(Cursor & cur);
        ///
@@ -242,6 +238,10 @@ public:
        int leftMargin(int max_width, pit_type pit, pos_type pos) const;
        int leftMargin(int max_width, pit_type pit) const;
 
+       /// calculates the position of a completion popup
+       void completionPosAndDim(Cursor const & cur, int & x, int & y, 
+               Dimension & dim) const;
+
 private:
        friend class BufferView;