On 12.05.2011 16:10, Tudor Girba wrote:
Thanks, Fabrizio.
I noticed a similar problem with highlighting Java code, but I thought it was related to the grammar.
I CC-ed the Pharo mailing list.
Anyone knows why it would be a problem to highlight text with more than 4096 characters in a TextMorph?
Cheers, Doru Doru, I have NO idea what Morph GLMTabulator uses to display text, nor any desire of spending time trying to (maybe even succesfully) load Glamour. When posting snippets like that to the Core dev list, at least, PLEASE, either include a doit to load the components needed to reproduce the provided case, or reduce it to something which can be reproduced in core.
| string | string := ''.1 to: 1000 do: [:i | string := string, 'jjjjj j j j j j jjj j']. ((string asText addAttribute: TextColor red), ('jjjjj j j j j j jjj j' asText)) asMorph openInWorld Works just fine, for example. Cheers, Henry