lyxerr[Debug::GUI] << "text_height now " << text_height << endl;
lyxerr[Debug::GUI] << "work_height " << work_height << endl;
-
+
/* If the text is smaller than the working area, the scrollbar
* maximum must be the working area height. No scrolling will
* be possible */
void BufferView::Pimpl::scrollCB(double value)
{
lyxerr[Debug::GUI] << "scrollCB of " << value << endl;
-
+
if (!buffer_) return;
current_scrollbar_value = long(value);
x -= b.x1;
// The origin of an inset is on the baseline
- y -= (text.cursor.y());
+ y -= text.cursor.iy();
return inset;
}