go to character, sync 2 richviewedit
Posted: Wed Jun 03, 2009 11:58 pm
Hello friends,
I have the folowing scenario:
My program wants to be a simple debugger for serial data. I receive some data, most of them strings and display with nice colours in edit1. The same data I load also in edit2 but converted in hex digits.
Now the lines of edit1 and edit2 are not exact the same because I use edit1 also as system info, for display some button states on change, or some program parameters.
The problem is I need when I put cursor in edit1 (the text one) I want to select the corresponding hex (2 chars) in edit2 and viceversa.
I noticed goto(line,col) is missing and I quite understand why by reading some old posts in this forum.
I tried with AddCheckpoint but no success so far. Someone can give me a hint for my project or I miss something?
Thanks very much in advance,
I have the folowing scenario:
My program wants to be a simple debugger for serial data. I receive some data, most of them strings and display with nice colours in edit1. The same data I load also in edit2 but converted in hex digits.
Now the lines of edit1 and edit2 are not exact the same because I use edit1 also as system info, for display some button states on change, or some program parameters.
The problem is I need when I put cursor in edit1 (the text one) I want to select the corresponding hex (2 chars) in edit2 and viceversa.
I noticed goto(line,col) is missing and I quite understand why by reading some old posts in this forum.
I tried with AddCheckpoint but no success so far. Someone can give me a hint for my project or I miss something?
Thanks very much in advance,