SearchTextW & GetSelectionBounds
Posted: Tue Mar 30, 2021 9:42 pm
I use RichViewEditClean.SearchTextW('<bkm>', [rvseoMatchCase, rvseoDown, rvseoMultiItem]) = False
to locate tags (there are different variations, but we will use <bkm> for now.)
once that tag is found I use
RichViewEditClean.GetSelectionBounds(rsiNo, rsiOffs, reiNo, reiOffs, TRUE);
to store its location.
All of this works quite well until. A tag is found in a table. (SearchTextW works well with the table.)
How can I store its location so I can retrieve it to work with it?
Is it how I am using GetSelectionBounds ?
to locate tags (there are different variations, but we will use <bkm> for now.)
once that tag is found I use
RichViewEditClean.GetSelectionBounds(rsiNo, rsiOffs, reiNo, reiOffs, TRUE);
to store its location.
All of this works quite well until. A tag is found in a table. (SearchTextW works well with the table.)
How can I store its location so I can retrieve it to work with it?
Is it how I am using GetSelectionBounds ?