2015-04-17 15:58 GMT+02:00 <[hidden email]>: Marcel Taeumel uploaded a new version of Morphic to project The Trunk: In one image with Tweak loaded (http://squeaksource.com/TweakCore) this change had the effect loosing the ability to do it/print it/inspect it For example, typing one of most basic Smalltalk expression 3+4 -> a Text for '3+4' This is because the Scripting package installs Object>>evaluate: aBlock ^aBlock value What are these hooks usefull for? They do not seem in usage currently in the image. Nicolas (model respondsTo: #doItReceiver) |
Hi,
you're right. #evaluate: is too generic if the text editor knows that it actually is an expression. I updated it: http://forum.world.st/The-Trunk-Morphic-mt-953-mcz-td4823480.html I also added some tests for TextEditor that capture the usage of those hooks. There are other strange things in TextEditor (e.g. #browseItHere) that indicate that those and similar model callbacks where missing. One goal should be to make the interface of text editors tool-agnostic. Best, Marcel |
Thanks Marcel, that was fast! sometimes I wonder if the fix will not be in the trunk before i ever complain ;)2015-05-01 11:41 GMT+02:00 Marcel Taeumel <[hidden email]>: Hi, |
Free forum by Nabble | Edit this page |