/// <summary>
 /// This resets the script viewer to use the correct adapter for the new script version.
 /// </summary>
 private void ChangeEditedScriptVersion()
 {
     NodeAdapter = ScriptType.GetXmlScriptNodeAdapter(Script.Version);
 }