@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    Project project = e.getData(CommonDataKeys.PROJECT);
    if (project == null) return;
    Editor editor = e.getData(CommonDataKeys.EDITOR);
    if (editor == null) return;
    Integer selectedOffset = e.getData(SELECTED_OFFSET_KEY);
    LineStatusTracker<?> tracker = LineStatusTrackerManager.getInstance(project).getLineStatusTracker(editor.getDocument());
    assert tracker != null;

    Range range = null;
    if (selectedOffset != null) {
      int line = editor.getDocument().getLineNumber(selectedOffset);
      range = tracker.getRangeForLine(line);
    }

    doAction(tracker, editor, range);
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)