2016-03-21 21:45 GMT+01:00 Yuriy Tymchuk <[email protected]>:
> You made my day. Thank you. Now I have a minimal working example to
> experiment with.
>
> Uko
>
And if you want to have an editor with styling for method definitions, you
need to set the behavior (classOrMetaclass)
area := RubEditingArea new.
area
backgroundColor: Color lightGray;
textColor: Color white;
beNotWrapped;
beForSmalltalkCode;
width: 400;
withDecoratorNamed: #shoutStyler.
area shoutStyler styler: RubSHTextStylerST80 new.
area shoutStyler classOrMetaClass: UndefinedObject.
area updateTextWith: 'method: sth ^ 1'.
area openInWorld
>
> On 21 Mar 2016, at 20:46, Henrik Nergaard <[email protected]> wrote:
>
> '| area | area := RubEditingArea new.
>
>
>