private void followCaret() {
        int parIdx = getCurrentParagraph();
        Cell<Paragraph<PS, SEG, S>, ParagraphBox<PS, SEG, S>> cell = virtualFlow.getCell(parIdx);
        Bounds caretBounds = cell.getNode().getCaretBounds(caretSelectionBind.getUnderlyingCaret());
        double graphicWidth = cell.getNode().getGraphicPrefWidth();
        Bounds region = extendLeft(caretBounds, graphicWidth);
        virtualFlow.show(parIdx, region);
    }
private void followCaret ( ) { int parIdx = getCurrentParagraph ( ) ; Cell < Paragraph < PS , SEG , S > , ParagraphBox < PS , SEG , S > > cell = virtualFlow . getCell ( parIdx ) ; Bounds caretBounds = cell . getNode ( ) . getCaretBounds ( caretSelectionBind . getUnderlyingCaret ( ) ) ; double graphicWidth = cell . getNode ( ) . getGraphicPrefWidth ( ) ; Bounds region = extendLeft ( caretBounds , graphicWidth ) ; virtualFlow . show ( parIdx , region ) ; }
Assumes this method is called within a {@link #suspendVisibleParsWhile(Runnable)} block