}
-void BufferView::resize(int xpos, int ypos, int width, int height)
-{
- pimpl_->resize(xpos, ypos, width, height);
-}
-
-
void BufferView::resize()
{
- pimpl_->resize();
+ if (pimpl_->buffer_) {
+ pimpl_->resizeCurrentBuffer();
+ }
}
-void BufferView::redraw()
+void BufferView::repaint()
{
- pimpl_->redraw();
+ pimpl_->repaint();
}
}
-int BufferView::resizeCurrentBuffer()
-{
- return pimpl_->resizeCurrentBuffer();
-}
-
-
void BufferView::cursorPrevious(LyXText * text)
{
pimpl_->cursorPrevious(text);
}
-void BufferView::setState()
+void BufferView::switchKeyMap()
{
- pimpl_->setState();
+ pimpl_->switchKeyMap();
}
(static_cast<int>(uc1) | static_cast<int>(uc2));
}
-bool BufferView::Dispatch(kb_action action, string const & argument)
+
+bool BufferView::dispatch(FuncRequest const & ev)
{
- return pimpl_->Dispatch(action, argument);
+ return pimpl_->dispatch(ev);
}