public void UpdateScriptObjectWithLatestTextInWindow() { _script.Text = scintilla.GetText(); _editorTextModifiedSinceLastCopy = false; }