コード例 #1
0
        void ParseChanged(object o, ParseInformationEventArgs e)
        {
            if (view != null && view.ParentEditor.DisplayBinding.ContentName == e.FileName)
            {
                RemoveTag (compilation_error, StartIter, EndIter);

                if (e.ParseInformation.MostRecentCompilationUnit.ErrorsDuringCompile)
                    DrawErrors (e.ParseInformation.MostRecentCompilationUnit.ErrorInformation);
            }
        }
コード例 #2
0
 protected virtual void OnParseInformationChanged(ParseInformationEventArgs e)
 {
     if (ParseInformationChanged != null) {
         ParseInformationChanged(this, e);
     }
 }