/// 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,
}
///
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