Skip to content
GitLab
Menu
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
a51cf524
Commit
a51cf524
authored
Apr 15, 2010
by
hjk
Browse files
fakevim: properly handle ø in the minibuffer
parent
1f176af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
a51cf524
...
...
@@ -2433,7 +2433,7 @@ EventResult FakeVimHandler::Private::handleMiniBufferModes(const Input &input)
m_commandBuffer
+=
QChar
(
9
);
updateMiniBuffer
();
}
else
if
(
QChar
(
key
).
isPrint
())
{
m_commandBuffer
+=
QChar
(
key
)
;
m_commandBuffer
+=
input
.
text
;
updateMiniBuffer
();
}
else
{
qDebug
()
<<
"IGNORED IN MINIBUFFER MODE: "
<<
key
<<
text
;
...
...
@@ -3986,7 +3986,7 @@ bool FakeVimHandler::eventFilter(QObject *ob, QEvent *ev)
if
(
active
&&
ev
->
type
()
==
QEvent
::
KeyPress
&&
ob
==
d
->
editor
())
{
QKeyEvent
*
kev
=
static_cast
<
QKeyEvent
*>
(
ev
);
KEY_DEBUG
(
"KEYPRESS"
<<
kev
->
key
());
KEY_DEBUG
(
"KEYPRESS"
<<
kev
->
key
()
<<
kev
->
text
()
<<
QChar
(
kev
->
key
())
);
EventResult
res
=
d
->
handleEvent
(
kev
);
// returning false core the app see it
//KEY_DEBUG("HANDLED CODE:" << res);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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