Community
Participate
Working Groups
Currently StyledText draws the text selection trim by using GC#fillRectangle (int, int, int, int). This limits how the selection is drawn in many ways: - it is always drawn before or after the text - it is always a rectangle - it is always a solid color In some platforms this can cause the selection in StyledText to differ from the native behaviour: In Mac, the text selection can have trapezoid form In WPF, the text selection is drawn using alpha transparency We suggested to fix this by moving all the text selection drawing down to TextLayout.
We need to add API to TextLayout to allow us to draw the text selection correctly on Vista, then call that API from StyledText.
fixed in head > 20070329
Steve, I assume this has your PMC +1 for API added after the API freeze.
Yes, it was approved on the pmc list by someone other than me.