| 377 | } |
| 378 | |
| 379 | qint64 QHexEdit::indexOf(const QByteArray &ba, qint64 from) |
| 380 | { |
| 381 | qint64 pos = _chunks->indexOf(ba, from); |
| 382 | if (pos > -1) |
| 383 | { |
| 384 | qint64 curPos = pos*2; |
| 385 | setCursorPosition(curPos + ba.length()*2); |
| 386 | resetSelection(curPos); |
| 387 | setSelection(curPos + ba.length()*2); |
| 388 | ensureVisible(); |
| 389 | } |
| 390 | return pos; |
| 391 | } |
| 392 | |
| 393 | bool QHexEdit::isModified() |
| 394 | { |
nothing calls this directly
no outgoing calls
no test coverage detected