]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
small mouse click stuff. still not ok...
[lyx.git] / src / mathed / math_cursor.h
index 0bb6d0063d54d1c937c36209d88d1f0f5b4885d9..3aa02de9566447b9f43027439356b67e1aa575de 100644 (file)
@@ -110,7 +110,9 @@ public:
        ///
        void delLine();
        /// This is in pixels from (maybe?) the top of inset
-       void setPos(int, int);
+       // don't move further in than the Anchor's inset if respect_anchor == true
+       void setPos(int x, int y, bool respect_anchor = false);
+       /// This is in pixels from (maybe?) the top of inset, don't move further
        ///
        void getPos(int & x, int & y);
        ///