Goto first char
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
To the very first char:
To the first char of the current paragraph:
To the beginning of the specified paragraph:
http://www.trichview.com/forums/viewtopic.php?t=7
Code: Select all
rve.SetSelectionBounds(0, rve.GetOffsBeforeItem(0), 0, rve.GetOffsBeforeItem(0));
Code: Select all
i := rve.CurItemNo;
while not rve.IsParaStart(i) do
dec(i);
rve.SetSelectionBounds(i, rve.GetOffsBeforeItem(i), 0, rve.GetOffsBeforeItem(i));
http://www.trichview.com/forums/viewtopic.php?t=7