]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Fixes for/in insettabular/text.
[lyx.git] / src / lyxtext.h
index d80ecd259afd733c26e51765316191c1e213fa0f..7a7d551ced8406050502274368fe9575197b7fe1 100644 (file)
@@ -66,11 +66,14 @@ 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;
        ///
        InsetText * inset_owner;
+       ///
+       UpdatableInset * the_locking_inset;
 
        ///
        LyXFont const GetFont(Buffer const *, LyXParagraph * par,
@@ -504,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