https://bugs.kde.org/show_bug.cgi?id=480607

Gabriel Barrantes <gabriel.barrantes....@outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/neon
                   |ities/kcalc/-/commit/511857 |/snap-packaging/kcalc6/-/co
                   |0f6f8785ff8f7b471938bbf7b47 |mmit/5118570f6f8785ff8f7b47
                   |84a79ce                     |1938bbf7b4784a79ce

--- Comment #9 from Gabriel Barrantes <gabriel.barrantes....@outlook.com> ---
Git commit 5118570f6f8785ff8f7b471938bbf7b4784a79ce by Gabriel Barrantes.
Committed on 07/05/2024 at 14:45.
Pushed by carlosdem into branch 'master'.

Show result while editing input

Show result while editing input without the need to press the equal
button, if the input reaches an invalid state (non computable) during
editing, result will be cleared or not depending on the error, inputs
that fail to be parsed like "1+#" trigger a result clear, inputs that
yield a math error like "1/0" also clear the result, however intermediate
inputs like "1+2+" will keep the "3" in the result display. If the user
attempts to commit an invalid input using the equal button, an error
message will appear as previously implemented. Changing the base mode
or the trigonometric mode also triggers a result recalculation and update.

A backspace signal clears the result display if the input reaches an
invalid state regardless of the error type.

Results are not committed to history unless the equal button is pressed.

Change default result display to be empty instead of "0", it will also
be empty if the input goes back to empty.

M  +57   -14   kcalc.cpp
M  +4    -1    kcalc.h
M  +30   -16   kcalc_core.cpp
M  +12   -3    kcalc_core.h
M  +10   -3    kcalc_display.cpp

https://invent.kde.org/neon/snap-packaging/kcalc6/-/commit/5118570f6f8785ff8f7b471938bbf7b4784a79ce

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to