[squeak-dev] Another oddity

Marcel Taeumel marcel.taeumel at hpi.de
Fri Jun 12 15:39:11 UTC 2020


Hi Subbu.

> But shouldn't the left/right arrow keys be passed to the field editor?

They are automatically, because they are not filtered. Or do you mean when the list has the keyboard focus? Hmm.... but even if you could move the text cursor then, insert/delete does not happen at the cursor position.

Ha! You could track the cursor position in the model and then change the search term at the right position. :-) This is crazy...

Best,
Marcel
Am 12.06.2020 08:40:12 schrieb K K Subbu <kksubbu.ml at gmail.com>:
On 11/06/20 12:02 pm, Marcel Taeumel wrote:
> Yes, it was the simplest way to implement key-press response with sync
> between textfield and list-filter state. It occasionally bugs me too.
> See ListChooser >> #filterEvent:for: and the end of #buildWith:.
Marcel,

In filterEvent:for:, I see the up/down arrows being passed to listmorph.
But shouldn't the left/right arrow keys be passed to the field editor?

Regards .. Subbu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200612/89153764/attachment.html>


More information about the Squeak-dev mailing list