Closed
Bug 550690
Opened 14 years ago
Closed 14 years ago
After losing focus the cursor doesn't repaint sometimes
Categories
(Skywriter Graveyard :: Editor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julian.viereck, Unassigned)
Details
Attachments
(1 file)
3.88 KB,
patch
|
pcwalton
:
review+
|
Details | Diff | Splinter Review |
When the editor loses the focus, the insertion pointer is not repainted. As this, the pointer is not drawn as a red rect.
Reporter | ||
Comment 1•14 years ago
|
||
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)
Reporter | ||
Updated•14 years ago
|
Whiteboard: needs-pull
Comment 2•14 years ago
|
||
Pushed as changeset 863df2136fb8.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: needs-pull
Updated•14 years ago
|
Attachment #430846 -
Flags: review?(pwalton) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•