Ahh, I messed up the issue description.
It is the current selection that is not announced, not the contents. Or is there a
possibility to get the a notification of the current selection while I am selecting a
piece of text?
Cheers,
Doru
On 3 Jul 2011, at 10:13, Lukas Renggli wrote:
-
PluggableTextMorph does not provide a means for clients to know when the text has changed
aPluggableTextEditorMorph autoAccept: true
That is not the same. I want a notification from the PluggableTextMorph to tell me that
the text changed, so that I can update the an external client.
You'll get an accept notification for each key press. There is also an
option to automatically send a accept notification when the text field
looses focus.
Alternatively you can directly hook into the morphic #eventHandler and
get notified about #keystroke, #keyDown, #keyUp, ...
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
--
www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."