GetFastViewDiffPath Method (Editor Object)¶
Retrieves the path of the diff file of Fast View mode for the specified file. strFile Specifies the path of the file. Returns the path of the diff file that stores the edits and the line positions of the file in Fast View mode. If no diff file is found for the file, returns the path where the Save Diff command would save the diff file, so the returned file might not exist. Diff files are saved in the FastView folder in the local application data folder of EmEditor. See To Open and Edit Huge Files in Fast View Mode for details. Supported on EmEditor Professional Version 26.4 or later.¶
[JavaScript]¶
strDiffPath = editor.GetFastViewDiffPath( strFile );
[VBScript]¶
strDiffPath = editor.GetFastViewDiffPath( strFile )
Parameters¶
Return Values¶
Remarks¶
Examples¶
[JavaScript]¶
sDiff = editor.GetFastViewDiffPath( document.FullName );
fso = new ActiveXObject( "Scripting.FileSystemObject" );
if( fso.FileExists( sDiff ) ) alert( "The diff file exists: " + sDiff );
[VBScript]¶
sDiff = editor.GetFastViewDiffPath( document.FullName )
Set fso = CreateObject( "Scripting.FileSystemObject" )
If fso.FileExists( sDiff ) Then alert( "The diff file exists: " & sDiff )
Version¶