Comment #3 on issue 3280 by gazzaguru2: Focus indicator for pluggable text
morphs not correctly drawn
http://code.google.com/p/pharo/issues/detail?id=3280
Noticed that the blinking cursor sometimes hangs around now though...
(since optimised to only redraw the focus indictor parts) try:
keyboardFocusChange: aBoolean
"rr 3/21/2004 22:55 : removed the #ifFalse: branch,
which was responsible of the deselection of text when the
paragraph lost focus. This way selection works in a more standard
way, and this permits the menu keyboard control to be really effective.
Changed to update focus indication."
paragraph
ifNotNil: [paragraph focused: aBoolean].
aBoolean
ifTrue: ["A hand is wanting to send us characters..."
self hasFocus
ifFalse: [self editor "Forces editor install"].
self editor focused: true.
self useFindReplaceSelection
ifTrue: [self selectionChanged].
Editor blinkingCursor
ifTrue: [self startBlinking]]
ifFalse:[editor ifNotNil: [editor focused: false].
self
resetBlinkCursor;
stopBlinking].
self editView
ifNil: [self focusChanged]
ifNotNil: [self editView focusChanged]