int rowStart = el.getStartOffset(); int end = el.getEndOffset(); int rowIndex = 0; while (rowStart >= 0 && rowStart < end)
for (int rowIndex = 0; start < end; rowIndex++)
    public void layout(FlowView fv)    {      fv.removeAll();      Element el = fv.getElement();      int rowStart = el.getStartOffset();      int end = el.getEndOffset();      int rowIndex = 0;      while (rowStart >= 0 && rowStart < end)        {          View row = fv.createRow();          fv.append(row);          rowStart = layoutRow(fv, rowIndex, rowStart);          rowIndex++;        }    }