void (final StartMarkAction[] compound) { CommandProcessor.getInstance().executeCommand(getProject(), () -> { try { compound[0] = StartMarkAction.start(getFirstEditor(), getProject(), "compound"); } catch (StartMarkAction.AlreadyStartedException e) { e.printStackTrace(); } }, "start", null, getFirstEditor().getDocument()); }