1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-01-14 19:42:50 +01:00

Repeat typing commands by inserting text instead of handling a typed key

It will prevent auto-completion and other auto-inserting typed key
handlers from messing up with the repeated text.
This commit is contained in:
Andrey Vlasovskikh 2014-10-21 18:22:19 +04:00
parent e3fce51ea1
commit b5bf6c08d8

View File

@ -491,9 +491,7 @@ public class ChangeGroup {
}
else if (lastStroke instanceof char[]) {
final char[] chars = (char[])lastStroke;
for (char c : chars) {
processKey(editor, context, KeyStroke.getKeyStroke(c));
}
insertText(editor, editor.getCaretModel().getOffset(), new String(chars));
}
}
}