Fix of 4530: TextInput of PreferenceBrowser behave strangely

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

Fix of 4530: TextInput of PreferenceBrowser behave strangely

Balázs Kósi
Hi,

I committed a fix to The Inbox of http://bugs.squeak.org/view.php?id=4530
TextInput of PreferenceBrowser behave strangely.

   The root of the problem was that on each keystroke the
PluggableTextMorph updated the PreferenceBrowser, which in turn
updated the PluggableTextMorph, what messed up its selection.
   This solution gives a getTextSelector to the PluggableTextMorph
which is never triggered.
   Another solution could be to drop the auto updating behaviour.

Balázs

Reply | Threaded
Open this post in threaded view
|

Re: Fix of 4530: TextInput of PreferenceBrowser behave strangely

Andreas.Raab
Ah! Thanks so much! This is a great fix.

Cheers,
   - Andreas

Balázs Kósi wrote:

> Hi,
>
> I committed a fix to The Inbox of http://bugs.squeak.org/view.php?id=4530
> TextInput of PreferenceBrowser behave strangely.
>
>    The root of the problem was that on each keystroke the
> PluggableTextMorph updated the PreferenceBrowser, which in turn
> updated the PluggableTextMorph, what messed up its selection.
>    This solution gives a getTextSelector to the PluggableTextMorph
> which is never triggered.
>    Another solution could be to drop the auto updating behaviour.
>
> Balázs
>
>