And here is the code if you want to insert/select something at any caret position. Had to use AnchorToCurrentBoxIndex, because startA for some reason "moves" with caret if caret is on the end of the word, so nothing is selected. I wish there was some resource that I could read/watch, so that I don't spend a few hours for every extra bit of functionality.
var editor = newRadDocumentEditor(radRichTextEditor1.Document);
var startA = newTelerik.WinForms.Documents.DocumentPosition(editor.Document.CaretPosition);
I am happy to hear that you managed to achieve the desired behavior. I completely agree that the API and documentation on the topic should be improved and we are currently working on the task, so you can expect updates in the next releases.
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.