[Pharo-project] syntax highlighting for (stateful) traits (non-local methods)

Alexandre Bergel alexandre.bergel at me.com
Sun Apr 3 14:09:34 CEST 2011

> So now I could apply syntax coloring in the context of the trait rather than the class.

Do you mean coloring message sends in a trait's method? For self call that is not specified in the requirement?

> Since in my implementation state is all private to the trait / class, they should be able to access their own state but not see the state of the other class. This obviously also means that coloring should happen in the correct scope, rather than always in the scope of the class.

Can you merge state? What happens with C.x uses T.x ? Methods of T will use T.x and methods of C will use C.x?


Alexandre Bergel  http://www.bergel.eu

More information about the Pharo-project mailing list