Something similar to what you might see if you printed out something with the "DRAFT" watermark but actually centered in the editor on screen?
I tried inheriting from the renderer and overrode DrawTextAreaBackground, but it didn't work properly. I could draw on the editor, but once I scrolled the editor the drawing broke up completly and was unrecognizable.
I'd like to draw some text over the top of the text, and I'd like it positioned with respect to control - it shouldn't scroll with the text.
Hmm.. it may be due to the way the WinForms editor does double buffering (and scrolling of the double buffer for best performance) that could be causing this. I'm not sure of a way around that unfortunately other than if you make a separate control that sits above the SyntaxEditor in layout.
Please log in to a validated account to post comments.