Hi,

Strings are supposed to be immutable, and that is why we do not support editing 
by default :).

If you would want to provide editing tools for a String, you would need to 
create a new inspector extension. This would probably be a bit cumbersome 
because you would probably have to work with basic things like String>>at:put:.

A different way would be to not work with Strings directly, but with some 
wrapper objects that hold those strings. In this case, it would be easy to 
replace the wrapped string every time the editor changes.

Cheers,
Doru


> On Dec 19, 2015, at 11:53 AM, H. Hirzel <hannes.hir...@gmail.com> wrote:
> 
> Hello
> 
> I am inspecting a collection of strings in Pharo 5.
> 
> I wonder how I get at an edit pane to modify a particular string?
> 
> Thank you for the answer in advance
> 
> --Hannes
> 

--
www.tudorgirba.com
www.feenk.com 

“Live like you mean it."


Reply via email to