I fixed for now the part with acceptsContents:
This should work when the issue is integrated
UIManager default
edit: 'jlklkjk'
label: 'lkjlkjjkl'.
On Wed, Oct 1, 2014 at 9:50 AM, Tudor Girba <[email protected]> wrote:
> Exactly.
>
> I created an entry for this:
>
> https://pharo.fogbugz.com/f/cases/14133/UIManager-should-not-overuse-the-workspace-for-editing
>
> Cheers,
> Doru
>
>
> On Wed, Oct 1, 2014 at 9:20 AM, Marcus Denker <[email protected]>
> wrote:
>
>>
>> On 30 Sep 2014, at 20:41, stepharo <[email protected]> wrote:
>>
>> > edit: aText label: labelString accept: anAction
>> > "Open an editor on the given string/text"
>> >
>> > ^(Smalltalk tools workspace openLabel: labelString)
>> > acceptContents: aText;
>> > acceptAction: anAction;
>> > yourself.
>> >
>> >
>>
>>
>> Yes, we are abusing the workspace for an editor, this is not good.
>>
>> We should have an editor that is an editor, not a workspace.
>>
>> > -> DNU
>> >
>> > UIManager default
>> > edit: 'jlklkjk'
>> > label: 'lkjlkjjkl'
>> >
>>
>>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>