}
+void ControlCommandBuffer::hide() const
+{
+ lv_.getToolbars().display("minibuffer", false);
+}
+
+
vector<string> const
ControlCommandBuffer::completions(string const & prefix, string & new_prefix)
{
/// return the font and depth in the active BufferView as a message.
docstring const getCurrentState() const;
+ /// hide the command buffer.
+ void hide() const;
+
/// return the possible completions
std::vector<std::string> const completions(std::string const & prefix,
std::string & new_prefix);
connect(edit_, SIGNAL(tabPressed()), this, SLOT(complete()));
connect(edit_, SIGNAL(upPressed()), this, SLOT(up()));
connect(edit_, SIGNAL(downPressed()), this, SLOT(down()));
+ connect(edit_, SIGNAL(hidePressed()), this, SLOT(hideParent()));
layout->addWidget(up, 0);
layout->addWidget(down, 0);
}
+void QCommandBuffer::hideParent()
+{
+ view_->setFocus();
+ edit_->setText(QString());
+ edit_->clearFocus();
+ controller_.hide();
+}
+
+
#if 0
void XMiniBuffer::show_info_suffix(string const & suffix, string const & input)
{