#include "debug.h"
#include "gettext.h"
#include "LyXAction.h"
+#include "BufferView.h"
+#include "buffer.h"
using std::endl;
void MiniBuffer::ExecCommand()
{
- text.clear();
+ text.erase();
fl_set_input(the_buffer, "");
fl_set_focus_object(owner->getForm(), the_buffer);
}
{
if (!text_stored.empty()){
Set(text_stored);
- text_stored.clear();
+ text_stored.erase();
}
}