Comment #2 on issue 1011 by usman.bh...(a)gmail.com: Rubric presentation does
not display text attribtues
http://code.google.com/p/moose-technology/issues/detail?id=1011
I had a detailed look. For me, the implementation logic in glamour is
correct but the problem comes from how input text attributes are
interpreted inside Rubric. RubricScrolledMorph has a textArea
(RubAbstractTextArea) and this textArea has an editor (RubTextEditor). The
editor has two modes, RubPlainTextMode and RubSmalltalkCodeMode. Now,
somehow Rubric correctly shows the attributes of the text in SmalltalkCode,
which shows Pharo code highlighted with a decorator (ShoutStyler). But it
applies default text color of the textArea in the plain mode. I had to stop
drilling at this point because 1/ debugging morphs is not easy with
announcements and redrawing, 2/Rubric is big.
It will be good that in the plain text mode, it shows the user provided
text its attributes/highlighting. My guess is there is something to do with
the decorators. Alain will have a look.
We can keep this issue opened here on the moose list because AFAIK Rubric
is primarily used in Glamour.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings