Hello,
we have a TRichView in which I search for certain strings using the SearchText-method. Afterwards I replace the found string by some other string.
This works fine as long as the string I am looking for does not contain a linebreak.
For example I want to search for 'ooo' + #13#10 + 'ooo' in following richtext:
AAAooo
oooAAA
I cannot figure out to use SearchText in order to find this string. rvsroMultiItem is already included in SearchOptions, I also tested things like searching for 'ooo\nooo' or simply 'oooooo'.
I guess this whole thing has to do with the fact that text is organized in paragraphs/items.
Is there actually a way to search for (and replace) strings that include a linebreak/span through several paragraphs?
Searching for strings containing a linebreak using SearchText
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Searching for strings containing a linebreak using SearchText
Sorry, it is not supported yet.