Hi Steven,
This is a very needed changeset, thank you!!!
I tried it in a 3.1a image @ update 4081; however the FillInTheBlankMorph doesn't work anymore :(
Cheers,
Russell
sps2000@mail.com wrote:
This change set adds a preference called ""mouseClickFocusPolicy"" in the morphic tab of the preferences window. If unchecked, behavior is identical to the standard focus policy -- the pane that the mouse is over gets keyboard focus. If checked, the user must explicitly click in a pane to set the focus on that pane -- the location of the mouse does not effect where the keyboard focus goes.
I have been using this focus policy for awhile now, and it''s solid -- for me. There are bound to be little snags, which I will try to fix as they are reported.
---------------------------------------- Russell Allen
russell.allen@firebirdmedia.com
----------------------------------------
Russel,
The walkback you saw stems from a call to a method which was not introduced until after update 4081, PluggableTextMorph>>selectAll. I should mention the required update number in the future.
To fix it, you can either comment out the call to selectAll that I make from FillInTheBlankMorph>>getUserResponse, or add the method "selectAll" to PluggableTextMorph (it's a one-liner, shown below).
Thanks for the feedback. Let me know if you have any more problems or suggestions for the click-to-focus focus style.
Steve.
=== PluggableTextMorph>>selectAll === selectAll textMorph editor selectAll. ===================================== Russell Allen wrote:
Hi Steven,
This is a very needed changeset, thank you!!!
I tried it in a 3.1a image @ update 4081; however the FillInTheBlankMorph doesn't work anymore :(
Cheers,
Russell
sps2000@mail.com wrote:
This change set adds a preference called ""mouseClickFocusPolicy"" in the morphic tab of the preferences window. If unchecked, behavior is identical to the standard focus policy -- the pane that the mouse is over gets keyboard focus. If checked, the user must explicitly click in a pane to set the focus on that pane -- the location of the mouse does not effect where the keyboard focus goes.
I have been using this focus policy for awhile now, and it''s solid -- for me. There are bound to be little snags, which I will try to fix as they are reported.
Russell Allen
russell.allen@firebirdmedia.com
squeak-dev@lists.squeakfoundation.org