Quote:
Originally Posted by kovidgoyal
EDIT: In fact whatever editor component is used, I highly doubt we will rely on its regex engine, since there needs to be the ability to run regexes on all the files in the book and the regex engine for that must be the same as that used in the editor.
In fact the scintilla documentation even has a section on doing just that: http://www.scintilla.org/ScintillaDoc.html#Searching
|
Let me clarify. QScintilla basically needs you to hook a regular expression engine into the editor itself. Which is what that link says you need to do. Last time I looked at how you need to hook in an alternative regex engine it was non-trivial. The "highlighting matched text and scrolling to the highlights " part is which is the easy way to handle adding regex support is even more difficult to do.