selection_possible = false;
owner_->updateLayoutChoice();
owner_->getMiniBuffer()->Set(inset_hit->EditMessage());
- inset_hit->Edit(this, xpos, ypos);
+ inset_hit->Edit(this, xpos, ypos, button);
return;
}
}
owner_->getMiniBuffer()->Set(inset_hit->EditMessage());
- inset_hit->Edit(this, x, y);
+ inset_hit->Edit(this, x, y, button);
return;
}
textclasslist
.TextClass(buffer_->
params.textclass).defaultfont())) {
- text->cursor.par->bibkey->Edit(this, 0, 0);
+ text->cursor.par->bibkey->Edit(this, 0, 0, 0);
}
return;
return 0;
}
-
void BufferView::workAreaExpose()
{
// this is a hack to ensure that we only call this through
void BufferView::insetWakeup()
{
if (the_locking_inset && inset_slept) {
- the_locking_inset->Edit(this, slx, sly);
+ the_locking_inset->Edit(this, slx, sly, 0);
inset_slept = false;
}
}
}
+Painter & BufferView::getPainter() const
+{
+ return workarea->getPainter();
+}
+
+
+unsigned short BufferView::paperWidth() const
+{
+ return text->paperWidth();
+}
+
+
bool BufferView::belowMouse() const
{
return workarea->belowMouse();