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
Marco Bubke
flatpak-qt-creator
Commits
d110043c
Commit
d110043c
authored
May 06, 2010
by
hjk
Browse files
fakevim: make :e open the Locator by default
parent
ccc959f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimplugin.cpp
View file @
d110043c
...
...
@@ -525,8 +525,8 @@ private:
FakeVimExCommandsPage
*
m_fakeVimExCommandsPage
;
QHash
<
Core
::
IEditor
*
,
FakeVimHandler
*>
m_editorToHandler
;
void
triggerAction
(
const
QString
&
code
);
void
setActionChecked
(
const
QString
&
code
,
bool
check
);
void
triggerAction
(
const
QString
&
code
);
void
setActionChecked
(
const
QString
&
code
,
bool
check
);
void
readSettings
(
QSettings
*
settings
);
void
writeSettings
(
QSettings
*
settings
);
...
...
@@ -557,6 +557,8 @@ FakeVimPluginPrivate::FakeVimPluginPrivate(FakeVimPlugin *plugin)
QRegExp
(
"^tag?$"
);
s_defaultExCommandMap
[
Core
::
Constants
::
GO_BACK
]
=
QRegExp
(
"^pop?$"
);
s_defaultExCommandMap
[
QLatin1String
(
"QtCreator.Locate"
)]
=
QRegExp
(
"^e$"
);
}
FakeVimPluginPrivate
::~
FakeVimPluginPrivate
()
...
...
@@ -704,7 +706,7 @@ void FakeVimPluginPrivate::showSettingsDialog()
QLatin1String
(
Constants
::
SETTINGS_ID
));
}
void
FakeVimPluginPrivate
::
triggerAction
(
const
QString
&
code
)
void
FakeVimPluginPrivate
::
triggerAction
(
const
QString
&
code
)
{
Core
::
ActionManager
*
am
=
Core
::
ICore
::
instance
()
->
actionManager
();
QTC_ASSERT
(
am
,
return
);
...
...
@@ -715,7 +717,7 @@ void FakeVimPluginPrivate::triggerAction(const QString& code)
action
->
trigger
();
}
void
FakeVimPluginPrivate
::
setActionChecked
(
const
QString
&
code
,
bool
check
)
void
FakeVimPluginPrivate
::
setActionChecked
(
const
QString
&
code
,
bool
check
)
{
Core
::
ActionManager
*
am
=
Core
::
ICore
::
instance
()
->
actionManager
();
QTC_ASSERT
(
am
,
return
);
...
...
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