[Cuis-dev] Fix for nil cursor
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Thu Sep 19 07:54:37 PDT 2019
On 2019-09-18 17:31, Phil B wrote:
..
> How about we do the attached instead to try to eliminate all cases of
> nil being returned? ...
Perhaps more simple to do directly:
Cursor>>
cursorAt: cursorKey
^(CursorDict at: cursorKey
ifAbsent: [ self defaultCursor ])
$0.02,
-KenD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3879-Cursor-missing-use-default-PhilBellalouna-2019Sep18-20h14m-pb.1.cs.st
Type: application/octet-stream
Size: 630 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190919/02a9e4df/attachment.obj>
More information about the Cuis-dev
mailing list