Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
5fcbd012
Commit
5fcbd012
authored
Mar 25, 2009
by
hjk
Browse files
fakevim: make search and command history static
parent
6d822351
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
5fcbd012
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment