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:
parent
e66a1d848f
commit
5fb5029d0c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user