]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Fixes for/in insettabular/text.
[lyx.git] / src / lyxtext.h
index b1acc90325804564599465397d88179c246e5b70..7a7d551ced8406050502274368fe9575197b7fe1 100644 (file)
@@ -66,7 +66,8 @@ public:
        /// the current font
        mutable LyXFont real_current_font;
        /// first visible pixel-row is set from LyXScreen!!!
-       unsigned int first;
+       // unsigned is wrong here for text-insets!
+       int first;
        ///
        BufferView * bv_owner;
        ///
@@ -506,7 +507,7 @@ public:
        }
        ///
        inline
-       int bidi_level(LyXParagraph::size_type pos) const {
+       LyXParagraph::size_type bidi_level(LyXParagraph::size_type pos) const {
                if (bidi_start == -1)
                        return 0;
                else