On Apr 15, 2008, at 12:52, "Raul Miller" <[EMAIL PROTECTED]> wrote:

On 4/15/08, Chris Burke <[EMAIL PROTECTED]> wrote:
The last problem is a rather unfortunate behaviour of Find. When a
search is done, the found text is highlighted. In order to preserve the
highlight, the script window is set in focus - otherwise, if the Find
dialog were in focus, the highlight would disappear. Now with the script
window in focus, pressing Esc will close the script window. There is no
obvious remedy with the current system, but I hope to fix this sometime.

To me the obvious remedy is would be to make the "Esc handler"
be "smart" -- if the user has a find dialog up for that window, it should
close that dialog instead of whatever else it would normally do.

This makes the code somewhat non-modular, but I think that this
is a direct consequence of this design.


I don't see a design problem here.
Finder dialog is a singleton.
It's already invoked from Script window handler. So dismissing it hence fits 
the pattern.




      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to