When the editor loses the focus, the insertion pointer is not repainted. As this, the pointer is not drawn as a red rect.
Created attachment 430846 [details] [diff] [review] Fix the bug The basic bug in this case was, that the TextView.willLoseKeyResponderTo() function didn't called _invalidateInsertionPointIfNecessary(). To fix this bug I have combined the two functions _invalidateInsertionPointIfNecessary() and _invalidateSelection() into just one. This way by calling this._invalidateSelection() from willLoseKeyResponderTo the insertionPointer is redrawn as well.
Attachment #430846 - Flags: review?(pwalton)
Pushed as changeset 863df2136fb8.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Attachment #430846 - Flags: review?(pwalton) → review+
You need to log in before you can comment on or make changes to this bug.