From 6015788e4181078024091b7fdc89d7237a0a454d Mon Sep 17 00:00:00 2001 From: Daniel Felder Date: Tue, 15 Jul 2014 01:44:39 +0200 Subject: [PATCH] Update latex.js Temporary fix. I proposed the same change to the official repo. --- services/web/public/js/ace/mode/latex.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/public/js/ace/mode/latex.js b/services/web/public/js/ace/mode/latex.js index 6d932a6a85..7c789cc429 100755 --- a/services/web/public/js/ace/mode/latex.js +++ b/services/web/public/js/ace/mode/latex.js @@ -15,6 +15,8 @@ var Mode = function() { oop.inherits(Mode, TextMode); (function() { + this.type = "text"; + this.lineCommentStart = "%"; }).call(Mode.prototype);