//----------------------------------------------------------------------------- // Internal Methods //----------------------------------------------------------------------------- // Begin compiling the script asyncronously. private void BeginCompilingScript() { script.Code = codeEditor.Text; editorControl.CompileScript(script, OnCompileComplete); //compileTask = ScriptEditorCompiler.CompileScriptAsync(script); needsRecompiling = false; }