From 0afb5f6da6921be6ff41407deb3b14bec6ac6df1 Mon Sep 17 00:00:00 2001 From: Daniel Felder Date: Tue, 15 Jul 2014 01:38:50 +0200 Subject: [PATCH] Update latex.js Most of LaTeX is text. Word wrapping etc. should behave accordingly. --- lib/ace/mode/latex.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ace/mode/latex.js b/lib/ace/mode/latex.js index 1f8c07cb..24048d5e 100644 --- a/lib/ace/mode/latex.js +++ b/lib/ace/mode/latex.js @@ -14,6 +14,8 @@ var Mode = function() { oop.inherits(Mode, TextMode); (function() { + this.type = "text"; + this.lineCommentStart = "%"; this.$id = "ace/mode/latex";