Which searchFlag will help me?
-
Hi,
I am making a plugin that tries to search for every “<” in a text file and place a new line before it. The problem is that the “<” may be inside of a word or between 2 words. Which searchFlag will help me to specify that I want to do this to all “<”? Here’s an example of what I am working with.
Thanks
-
the searchFlags tell scintilla only how your search_string needs to be interpreted but don’t, magically, find the positions.
I find the description quite understandable where is your problem here? -
@Ekopalypse I just want to make sure I get the right one
-
Again, there is no wrong or right without knowing what you are trying to achieve and how.
I know you want to find every occurrence of something, but how do you code it? I mean, if you want to use a regular expression, then you have to use SCFIND_REGEXP, but if you want to search only literally, then you should consider SCFIND_NONE …
Hard to tell which one is the right one. -
find
<
and replace it with\r\n<
by regex