How do I place the cursor on a defined position?
Posted: Sat Nov 11, 2006 7:02 pm
Hi,
with "RichViewEdit.GetCurrentLineCol(l,c)" safe I me the position of the cursor.
After calls from "RichViewEdit.Format" the cursor is on top.
After the "RichViewEdit.Format" command, the cursor should at the before saved position back.
So similarly:
How do I place the cursor on a defined position?
Surely quite simply...
Crowbar
with "RichViewEdit.GetCurrentLineCol(l,c)" safe I me the position of the cursor.
After calls from "RichViewEdit.Format" the cursor is on top.
After the "RichViewEdit.Format" command, the cursor should at the before saved position back.
So similarly:
Code: Select all
...
RichViewEdit.GetCurrentLineCol(l,c);
RichViewEdit.Format;
RichViewEdit.SetCurrentLineCol(l,c); // <- ???
...
Surely quite simply...
Crowbar