[squeak-dev] Displaying Strings and Texts in workspaces.

H. Hirzel hannes.hirzel at gmail.com
Sat Jan 27 17:56:56 UTC 2018


+1 for

    'Hello, World!' editWithLabel: aString

On 1/25/18, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> Hi Eliot,
>
> well, do it. ;-) If you need it that often... :-)
>
> Best,
> Marcel
> Am 25.01.2018 16:09:01 schrieb Eliot Miranda <eliot.miranda at gmail.com>:
> Hi Marcel,
>
>
>
> On Jan 24, 2018, at 11:36 PM, Marcel Taeumel <marcel.taeumel at hpi.de
> [mailto:marcel.taeumel at hpi.de]> wrote:
>
>
> Hi Eliot, hi all --
>
> For this scenario, we should use the UI-Manager-Tool-Abstraction. :-) It is
> "UIManager default edit: 'foo' label: 'bar'". Works for Strings and Texts.
>
> Hi restored the missing #openInWorkspaceWithTitle: as deprecated and added
> #edit to String and Text:
>
> http://forum.world.st/The-Trunk-60Deprecated-mt-9-mcz-tp5064321.html
> [http://forum.world.st/The-Trunk-60Deprecated-mt-9-mcz-tp5064321.html]
> http://forum.world.st/The-Trunk-ToolBuilder-Kernel-mt-119-mcz-tp5064323.html
> [http://forum.world.st/The-Trunk-ToolBuilder-Kernel-mt-119-mcz-tp5064323.html]
> http://forum.world.st/The-Trunk-GetText-mt-45-mcz-tp5064324.html
> [http://forum.world.st/The-Trunk-GetText-mt-45-mcz-tp5064324.html]
>
> Try:
>
> 'Hello, World!' edit.
> 'Hello, World!' asText addAttribute: TextEmphasis bold; edit.
>
> Will you be happy if I add editLabel: or editWithLabel: ?
>
> Best,
> Marcel
>
>
>
> Am 24.01.2018 23:18:02 schrieb Stéphane Rollandin <lecteur at zogotounga.net
> [mailto:lecteur at zogotounga.net]>:
>>> So should we have a class side method on StringHolder, openOn:label: for
>>> example, or put back the most convenient openInWorkspaceWithTitle?
>>
>> Why not both?
>
> +1
>
> Stef
>
>
>


More information about the Squeak-dev mailing list