[Libreoffice-commits] dev-tools.git: help3/html

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Jan 12 11:30:23 UTC 2019


 help3/html/autocomplete.js |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ca36934f9a55e7755f9983852f5c263f7c726e6b
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Sat Jan 12 08:10:21 2019 -0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat Jan 12 12:30:05 2019 +0100

    Allow lines to wrap, change mode to XML
    
    Change-Id: I3b73b6607a50dc5b8a4677354a34b6db1f59d3f5
    Reviewed-on: https://gerrit.libreoffice.org/66209
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/help3/html/autocomplete.js b/help3/html/autocomplete.js
index 8d2bad3..3ce74a3 100644
--- a/help3/html/autocomplete.js
+++ b/help3/html/autocomplete.js
@@ -166,9 +166,10 @@ function completeIfInTag(cm) {
 
 var editor = CodeMirror.fromTextArea(document.getElementById("xhpeditor"), {
     lineNumbers: true,
-    mode: "text/html",
+    mode: "xml",
     matchBrackets: true,
     theme: "default",
+    lineWrapping: true,
     extraKeys: {
         "'<'": completeAfter,
         "'/'": completeIfAfterLt,


More information about the Libreoffice-commits mailing list