
Hello, I'm currently facing an issue to bind my Editor in my viewmodel. I made a property "public SyntaxEditor Editor" that i want to bind in my XAML, but it doesn't seem to let me do that. I'm already bound on the Document and Text attributes, but i wanted to put some text readonly and it looks like i cannot select text/range from the document element. So here's my questions :
1. Is there a way to bind a SyntaxEditor from a viewmodel to the editor:SyntaxEditor element in my xaml?
2. Is there a way to select a certain range of text from the EditorDocument instead of the Editor?
Thank you :)