Wed Mar 15, 2017 1:05 pm
Hello Simon,
I have the same problem as LPCR, but I'm not sure I understand the reference code you posted. The question was for a TextSelection, but it looks like this code puts all the 'selected' tekst in a stringbuilder.
Is there a way to get all this in a TextSelection so I can delete or modify the whole selection? And is it not possible for the FindPattern results to span several lines or even pages (if not, are there any plans to support this in the future)?
Regex is able to return results spanning multiple lines, so I'd expect FindPattern to behave the same.
Regards,
Saskia Brand