|
-
February 24th, 2003, 06:23 PM
#1
Problem with RichTextBox
I'm writing a text editor using RTB (RichTextBox), and I would like to display the line and the offset of the caret on the status bar.
I can grab the line number using
RTB.GetLineFromCharIndex(RTB.SelectedIndex);
but I can't find how to find the offset in the line.
Any has a solution?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|