Posted 19 years ago
by Jason Tobiasz
![Avatar](https://secure.gravatar.com/avatar/dc639ba6be1d0494792da6b56ff50154.jpg?s=64&d=identicon&r=g)
How do I change the Caret position based on the cursor position?
[Modified at 06/09/2006 02:03 PM]
[Modified at 06/09/2006 02:03 PM]
editor.Caret.Offset = editor.SelectedView.OffsetFromLocation(editor.PointToClient(Control.MousePosition), LocationToOffsetAlgorithm.BestFit);
Please log in to a validated account to post comments.