I'm sure this has been asked before, but I cannot find a good way to swap the color highlighting when printing in dark theme.
I would like to be able to Clone the initial state of AmbientHighlightingStyleRegistry before the dark theme is applied, and swap the state before and after printing.
My workaround is to just set...
mySyntaxEditor.PrintSettings.HighlightingStyleRegistry = new HighlightingStyleRegistry();
...but obviously this then removes the syntax colors for the specified lanugauge.