Comment #9 on issue 3280 by gazzaguru2: Focus indicator for pluggable text
morphs not correctly drawn
http://code.google.com/p/pharo/issues/detail?id=3280
You'll need this too to allow return key when filter has focus to do the ok
action...
newFilterEntry
"Answer a new filter entry field."
|entry|
entry := self
newAutoAcceptTextEntryFor: self
getText: #filter
setText: #filter:
getEnabled: nil
help: 'Filters the options according to a matching substring'
translated.
entry acceptOnCR: false.
entry textMorph crAction: (MessageSend receiver: self selector: #ok).
^entry