}
-lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const
+lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const
{
if (bidi_start == -1)
return pos;
}
-lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const
+lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const
{
if (bidi_start == -1)
return pos;
}
-lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const
+lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const
{
if (bidi_start == -1)
return 0;
}
-bool LyXText::bidi_InRange(lyx::pos_type pos) const
+bool LyXText::bidi_InRange(lyx::pos_type pos) const
{
return bidi_start == -1 ||
(bidi_start <= pos && pos <= bidi_end);
cur.ix(cur.x());
//if the cursor is in a visible row, anchor to it
int topy = top_y();
- if (topy < y && y < topy + bv()->workHeight())
+ if (topy < y && y < topy + bv()->workHeight())
anchor_row(row);
}