void (@NotNull Runnable runnable) { CommandProcessor.getInstance().runUndoTransparentAction( () -> CommandProcessor.getInstance().executeCommand(myProject, () -> ApplicationManager.getApplication().runWriteAction(runnable), "", getDocument(), UndoConfirmationPolicy.DEFAULT, getDocument())); }