
Hi, in your SDI sample, you set the renderer but then must also set the BackColor to be the same as the selected theme...
// Configure the editor with the per-instance renderer
editor.Renderer = renderer;
// Update colors on this control to be consistent with the color scheme
//
// The color properties for SyntaxEditor.BackColor and SyntaxEditor.ForeColor
// are only used when the corresponding color properties of the "Plain Text" highlighting
// style are undefined (which is the default).
var colorScheme = renderer.ColorScheme;
editorPanel.BackColor = colorScheme.GetKnownColor(KnownColor.Control);
editor.BackColor = colorScheme.GetKnownColor(KnownColor.Window);
editor.ForeColor = colorScheme.GetKnownColor(KnownColor.WindowText);
This seems wrong as the BackColor of the renderer should surely be applied automatically?
[Modified 10 months ago]