Lines Matching refs:textCursor

1379   QString selection = this->Output->textCursor().selectedText();  in doOutputFindDialog()
1416 QTextCursor textCursor = this->Output->textCursor(); in doOutputFindNext() local
1423 textCursor = document->find(search, textCursor, flags); in doOutputFindNext()
1425 if (textCursor.isNull()) { in doOutputFindNext()
1427 textCursor = this->Output->textCursor(); in doOutputFindNext()
1428 textCursor.movePosition(directionForward ? QTextCursor::Start in doOutputFindNext()
1430 textCursor = document->find(search, textCursor, flags); in doOutputFindNext()
1433 if (textCursor.hasSelection()) { in doOutputFindNext()
1434 this->Output->setTextCursor(textCursor); in doOutputFindNext()
1440 QTextCursor textCursor = this->Output->textCursor(); in doOutputErrorNext() local
1444 if (textCursor.blockCharFormat() == this->ErrorFormat) { in doOutputErrorNext()
1445 atEnd = !textCursor.movePosition(QTextCursor::NextBlock); in doOutputErrorNext()
1449 while (textCursor.blockCharFormat() != this->ErrorFormat && !atEnd) { in doOutputErrorNext()
1450 atEnd = !textCursor.movePosition(QTextCursor::NextBlock); in doOutputErrorNext()
1455 atEnd = !textCursor.movePosition(QTextCursor::Start); in doOutputErrorNext()
1458 while (textCursor.blockCharFormat() != this->ErrorFormat && !atEnd) { in doOutputErrorNext()
1459 atEnd = !textCursor.movePosition(QTextCursor::NextBlock); in doOutputErrorNext()
1464 textCursor.movePosition(QTextCursor::EndOfBlock, QTextCursor::KeepAnchor); in doOutputErrorNext()
1468 QTextEdit::ExtraSelection extraSelection = { textCursor, selectionFormat }; in doOutputErrorNext()
1473 this->Output->setTextCursor(textCursor); in doOutputErrorNext()
1476 textCursor.setPosition(textCursor.anchor()); in doOutputErrorNext()
1477 this->Output->setTextCursor(textCursor); in doOutputErrorNext()