Explorar el Código

Order errors by severity. error -> warning -> typsetting

James Allen hace 12 años
padre
commit
c273f36bb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/public/coffee/pdf/CompiledView.coffee

+ 1 - 1
services/web/public/coffee/pdf/CompiledView.coffee

@@ -90,7 +90,7 @@ define [
 			logButtonHtml = "Logs"
 
 			if compileErrors?
-				for error in compileErrors.all
+				for error in compileErrors.errors.concat(compileErrors.warnings).concat(compileErrors.typesetting)
 					errorView = new LatexErrorView(@options.manager.ide, error)
 					errorView.render()
 					@errorViews.push(errorView)