]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
comment
[lyx.git] / src / TextMetrics.h
index d42759d842eec5d3fe45071aa406611eedf1419d..1a0945d4ffa57cbb4fde7d39403268dc95a89516 100644 (file)
@@ -238,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;