private void UPPCompiler_Reported(object sender, CompilerReportedEventArgs e) { if (e.Clear) { Clear(); } else { if (!e.IsZombie) { var pj = e.Compiler.VCConfig; if (pj != null) { switch (e.Mode) { case UWorkerReports.Tip: Add(CompileIntellisenseKinds.Tip, e.Message, e.File, e.Line, e.Column, pj.Name); break; case UWorkerReports.Warning: Add(CompileIntellisenseKinds.Warning, e.Message, e.File, e.Line, e.Column, pj.Name); break; case UWorkerReports.Error: Add(CompileIntellisenseKinds.Error, e.Message, e.Solution, e.File, e.Line, e.Column, pj.Name); break; } } } } }
private void UPPCompiler_Reported(object sender, CompilerReportedEventArgs e) { if (e.Clear) { _output.Clear(); } else { if (!e.IsZombie) { if (e.Mode == UWorkerReports.Normal) { UPPCompiler upj = e.Compiler; if (upj != null) { AddMessage(string.Format("{0}> {1}", upj.Id, e.Message)); } } } } }