[Cuis-dev] [BUG] Do it + undefined variables + object inspectors

Juan Vuletich JuanVuletich at zoho.com
Wed Jan 5 06:56:50 PST 2022


Hi Folks,

When I first read Nico's report I thought "yeah... minor bug, hard to 
fix, meh".

Hernán, with your fix I played in an inspector for a couple of seconds, 
and got it!

Not only now I don't need to declare temps used in workspace doIts. The 
BIG difference is that (like workspace variables) these now hold their 
value across evaluations. It gives an amazing new level of power to the 
inspector!

Before, I'd open a Workspace and copy from Inspector to Clipboard and 
paste into the Workspace in order to be able to use my object. Now I can 
just do everything in the Inspector without worrying about moving 
objects around.

This is a big enhancement for Inspectors! Now at GitHub.

Thanks,

On 1/4/2022 6:14 PM, Hernan Wilkinson via Cuis-dev wrote:
> Your wish is my command :-) You wanted the Inspector script area to 
> behave as workspace, the attached .cs does it :-)
> I think that it makes sense what you suggested.
>
> @Juan Vuletich <mailto:juan at jvuletich.org> In PluggableTextModel I 
> implemented #bindingOf: forwarding it to textProvider. I checked with 
> livetyping that this should not change the current behavior but when 
> the textProvider is an Inspector.
>
> Please try it a bit to see if I did not inject a bug (I think I did not).
>
> Cheers!
> Hernan.
>
> On Mon, Jan 3, 2022 at 5:35 PM Nicolás Papagna Maldonado via Cuis-dev 
> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>     Aloha folks!
>
>     Looks like I've been doing it a lot lately because I've found
>     another issue with Do it invocations.
>
>     This time, in the context of object inspectors.
>     See details here: Cannot invoke Do it on an object inspector with
>     an expression containing undefined variables
>     <https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/221>
>
>     Cheers,
>     Nico PM
>     -- 
>     Cuis-dev mailing list
>     Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>     https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
> -- 
> <https://10pines.com/>
>
>
>   Hernán Wilkinson
>
>
>     Software Developer & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220105/df7dc95d/attachment-0001.htm>


More information about the Cuis-dev mailing list