On Tuesday, June 26, 2012 3:23:39 AM UTC+2, Neil Hodgson wrote:
This is a change in the core drawing code so please report any regressions.
Further testing has revealed several issues:
- You completely forgot to update code that triggers screen redrawing, which leads to artifacts inside text margin when deleting characters that overlap it for example.
- There is one more conditional check that needs to be updated in Paint() method in order to prevent flickering inside text margin.
Besides this, testing block caret drawing has uncovered another issue when using Direct2D. Due to missing clipped text drawing, block caret (and text blobs) can be drawn incorrectly in certain cases. Clipped text drawing under Direct2D is implemented by this patch:
http://pastebin.com/ckbBXNDh