/// <summary> /// Loads the editing content from disk for source and target (if available). /// </summary> /// <param name="sourceFilePath"></param> /// <param name="targetPath"></param> /// <returns></returns> public bool LoadEditPage(string sourceFilePath, string targetPath) { mStringDiff.SourceFilePath = sourceFilePath; // The direct child of a project is a collection of target files mStringDiff.TargetFilePath = targetPath; if (System.IO.File.Exists(mStringDiff.TargetFilePath)) { StringDiff.LoadFiles(mStringDiff.SourceFilePath, mStringDiff.TargetFilePath); } else { StringDiff.LoadFilesWithNewTarget(mStringDiff.SourceFilePath, mStringDiff.TargetFilePath); } return(true); }