On 18 Jun 2015, at 19:14, Usman Bhatti
<usman.bhatti(a)gmail.com> wrote:
Hello,
On Pharo 4.0, Rubric text highlighting does not seem to work well. In the following
example, all the text (blue color is added to the first two only). I check it with
Rubric-FranckWarlouzet.217.
RubEditingArea new
beWrapped;
width: 400;
updateTextWith: (('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer
nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh
elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue
semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti
sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. ') asText
addAttribute: TextColor blue from: 1 to: 2); openInWorld
Just slightly off-topic: you can say 'String loremIpsum' or 'String
loremIpsum: 512' to get dummy text in Pharo.
In the repo, some fixes are proposed for text
attributes but they do not seem to correct this problem. Is this a known issue?
usman
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev