If one enters the same line repeatedly, it's not helpful, if this line is stored repeatedly in the history: add a check, if the last line is identical to the current line and only add the current line, if this is not the case. (Do the comparsion not whitespace-sensitive)
Analysis:
This change can be implemented in the member function NumeReHistory::AddToHistory(), where the recent line has to be read and compared to the new line and only added if they are different.
Implementation:
The change was implemented as proposed by the analysis. Implementation tests were passed successfully.
Documentation:
A description of the changed behavior was added to the documentation articles concerning the entry history in both languages.
Tests:
Duplicates are not showing up any more. Change was implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: