code: final ParagraphBox.CaretOffsetX getCaretOffsetX(CaretNode caret) {
          return getCell(caret.getParagraphIndex()).getCaretOffsetX(caret);
      }
docs: Returns x coordinate of the caret in the current paragraph.