I am using AvalonEdit in a Microsoft Surface application. Since contacts are handled a little differently than in a regular WPF application, I want to programmatically select a code selection.
When choosing a code, I mean this part of the code that changes the background if the user selects it with the mouse.
Now I am a DocumentLine or VisualLine where the selection should begin and where it should end. But how can I make this choice?
anon
source share