| 328 | } |
| 329 | |
| 330 | intptr_t TextEditor::searchInTarget(QByteArray &text2Find, size_t fromPos, size_t toPos) const |
| 331 | { |
| 332 | SendScintilla(SCI_SETTARGETRANGE, fromPos, toPos); |
| 333 | return SendScintilla(SCI_SEARCHINTARGET, text2Find.size(), reinterpret_cast<intptr_t>(text2Find.data())); |
| 334 | } |
| 335 | |
| 336 | intptr_t TextEditor::replaceTarget(QByteArray &str2replace, intptr_t fromTargetPos, intptr_t toTargetPos) const |
| 337 | { |
no test coverage detected