private static void removeLineMarkers(@NotNull EditorEx editor) {
    ThreadingAssertions.assertEventDispatchThread();
    RangeHighlighter marker = editor.getUserData(LINE_MARKER_IN_EDITOR_KEY);
    if (marker != null && editor.getMarkupModel().containsHighlighter(marker)) {
      marker.dispose();
    }
    editor.putUserData(LINE_MARKER_IN_EDITOR_KEY, null);
  }
private static void removeLineMarkers(@NotNull EditorEx editor)