Date: 2009-11-18 07:01:08 -0800 (Wed, 18 Nov 2009)
Remove dependencies RichEditableText api calls had on using an interactionManager. API calls can be done regardless of the values of editable and selectable which just apply to interactive editing.
The api calls are: insertText, appendText, selectRange, selectAll, setFormatOfRange, getFormatOfRange. The first 4 methods can change the selection and when that occurs, a selectionChange event will be dispatched.
The editingMode should not be changed any event handler while in the middle of a text operation. This includes the selectionChange event.
I may make a few more tweaks to this code as I continue to test and find edge conditions.
Doc notes: editingMode should not be changed by any event handler while in the middle of a text operation
Tests run: checkintests, TextArea, TextInput, NumericStepper, ComboBox
Is noteworthy for integration: yes