That's me the solution provided doesn't work very well either. I would need to spend time on the code used to highlight the selection and reuse it for highlights, but I was on a tight schedule for a demo so I decided to use the selection instead (and gave up for now on refactoring that code with something that clearly knows how to bounds a subset of the text). I'll postpone it for now. If 3.0 gets a new text editor, then that code will be different. Thierry Le 27/11/2013 09:58, Marcus Denker a écrit :
12241 text highlighting incorrect https://pharo.fogbugz.com/f/cases/12241
What needs to be done?
-> does it fix the bug? -> Is the fix plausibly ok? -> Is this a problem in Pharo3, too? If yes â> add issue for back porting, -> make slice for 3
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95