I'm using the syntax editor control in tabbed documents. I keep the views (the syntaxeditor controls) in memory, however not in the visual tree, when switching between tabs. (I have a ContentControl in the DataTemplate of the Tabbed Document, and I set the ContentControl's Content to the actual view.)
My problem is when I switch between tabs, line modification marks disappear in the syntax editors.
Is there a way to prevent this behavior?