private void paintCaretBar(@NotNull Graphics2D g, @Nullable Caret caret, float x, float y, float w, float h, boolean isRtl) {
      g.fill(new Rectangle2D.Float(x, y, w, h));
      paintCaretRtlMarker(g, caret, x, y, w, isRtl);
    }
private void paintCaretBar(@NotNull Graphics2D g, @Nullable Caret caret, float x, float y, float w, float h, boolean isRtl)