// This creates error marks for errors that apply to this file
        public virtual void MarkScriptErrors(IEnumerable <CompilerError> errors)
        {
            // Clear all marks
            ClearMarks();

            // Go for all errors that apply to this script
            foreach (CompilerError e in errors)
            {
                if (VerifyErrorForScript(e))
                {
                    // Add a mark on the line where this error occurred
                    editor.AddMark(e.linenumber);
                }
            }
        }