Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mathematica-style long-number text delimiters #192

Open
dilijev opened this issue Dec 15, 2011 · 0 comments
Open

Mathematica-style long-number text delimiters #192

dilijev opened this issue Dec 15, 2011 · 0 comments

Comments

@dilijev
Copy link
Collaborator

dilijev commented Dec 15, 2011

A la Mathematica, for long numbers, delimiting sets of three digits [possibly different number of digits by locale] by a small amount of whitespace. e.g. "1023" becomes "1 023" / "2111230496" becomes "2 111 230 496" (much more readable, and easier to see the magnitude, which makes it easier to identify and correct mistakes in calculations).

Since the input line is plain text, this is obviously a lot more easily done if a non-fixed-width font is being used for input lines, so this should be an opt-in feature.

As a technical issue, whitespace between tokens is of no consequence in inputs, correct? This would be pretty easy to implement because the text displayed could be sent through a filter to remove white-space and then sent directly along to maxima, with all whitespace removed.

On the other hand, continued editing of the selection might be easier if there were a distinction between the input string and the displayed text.

I think I have an idea of how to tackle this so I'll start working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant