[Lazarus] Synedit and search/replace

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat Feb 25 17:48:19 CET 2012


Is my understanding correct that in order to get Synedit's replace 
facility working, one has to write a custom OnReplaceText handler?

What does this in the source do:

CurReplace:=AReplace;
if ssoRegExpr in AOptions then
   CurReplace:=fTSearch.RegExprReplace;

Is there (partial) support for regex-based S&R, and if so how does one 
use it?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list