Method SetFileNameAndProject
SetFileNameAndProject(IScriptEdit, string, string)
Updates name of the file and project and reparses editor's text.
public static void SetFileNameAndProject(this IScriptEdit edit, string fileName, string projectName)
Parameters
editIScriptEditIScriptEdit that contains source code to process.
fileNamestringNew file name.
projectNamestringOptional project name.