From 21827bdfda28e199f58b490f7843fb453a0f6ccf Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Tue, 2 May 2023 12:27:33 +0000 Subject: [PATCH] :for debug only git-svn-id: https://svn.fhem.de/fhem/trunk@27511 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- .../betateilchen/codemirror-5.65.13/fhem_codemirror.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/betateilchen/codemirror-5.65.13/fhem_codemirror.js b/fhem/contrib/betateilchen/codemirror-5.65.13/fhem_codemirror.js index 3790b4b6b..db4343590 100644 --- a/fhem/contrib/betateilchen/codemirror-5.65.13/fhem_codemirror.js +++ b/fhem/contrib/betateilchen/codemirror-5.65.13/fhem_codemirror.js @@ -4,8 +4,8 @@ var cm_loaded = 0; var cm_active = 0; var cm_attr = { matchBrackets: true, - bracefold: true; - commentfold: true; + bracefold: true, + commentfold: true, foldCode: true, foldGutter: true, indentFold: true, @@ -97,7 +97,9 @@ function AddCodeMirror(e, cb) { cm_active++; loadScript("codemirror/foldcode.js", function(){cm_loaded++;} ); } if (cm_attr.foldGutter) { - cm_active++; loadScript("codemirror/foldgutter.js", function(){cm_loaded++;} ); + cm_active++; + loadLink("codemirror/foldgutter.css"); + loadScript("codemirror/foldgutter.js", function(){cm_loaded++;} ); } if (cm_attr.indentFold) { cm_active++; loadScript("codemirror/indent-fold.js", function(){cm_loaded++;} );