[TxMt] Enhancement of Math commands: overwrite previous results

Timothy Bates timothy.c.bates at gmail.com
Sat Jan 20 17:17:53 UTC 2007


Hi all,
1. Currently, if you have some numeric data and do a math evaluation, for
instance

  60 + 220  = 280

If you do a new evaluation on that line, the result is
  60 + 220  = 280 standard_in) 1: parse error
 
SUGGESTION to the math maintainer: Might you alter the code to delete the
contents of the line or selection subsequent to an "=" character, before
evaluating?



2. The currency math commands, would it make sense to use the detected
prefix?

i.e., currently "$20 + $40" evaluates to "$20 + $40 = 60"

Perhaps it should evaluate to "$20 + $40 = $60"

Cheers,
Tim

____________________
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
                                   -- G. Marx





More information about the textmate mailing list