On Thu, 23 Feb 2017 00:40:13 +0000 Graeme Geldenhuys via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> On 2017-01-27 14:37, Mattias Gaertner via Lazarus wrote: >[...] > > LazarusIDE.AddHandlerOnSaveEditorFile(@YourEvent); > > > A bit late, but thank you for adding that functionality. I've now > managed to create my IDE add-on and it works. > > But I noticed that with every save (Ctrl+S), the YourEvent gets called > twice? Any idea why that is, and if it was by design or a bug? Check parameter SaveStep. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus