
I was hoping to be able to bind my SyntaxEditor to a EditorDocument defined in a View Model - e.g.
<editor:SyntaxEditor x:Name="Editor"
Grid.Column="1"
WordWrapMode="Word"
AreWordWrapGlyphsVisible="True"
IsLineNumberMarginVisible="True"
IsCurrentLineHighlightingEnabled="True"
Document="{Binding Doc}" >
However in both design and run time I get a null referance exception. I looked through the docs and samples and couldn't find any binding of this type... is this unsupported?