Bug #6
closedDamage/Fatigue: After select all, auto '+' inserted for 2nd number typed
0%
Description
Damage auto '+' code has problems with selecting all, then typing.
When you select all, the first number typed replaces the selected text, as expected. If you type a second digit, then a '+' is inserted which should probably not happen.
Updated by Damian Small over 15 years ago
- Assignee set to Damian Small
- Target version set to 0.5.0
Updated by Damian Small over 15 years ago
- Status changed from New to In Progress
It is very difficult to figure out what exactly the user would want. State tracking is tricky.
Maybe it's possible to track the focus: if the cell has focus, disable auto '+' insertion. But, if the cell does not have focus, how do we see if this is the first character inserted?
Updated by Damian Small over 15 years ago
- Status changed from In Progress to Resolved
When cell does not have the focus, but a new edit event is started, then auto-insert '+'. If the cell has focus (the user has double clicked on it, then never auto-insert. When selecting all, the cell MUST have the focus, so this issue is resolved.
Updated by Damian Small over 15 years ago
- Status changed from Resolved to Closed