int CharBreakIteratorQt::previous() { if (currentPos == 0) return -1; currentPos = layout.previousCursorPosition(currentPos); return currentPos; }