| 334 | } |
| 335 | |
| 336 | intptr_t TextEditor::replaceTarget(QByteArray &str2replace, intptr_t fromTargetPos, intptr_t toTargetPos) const |
| 337 | { |
| 338 | if (fromTargetPos != -1 || toTargetPos != -1) |
| 339 | SendScintilla(SCI_SETTARGETRANGE, fromTargetPos, toTargetPos); |
| 340 | |
| 341 | return SendScintilla(SCI_REPLACETARGET, str2replace.size(), reinterpret_cast<intptr_t>(str2replace.data())); |
| 342 | } |
| 343 | |
| 344 | int TextEditor::currentLineNumber() |
| 345 | { |
no test coverage detected