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
edit
IScriptEditIScriptEdit that contains source code to process.
fileName
stringNew file name.
projectName
stringOptional project name.