[TxMt] Math bundle: suggestion for evaluate line
James Edward Gray II
james at grayproductions.net
Fri Jun 9 13:39:29 UTC 2006
On Jun 8, 2006, at 10:24 PM, Timothy Bates wrote:
> hi there,
> It is very handy to be able to have a line like
> 11.5/2.54
> hit evaluate line and get
> 11.5/2.54 = 292.1
>
> Currently if that line is reevaluated, it returns
> 11.5/2.54 = 292.1(standard_in) 1: parse error
> =
>
> My suggestion for the default behavior bundle, is that if the line
> already contains an equals, eval the text in front and replace the
> result.
>
> That would be useful where one is playing with values in a formula
That's an extremely simple, one line command, so I bet you could work
out how to add this in. Let us know if you get stuck and we'll help
you along...
James Edward Gray II
More information about the textmate
mailing list