Hello,
I followed the Getting Started tutorial here to create bold/italic/underline formatting toggle buttons for a WPF application: http://www.telerik.com/help/wpf/radrichtextbox-getting-started.html
And they work, however there is a bug.
If you have no text entered into the RichTextbox and click one of the buttons, it doesn't get highlighted. The text gets the correct formatting, however the button doesn't toggle.
If you click in the middle of the text the buttons highlight correctly, it just seems to happen when the caret is at the end of the line (and outside a span maybe?).
I'm not sure how to solve this.
Thanks.
I followed the Getting Started tutorial here to create bold/italic/underline formatting toggle buttons for a WPF application: http://www.telerik.com/help/wpf/radrichtextbox-getting-started.html
And they work, however there is a bug.
If you have no text entered into the RichTextbox and click one of the buttons, it doesn't get highlighted. The text gets the correct formatting, however the button doesn't toggle.
If you click in the middle of the text the buttons highlight correctly, it just seems to happen when the caret is at the end of the line (and outside a span maybe?).
I'm not sure how to solve this.
Thanks.