[Lazarus] Synedit and search/replace

2012-02-25 Thread Mark Morgan Lloyd
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

Re: [Lazarus] Synedit and search/replace

2012-02-25 Thread Martin
On 25/02/2012 16:48, Mark Morgan Lloyd wrote: 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

Re: [Lazarus] Synedit and search/replace

2012-02-25 Thread Mark Morgan Lloyd
Martin wrote: On 25/02/2012 16:48, Mark Morgan Lloyd wrote: 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

Re: [Lazarus] Synedit and search/replace

2012-02-25 Thread Mark Morgan Lloyd
Martin wrote: On 25/02/2012 18:40, Mark Morgan Lloyd wrote: Martin wrote: On 25/02/2012 16:48, Mark Morgan Lloyd wrote: 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: