Aggro: > The feature request is few years old, but I was not able to find and > replace line changes with Scite so I assume this isn't yet fixed in > Scintilla? ( I searched for \n and used regular expression flag and got > no results. ).
Yes, this has not been fixed in Scintilla. > I noticed that currently the search seems to work by searching line by > line, instead of whole buffer from start to end. Is there a good reason > for this, or did I misunderstand the code? The regex code is very simple and was chosen based on licensing considerations rather than features. IIRC, the RESearch::Execute method can only search a single line and the calling code in Document::FindText works around that. > Bottom line is, if I would > like to add support for multiline searches, is the task perhaps too big > for a person who is not familiar with Scintilla code (but knows C++) or > is there some internal thing or general problem that is not allowing > people to fix it? It is easy to overlook a case and cause hangs in searching code so any changes will need to be simple and thoroughly tested. I now regard including regular expression support in Scintilla as a mistake and encourage projects to implement their own version using an established RE library. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
