let me explain, what I'm going to do:
My RVEdit will load any RichText files with or w/o tables. Each document contains macro names like "{$name}", which will be replaced by the program with certain strings. So far so good.
Now, it's necessary to determin, if a specific macro name is inside a table cell or not. If it is inside a table cell, the whole table row should be duplicated instead of only relpacing the macro name with a text string.
So - How can I implement this feature? There are the following things to do for me (as far as I think):
1) Determin, if a text item (or the current selection or the caret) is inside a table cell.
2) Select and copy the whole row, this determinde cell belongs to
3) Inserting the copied row after this row.
Can anybody help me? Especially how to realize 1)
Thank you for any hints!
![Wink :wink:](./images/smilies/icon_wink.gif)