int CharBreakIteratorQt::next() { if (currentPos == length) return -1; currentPos = layout.nextCursorPosition(currentPos); return currentPos; }