[Cuis-dev] #submorphBehind: fails

Phil B pbpublist at gmail.com
Mon Sep 23 19:52:50 PDT 2019


I've run into a situation a few times where was I getting an unexpected
Morphic-related error. (i.e. when it was trying to find a morph to give
keyboard focus when opening a new morph)  The issue is that
#submorphBehind: sends #after: which fails because there is no element
found.  So just I have #submorphBehind: return nil on error (attached).
It's  running great after 30 seconds of intensive testing ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190923/6fc80f4f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3884-no-submorphBehind-PhilBellalouna-2019Sep23-22h34m-pb.1.cs.st
Type: application/octet-stream
Size: 244 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190923/6fc80f4f/attachment.obj>


More information about the Cuis-dev mailing list