On Wed, 25 Jan 2017 14:23:09 +0000 Graeme Geldenhuys via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> On 2017-01-25 14:15, Mattias Gaertner via Lazarus wrote: > > on the current source editor and uses ReplaceLines, so it keeps all > > marks and adds one undo step. Nice. > > That is much better indeed. So a 'before save' would then be the useful one. I added the event. uses LazIDEIntf LazarusIDE.AddHandlerOnSaveEditorFile(@YourEvent); Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus