I would like to print editor's content without the syntax hightlighting by setting IsSyntaxHighlightingEnabled to false. It works out fine except for the squiggle lines. The squiggle lines are all printed in red. I would like to hide the squiggle lines during printing.
I did it by unregistering the squiggle tagger service. After printing, I register it back. The end result is good, but I can observe the disappearance of squiggle lines in the editor during printing.
I've tried to change the style in the registry for squiggle, but it seems it has no effect. The squiggle display is default to red.
Is there a better to achieve this? If we can do it in the print setting, it'll be better.
[Modified 6 years ago]