TIDEEngine.SyncFilesFromScripts Method
Synchronizes the project file list with the scripts currently held by the associated scripter component.
Remarks
SyncFilesFromScripts method is a way to programatically create a script project in the engine given the current scripts in the scripter component specified in the Scripter property. This method removes any file in the project that has no script associated in the Scripter. A new file is created for any script in scripter component that doesn't have an associated file in the project. You will use this method mostly for backward compatibility, if you want to create a project from source code, it is better to use NewUnit or NewFormUnit methods instead of creating the scripts in the scripter component and then call SyncFilesFromScripts.
Syntax
Unit: IDEMain
procedure TIDEEngine.SyncFilesFromScripts;