public commitEdit() as Void:
Commits the manual edit buffer if it contains a valid integer.
Invalid partial input such as an empty string or a lone minus sign is discarded and the current numeric value is kept.
spin.commitEdit()