Thanks for pointing me to that, I will check it out! Erik
On Mon, Jan 19, 2015 at 11:54 PM, Alexander Svyazin [via Smalltalk] < ml-node+s1294792n4800570...@n4.nabble.com> wrote: > There is a working example of text coloring in my toy MUD client > http://smalltalkhub.com/#!/~AlexanderSvyazin/MudTalk. It actually has > support of ANSI escape sequences (only colors yet) :) For now it uses plain > Morph, not Spec, AFAIR Spec text model was not flexible enough for my needs > and it was too hard to extend for me (but I don't remember the details). > > This client should work in last release version of Pharo and last > development version too (I use development version), just load > ConfigurationOfMudTalk and run 'ConfigurationOfMudTalk loadDevelopment'. It > is slightly structured pile of code but it's a toy and educational project > so I'm trying to use *everything* that I see. > > On Tue, Jan 20, 2015 at 3:51 AM, ErikStayton <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4800570&i=0>> wrote: > >> Hi Stef, I don't have a good minimal example to hand, but my UI is just a >> simple Spec model with two widgets, the aforementioned TextModel and a >> TextInputFieldModel that I use to actually take user commands. >> >> I am not wedded to Spec, if it doesn't handle colors well. If it is a >> long-shot to get it working I will pick something else. Would it be better >> to go for a straight Morph setup? Is that what the system browser uses to >> get its syntax highlighting/colors? >> >> I can put together a minimal example so people can play with Spec and see >> if >> it works, but if I'm better off dropping Spec I can jump straight to that. >> Thoughts? >> >> Thanks again, >> Erik >> >> >> >> -- >> View this message in context: >> http://forum.world.st/Best-approach-to-multiple-text-colors-in-Spec-tp4800245p4800541.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >> >> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://forum.world.st/Best-approach-to-multiple-text-colors-in-Spec-tp4800245p4800570.html > To unsubscribe from Best approach to multiple text colors in Spec, click > here > <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4800245&code=ZXJpa3N0YXl0b25AZ21haWwuY29tfDQ4MDAyNDV8MjExOTEyNzIwMA==> > . > NAML > <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.world.st/Best-approach-to-multiple-text-colors-in-Spec-tp4800245p4800648.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.