Unit Input
The goal is to implement T3077 - unit selector widget. At first glance it seems to make sense to just include a
-
we can't use a native input, must create our own cursor and interpret
keystrokes
- distinguishing between (m)(g) and (mg)
- user starts with just numerator, can type "/" to get denominator
- angstrom, micro- are hard to enter / must be inferred from lookalike
letters
- the numeric input and unit input must be tied together so it's possible to
accept an answer expressed in either m or cm, for instance
- the system must additionally have an understanding of equivalent units
- however, it can't accept all equivalent units - it would not be acceptable
to use N*s^2/kg instead of m
- case may or may not be important. i think a lot of units are recognized
with either capitalization, but that's probably not always the case.
- prefixes may or may not be okay
- only SI units use them
- even then, some aren't really used. cm is common, cL? nah.