Dax89 / QHexView

A versatile Hexadecimal widget for Qt5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JonTheBurger opened this issue · 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?)