private void registerNonUndoableAction(@NotNull VirtualFile file) {
    getUndoManager().nonundoableActionPerformed(createDocumentReference(file), true);
  }
private void registerNonUndoableAction(@NotNull VirtualFile file)