AGS.Editor.ScriptEditor.PromptUserThatFileHasChangedExternally C# (CSharp) Method

PromptUserThatFileHasChangedExternally() private method

private PromptUserThatFileHasChangedExternally ( ) : void
return void
        private void PromptUserThatFileHasChangedExternally()
        {
            _fileChangedExternally = false;
            if (Factory.GUIController.ShowQuestion("The file '" + _script.FileName + "' has been modified externally. Do you want to reload it?", MessageBoxIcon.Question) == DialogResult.Yes)
            {
                _script.LoadFromDisk();
                scintilla.SetText(_script.Text);
                _editorTextModifiedSinceLastCopy = false;
            }
        }