codemirror 5.65.9

This commit is contained in:
zadam
2022-10-15 12:22:09 +02:00
parent b9c22fcbc8
commit 70c9292413
134 changed files with 1051 additions and 521 deletions

View File

@@ -1,5 +1,5 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Distributed under an MIT license: http://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
@@ -230,6 +230,8 @@
startState: function () { return { f: normal() }; },
copyState: function (s) { return { f: s.f }; },
lineComment: '--',
token: function(stream, state) {
var type = state.f(stream, function(s) { state.f = s; });
var word = stream.current();