void BufferView::resize()
{
- pimpl_->resizeCurrentBuffer();
+ if (pimpl_->buffer_) {
+ pimpl_->resizeCurrentBuffer();
+ }
}
-void BufferView::redraw()
+void BufferView::repaint()
{
- pimpl_->redraw();
+ pimpl_->repaint();
}
}
-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);
}