[squeak-dev] The Inbox: Morphic-kfr.722.mcz

Javier Diaz-Reinoso javier_diaz_r at mac.com
Wed Jun 25 00:27:47 UTC 2014


On 24/06/2014, at 01:19, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:

> Well, I think it basically is a good idea to respect that preference
> "mouseOverForKeyboardFocus". However, you cannot simply access this
> preference in ScrollPane>>handlesMouseOver: because scroll panes may handle
> mouse over in other cases than keyboard focus change. In
> PluggableListMorph>>mouseUp:, this seems to be more appropriate because here
> you have the code that can actually set the keyboard focus.
> 
> Please, adapt your modification and check for the preference in, e.g.,
> PluggableListMorph>>mouseUp:. #mouseEnter: should grab the keyboard if this
> preference is true. #mouseUp: could ensure it if that preference is false.
> 
> Best,
> Marcel

What about this modification of PluggableTextMorph>>mouseEnter: ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PluggableTextMorph-mouseEnter.st.gz
Type: application/x-gzip
Size: 299 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140624/e0c1bebe/PluggableTextMorph-mouseEnter.st.bin


More information about the Squeak-dev mailing list