- 
    Task 
- 
    Resolution: Done
- 
    P2: Important 
- 
    6.0
- 
    None
- 
        
- 
        174154bcac2780cb704011662f2e9c1233fec933 (qt/qtbase/dev)
QTextLayout::draw() has a "selection" parameter which is documented to be "reserved for internal use". This is not nice, and I am sure there is a different way of passing this information, if not else, then by making a private overload to draw() which can be called both by its public overload and by QTextLayout.