sanchahar / speedcrunch

Automatically exported from code.google.com/p/speedcrunch
1 stars 0 forks source link

Optionally put the last command in parenthesis instead of ANS #313

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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!).

Original issue reported on code.google.com by scott.baker on 22 Sep 2009 at 10:35

GoogleCodeExporter commented 9 years ago
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.

Original comment by helder.p...@gmail.com on 22 Sep 2009 at 10:42

GoogleCodeExporter commented 9 years ago
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

Original comment by bxsto...@yahoo.co.uk on 12 Jul 2010 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by helder.p...@gmail.com on 24 Mar 2013 at 6:52