[squeak-dev] Another oddity
marcel.taeumel at hpi.de
Fri Jun 12 15:39:11 UTC 2020
> 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...
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:.
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...
More information about the Squeak-dev