]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Change to use preffered calling of Boost.Function
[lyx.git] / src / lyxtext.h
index ceb03c23bf46bdafa168eea546326effe8b91e9b..1eb3158c8a076e337a81e7ffb9f7600d45e5df5c 100644 (file)
@@ -100,6 +100,10 @@ public:
        /// rebreaks the cursor par
        void redoParagraph(LCursor & cur);
 
+       /// returns pos in given par at given x coord
+       pos_type x2pos(par_type pit, int row, int x) const;
+       int pos2x(par_type pit, pos_type pos) const;
+
        ///
        void toggleFree(LCursor & cur, LyXFont const &, bool toggleall = false);