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
32881501
Commit
32881501
authored
Jan 27, 2009
by
hjk
Browse files
Fixes: fakevim: ignore remaining Ctrl combinations in insert mode
parent
d8005df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
32881501
...
...
@@ -1220,6 +1220,8 @@ bool FakeVimHandler::Private::handleInsertMode(int key, int, const QString &text
QString
str
=
QString
(
m_config
[
ConfigTabStop
].
toInt
(),
' '
);
m_lastInsertion
.
append
(
str
);
m_tc
.
insertText
(
str
);
}
else
if
(
key
>=
control
(
'a'
)
&&
key
<=
control
(
'z'
))
{
// ignore these
}
else
if
(
!
text
.
isEmpty
())
{
m_lastInsertion
.
append
(
text
);
if
(
m_submode
==
ReplaceSubMode
)
{
...
...
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