If one uses a search & replace dialog it's distracting and unsuitable, if the focus moves from the dialog when the mouse moves.
Analysis:
One contribution is the deactivation of moving the focus after a match was found. This can be done in the function NumeReWindow::OnFindEvent(). The other possibilities have to be investigated as there's no simple way of accessing the top level window without creating a loop in the include macros. A possible solution would be a global pointer to the find & replace dialog.
Implementation:
The search & replace dialog was moved to a global instance governed by the NumeReWindow toplevel class. The different OnEnter handlers of the main GUI are now aware of the open dialog and ignore their behavior in this case.
Documentation:
Not needed - Improving of already available behavior.
Tests:
The focus now works as expected. No deviations detected. Change was implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: