2012/8/1 Mattias Gaertner <[email protected]>: > On Mon, 30 Jul 2012 21:42:58 -0300 > silvioprog <[email protected]> wrote: > >> Hi, >> >> Attached my package. It don't save the unit "plugin.pas". I click in >> "Save All", but IDE call only "cgi1.lpi" and "hello.pas" to save in >> file. >> >> So, you can only save one unit if it is open in the code editor? > > Yes. > You can save other source files yourself: > > Code:=CodeToolBoss.FindFile(Filename); > if (Code<>nil) and (not Code.Save) then > error... > > Mattias
Great idea! I'll ask if user want to save all files before close the project. :) Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
