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. > An 'after save' could be added, but that would mean save, execute jcf, > load - loosing the undo stack and possibly moving marks. No, no, it seems that would not be needed after all. Many thanks for looking at the code to actually see what jcf does. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus