diff --git a/scripts/update-codemirror.sh b/scripts/update-codemirror.sh index c64ff5a5db..5db757d71c 100755 --- a/scripts/update-codemirror.sh +++ b/scripts/update-codemirror.sh @@ -37,7 +37,7 @@ unzip-strip /tmp/codemirror.zip buildroot-external/overlay/WebUI-raspmatic/www/w patch -p1 -d buildroot-external/overlay/WebUI-raspmatic/www/webui/js/extern/codemirror <<'EOF' --- codemirror/mode/clike/clike.js.orig 2022-01-18 10:36:39.293844757 +0100 +++ codemirror/mode/clike/clike.js 2022-01-18 10:35:32.751543181 +0100 -@@ -932,4 +932,126 @@ +@@ -932,4 +933,127 @@ } }); @@ -120,7 +120,8 @@ patch -p1 -d buildroot-external/overlay/WebUI-raspmatic/www/webui/js/extern/code + "iarNone iarRead iarWrite iarCreate iarChange iarExecute iarFullAccess " + + "OPERATOR_NONE OPERATOR_AND OPERATOR_OR OPERATOR_XOR " + + "iufNone iufVisible iufInternal iufReadyState iufOperated iufVirtualChn " + -+ "iufReadable iufWriteable iufEventable iufAll" ++ "iufReadable iufWriteable iufEventable iufAll" + ++ "soAsc soDesc stAlpha stNatural" + ), + indentStatements: false, + indentSwitch: false,