public static PreviewEditorState create(VirtualFile file, int line, TextAttributes attributes) {
      return new PreviewEditorState(file, line < 0 ? null : new LogicalPosition(line, 0), attributes);
    }
public static PreviewEditorState create(VirtualFile file, int line, TextAttributes attributes)