Issue 7332 in pharo: [ENH]: Combinable TextEmphasis

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

Issue 7332 in pharo: [ENH]: Combinable TextEmphasis

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Enh Milestone-3.0

New issue 7332 by [hidden email]: [ENH]: Combinable TextEmphasis
http://code.google.com/p/pharo/issues/detail?id=7332

Pharo2.0a
Latest update: #20491

Right now, to combine text emphases, you have to do something like:
   "TextEmphasis bold emphasisCode | TextEmphasis italic emphasisCode"

I'd like to say:
   "TextEmphasis bold italic emphasisCode"

The only problems with this are:
1. #narrow returns a TextKern, which is not a kind of TextEmphasis, so I'm  
not sure what to do about it
2. writeScanOn: apparently is a well-defined format for RunArrays (I'm not  
sure what those are exactly); if there is such a thing as compound  
TextEmphases, how would this effect that format?

Thoughts, comments...



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker