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)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julian.viereck, Unassigned)

Details

Attachments

(1 file)

When the editor loses the focus, the insertion pointer is not repainted. As 
this, the pointer is not drawn as a red rect.
Attached patch Fix the bugSplinter Review
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)
Whiteboard: needs-pull
Pushed as changeset 863df2136fb8.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: needs-pull
Attachment #430846 - Flags: review?(pwalton) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: