GetSelection including inside tables
Posted: Tue Oct 27, 2020 11:14 pm
Greetings Sergey,
I am working through selected text going from start to end using a parser Costas built it detects some specific Bible references.
My trouble is that I need to also go inside of tables if the user chooses to do so. How would you recommend doing this?
Here is a small piece of the code I am using to get the selection so I can work through it.
I am working through selected text going from start to end using a parser Costas built it detects some specific Bible references.
My trouble is that I need to also go inside of tables if the user chooses to do so. How would you recommend doing this?
Here is a small piece of the code I am using to get the selection so I can work through it.
Code: Select all
GRichViewEdit.GetSelectionBounds(PsiNo, PsiOffs, PeiNo, PeiOffs, True); //Use true to return start and end in the right order so the Set is correct
GRichViewEdit.SetSelectionBounds(PsiNo, PsiOffs, PeiNo, PeiOffs);
RVGetSelection(GRichViewEdit, WStartInt, WLenInt, 2);