Optionally put the last command in parenthesis instead of ANS

Issue #313 new
Former user created an issue

Originally reported on Google Code with ID 313

What steps will reproduce the problem?
1. Enter 3+3 and hit enter
2. Press the up arrow to recall the last command
3. Enter +3

What is the expected output? What do you see instead?
Qalculate has a cool feature where if you do the above you get: (3+3)+3.
It just wraps the last command in parenthesis instead of using the ANS
variable. While both are good, and have their place. It would be nice if
you could have a preference that would let you pick what behavior you want
your history keys to do.

What version of the product are you using? On what operating system?
SpeedCrunch 0.10 / Fedora 11

Please provide any additional information below.
This feature is very handy if you're doing a running total like adding up
a grocery list
7.5 + 13 <enter>
+ 6.24 <enter>
+ 9.18 <enter>
+ .53 <enter>

That way I can look at the single command and make sure I entered all the
data correctly. With SpeedCrunch for the last X commands I'd see

ans + 6.24
ans + 9.18
ans + .53

Just a feature request to make SC even better than it already is (which is
really good!).

Reported by scott.baker on 2009-09-22 22:35:37

Comments (3)

  1. Former user Account Deleted

    ``` Hi Scott. Thanks for the nice words and for a suggestion that I think can be useful. I'll keep this hanging around here until a developer decides to pick the idea. ```

    Reported by `helder.pereira.correia` on 2009-09-22 22:42:52

  2. Former user Account Deleted

    ``` Instead of putting the last command into parenthesis the last result/value should be auto-filled in. Example:

    7-3 4 (4)-3 1

    To distinguish between formulas which the user entered and values derived from the last calculation alternatively another kind of brackets can be used:

    7-3 4 [4]-3 1

    Ben ```

    Reported by `bxstover@yahoo.co.uk` on 2010-07-12 06:05:03

  3. Former user Account Deleted

    Reported by helder.pereira.correia on 2013-03-24 06:52:07 - Status changed: Accepted - Labels added: Type-Enhancement

  4. Log in to comment