(no subject)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Tim Felgentreff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I'm using a PluggableTextMorph added a dependant. When I enter text the #hasUnacceptedEdits: method is called and in it, self changed is run.
However, as Morph overrides changed to not notify listeners, I am not getting notified of changes. What is the proper way of adding my own listener to react to user input on a text morph?

Thanks in advance,
Tim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAkwODzsACgkQLbWJItnd6CxcyQCdEeC+bkeQxmcaU0/vPFjPMHJy
BX4An1JLQHPPu/ptRKhOsAFeQrRcm2ou
=hXuS
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

PluggableTextMorph>>hasUnacceptedEdits: (WAS: [squeak-dev] (no subject))

Tim Felgentreff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry for forgetting the subject line...

On Jun 8, 2010, at 11:36 AM, Tim Felgentreff wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> I'm using a PluggableTextMorph added a dependant. When I enter text the #hasUnacceptedEdits: method is called and in it, self changed is run.
> However, as Morph overrides changed to not notify listeners, I am not getting notified of changes. What is the proper way of adding my own listener to react to user input on a text morph?
>
> Thanks in advance,
> Tim
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
>
> iEYEARECAAYFAkwODzsACgkQLbWJItnd6CxcyQCdEeC+bkeQxmcaU0/vPFjPMHJy
> BX4An1JLQHPPu/ptRKhOsAFeQrRcm2ou
> =hXuS
> -----END PGP SIGNATURE-----
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAkwOD9cACgkQLbWJItnd6CwrewCeMAuBzpmGemNoTCYg8bQG3S1k
JvUAn1qGZS4+2moPtilgJtQ2NIa4AajC
=ArHz
-----END PGP SIGNATURE-----