Dax89/QHexView

QHexDocument::searchForward does not move the cursor past the first result

JonTheBurger opened this issue · 0 comments

Once searchForward finds a result, subsequent calls to searchForward do not move the cursor. searchBackward does move the cursor in its analogous case.

qint64 startPos = m_cursor->position().offset();

I believe this line needs a +1 (and maybe hasSelection handling like searchBackward does?)