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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login