forked from qt-creator/qt-creator
FakeVim: Handle Ctrl+[ with Russian keyboard layout
Task-number: QTCREATORBUG-15261 Change-Id: I6b63fdce965347dc883c72223b482883beccbb80 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -994,7 +994,7 @@ public:
|
|||||||
// cursor keys. This breaks some of the logic later on
|
// cursor keys. This breaks some of the logic later on
|
||||||
// relying on text() being empty for "special" keys.
|
// relying on text() being empty for "special" keys.
|
||||||
// FIXME: Check the real conditions.
|
// FIXME: Check the real conditions.
|
||||||
if (x.unicode() < ' ')
|
if (x.unicode() < ' ' && x.unicode() != 27)
|
||||||
m_text.clear();
|
m_text.clear();
|
||||||
else if (x.isLetter())
|
else if (x.isLetter())
|
||||||
m_key = x.toUpper().unicode();
|
m_key = x.toUpper().unicode();
|
||||||
|
|||||||
Reference in New Issue
Block a user