[Lazarus] TFileDescPascalUnit - How to save closed units?
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Aug 1 22:55:35 CEST 2012
On Mon, 30 Jul 2012 21:42:58 -0300
silvioprog <silvioprog at gmail.com> 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
More information about the Lazarus
mailing list