mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-02-28 02:45:59 +01:00
NPE fixed
This commit is contained in:
parent
424c7ab88c
commit
474dfa1f30
@ -439,6 +439,9 @@ public class ChangeGroup extends AbstractActionGroup {
|
||||
* @param count The number of times to repeat the previous insert
|
||||
*/
|
||||
private void repeatInsertText(Editor editor, DataContext context, int count) {
|
||||
if (lastStrokes == null) {
|
||||
return;
|
||||
}
|
||||
for (int i = 0; i < count; i++) {
|
||||
// Treat other keys special by performing the appropriate action they represent in insert/replace mode
|
||||
for (Object lastStroke : lastStrokes) {
|
||||
|
Loading…
Reference in New Issue
Block a user