Commit 5fcbd012 authored by hjk's avatar hjk
Browse files

fakevim: make search and command history static

parent 6d822351
......@@ -367,11 +367,11 @@ public:
// history for '/'
QString lastSearchString() const;
QStringList m_searchHistory;
static QStringList m_searchHistory;
int m_searchHistoryIndex;
// history for ':'
QStringList m_commandHistory;
static QStringList m_commandHistory;
int m_commandHistoryIndex;
// visual line mode
......@@ -404,6 +404,9 @@ public:
QList<QTextEdit::ExtraSelection> m_searchSelections;
QStringList FakeVimHandler::Private::m_searchHistory;
QStringList FakeVimHandler::Private::m_commandHistory;
FakeVimHandler::Private::Private(FakeVimHandler *parent, QWidget *widget)
q = parent;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment