Text highlighting with Rubric

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Text highlighting with Rubric

Usman Bhatti
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

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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Text highlighting with Rubric

Sven Van Caekenberghe-2

> On 18 Jun 2015, at 19:14, Usman Bhatti <[hidden email]> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev