1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-02-28 02:45:59 +01:00

VIM-78 NPE

This commit is contained in:
Oleg Shpynov 2011-03-23 11:31:34 +03:00
parent e66a1d848f
commit 5fb5029d0c

View File

@ -53,7 +53,7 @@ public abstract class VisualOperatorActionHandler extends AbstractEditorActionHa
range = runnable.start();
}
boolean res = execute(editor, context, cmd, range);
boolean res = range != null ? execute(editor, context, cmd, range) : false;
if (cmd != null && (cmd.getFlags() & Command.FLAG_DELEGATE) == 0) {
runnable.setRes(res);