public static int getVisualLineAreaEndY(@NotNull Editor editor, int visualLine) {
    return ReadAction.compute(() -> editor.visualLineToYRange(visualLine)[1] + getInlaysHeight(editor, visualLine, false));
  }
public static int getVisualLineAreaEndY(@NotNull Editor editor, int visualLine)