Hi Vasil,
Is there any way to work around this issue? Such as adjust the caret position in MouseLeftButtonDown.
Through the RadRichTextBox.ActiveEditorPresenter.GetDocumentPositionFromViewPoint(point), the correct document position can be captured. Is there anything can be done based on the correct DocumentPosition to put the caret in correct position or get the correct selection?
example:
Public Sub OnMouseLeftButtonDown( sender As Object, e As System.Windows.Input.MouseButtonEventArgs)
dim rtb= CType(sender, Telerik.Windows.Controls.RadRichTextBox)
dim currentPos as DocumentPosition = rtb.ActiveEditorPresenter.GetDocumentPositionFromViewPoint(e.GetPosition(rtb))
......
End
Thanks.
Best,
Tuo
ActiveEditorPresenter.GetDocumentPositionFromViewPoint