repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/puppet/puppet.js
mode/puppet/puppet.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/asterisk/asterisk.js
mode/asterisk/asterisk.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /* * ===================================================================================== * * Filename: mode/asterisk/asterisk.js * * Description: CodeMirror mode for Aster...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/tiddlywiki/tiddlywiki.js
mode/tiddlywiki/tiddlywiki.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /*** |''Name''|tiddlywiki.js| |''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror| |''Author''|PMario| |''Version''|0.1.7| |''Status''|''stable''| ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/gas/gas.js
mode/gas/gas.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/ecl/ecl.js
mode/ecl/ecl.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/htmlmixed/htmlmixed.js
mode/htmlmixed/htmlmixed.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../xml/xml"), require("../javascript/javascript...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/dart/dart.js
mode/dart/dart.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../clike/clike")); else if (typeof define == ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/webidl/webidl.js
mode/webidl/webidl.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/javascript/test.js
mode/javascript/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 2}, "javascript"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT("locals", "...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/javascript/javascript.js
mode/javascript/javascript.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
true
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/php/test.js
mode/php/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 2}, "php"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT('simple_test', '[m...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/php/php.js
mode/php/php.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), require("../clike/cli...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/haxe/haxe.js
mode/haxe/haxe.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/mumps/mumps.js
mode/mumps/mumps.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /* This MUMPS Language script was constructed using vbscript.js as a template. */ (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(requ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/dylan/test.js
mode/dylan/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 2}, "dylan"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT('comments', '[co...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/dylan/dylan.js
mode/dylan/dylan.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/shell/test.js
mode/shell/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var mode = CodeMirror.getMode({}, "shell"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT("var", "text [def $var] text"...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/shell/shell.js
mode/shell/shell.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/ruby/test.js
mode/ruby/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT("divide_equal_operator...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/ruby/ruby.js
mode/ruby/ruby.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/yaml-frontmatter/yaml-frontmatter.js
mode/yaml-frontmatter/yaml-frontmatter.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../yaml/yaml")) else if (typeof define == "f...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/yacas/yacas.js
mode/yacas/yacas.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Yacas mode copyright (c) 2015 by Grzegorz Mazur // Loosely based on mathematica mode by Calin Barbat (function(mod) { if (typeof exports == "object" && typeof module == "object") // C...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/http/http.js
mode/http/http.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/sql/sql.js
mode/sql/sql.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
true
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/markdown/markdown.js
mode/markdown/markdown.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../xml/xml"), require("../meta")); else if (t...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/markdown/test.js
mode/markdown/test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { var config = {tabSize: 4, indentUnit: 2} var mode = CodeMirror.getMode(config, "markdown"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(argument...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
true
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/spreadsheet/spreadsheet.js
mode/spreadsheet/spreadsheet.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/erlang/erlang.js
mode/erlang/erlang.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /*jshint unused:true, eqnull:true, curly:true, bitwise:true */ /*jshint undef:true, latedef:true, trailing:true */ /*global CodeMirror:true */ // erlang mode. // tokenizer -> token types -...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/tiki/tiki.js
mode/tiki/tiki.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/brace-fold.js
addon/fold/brace-fold.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/foldcode.js
addon/fold/foldcode.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/xml-fold.js
addon/fold/xml-fold.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/foldgutter.js
addon/fold/foldgutter.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./foldcode")); else if (typeof define == "fun...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/comment-fold.js
addon/fold/comment-fold.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/indent-fold.js
addon/fold/indent-fold.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/fold/markdown-fold.js
addon/fold/markdown-fold.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/mode/multiplex_test.js
addon/mode/multiplex_test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function() { CodeMirror.defineMode("markdown_with_stex", function(){ var inner = CodeMirror.getMode({}, "stex"); var outer = CodeMirror.getMode({}, "markdown"); var innerOpt...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/mode/loadmode.js
addon/mode/loadmode.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), "cjs"); else if (typeof define == "function" && define...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/mode/overlay.js
addon/mode/overlay.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Utility function that allows modes to be combined. The mode given // as the base argument takes care of most of the normal mode // functionality, but a second (typically simple) mode is ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/mode/simple.js
addon/mode/simple.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/mode/multiplex.js
addon/mode/multiplex.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/runmode/colorize.js
addon/runmode/colorize.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./runmode")); else if (typeof define == "func...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/runmode/runmode.js
addon/runmode/runmode.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/coffeescript-lint.js
addon/lint/coffeescript-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js // declare global: coffeelint (function(mod) { if (typeof exports == "object" && typeof module == "object") /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/json-lint.js
addon/lint/json-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on jsonlint.js from https://github.com/zaach/jsonlint // declare global: jsonlint (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/javascript-lint.js
addon/lint/javascript-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on jshint.js from https://github.com/jshint/jshint (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemir...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/yaml-lint.js
addon/lint/yaml-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/html-lint.js
addon/lint/html-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on htmlhint.js from http://htmlhint.com/js/htmlhint.js // declare global: HTMLHint (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/lint.js
addon/lint/lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/lint/css-lint.js
addon/lint/css-lint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on csslint.js from https://github.com/stubbornella/csslint // declare global: CSSLint (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/tern/tern.js
addon/tern/tern.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Glue code between CodeMirror and Tern. // // Create a CodeMirror.TernServer to wrap an actual Tern server, // register open documents (CodeMirror.Doc instances) with it, and // call its ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/tern/worker.js
addon/tern/worker.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // declare global: tern, server var server; this.onmessage = function(e) { var data = e.data; switch (data.type) { case "init": return startServer(data.defs, data.plugins, data.scri...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/dialog/dialog.js
addon/dialog/dialog.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Open simple dialogs on top of an editor. Relies on dialog.css. (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/cod...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/display/panel.js
addon/display/panel.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/display/rulers.js
addon/display/rulers.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/display/fullscreen.js
addon/display/fullscreen.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/display/placeholder.js
addon/display/placeholder.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/display/autorefresh.js
addon/display/autorefresh.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")) else if (typeof define == "function" && define.amd) //...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/wrap/hardwrap.js
addon/wrap/hardwrap.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/comment/continuecomment.js
addon/comment/continuecomment.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/comment/comment.js
addon/comment/comment.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/closebrackets.js
addon/edit/closebrackets.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/matchbrackets.js
addon/edit/matchbrackets.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/closetag.js
addon/edit/closetag.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /** * Tag-closer extension for CodeMirror. * * This extension adds an "autoCloseTags" option that can be set to * either true to get the default behavior, or an object to further * con...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/trailingspace.js
addon/edit/trailingspace.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/matchtags.js
addon/edit/matchtags.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../fold/xml-fold")); else if (typeof define =...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/edit/continuelist.js
addon/edit/continuelist.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/scroll/scrollpastend.js
addon/scroll/scrollpastend.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/scroll/simplescrollbars.js
addon/scroll/simplescrollbars.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/scroll/annotatescrollbar.js
addon/scroll/annotatescrollbar.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/selection/mark-selection.js
addon/selection/mark-selection.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Because sometimes you need to mark the selected *text*. // // Adds an option 'styleSelectedText' which, when enabled, gives // selected text the CSS class given as option value, or // "C...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/selection/selection-pointer.js
addon/selection/selection-pointer.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/selection/active-line.js
addon/selection/active-line.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/search/jump-to-line.js
addon/search/jump-to-line.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Defines jumpToLine command. Uses dialog.js if present. (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/search/match-highlighter.js
addon/search/match-highlighter.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Highlighting text that matches the selection // // Defines an option highlightSelectionMatches, which, when enabled, // will style strings that match the selection throughout the // docu...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/search/searchcursor.js
addon/search/searchcursor.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")) else if (typeof define == "function" && define.amd) //...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/search/matchesonscrollbar.js
addon/search/matchesonscrollbar.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./searchcursor"), require("../scroll/annotatesc...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/search/search.js
addon/search/search.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Define search commands. Depends on dialog.js or another // implementation of the openDialog method. // Replace works a little oddly -- it will do the replace on the next // Ctrl-G (or w...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/merge/merge.js
addon/merge/merge.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // declare global: diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../.....
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
true
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/javascript-hint.js
addon/hint/javascript-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/show-hint.js
addon/hint/show-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // declare global: DOMRect (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define ==...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/html-hint.js
addon/hint/html-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./xml-hint")); else if (typeof define == "fun...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/sql-hint.js
addon/hint/sql-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../../mode/sql/sql")); else if (typeof define...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/xml-hint.js
addon/hint/xml-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/anyword-hint.js
addon/hint/anyword-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) /...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/addon/hint/css-hint.js
addon/hint/css-hint.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../../mode/css/css")); else if (typeof define...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/codemirror.js
src/codemirror.js
import { CodeMirror } from "./edit/main.js" export default CodeMirror
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/modes.js
src/modes.js
import { copyObj, createObj } from "./util/misc.js" // Known modes, by name and by MIME export let modes = {}, mimeModes = {} // Extra arguments are stored as the mode's dependencies, which is // used by (legacy) mechanisms like loadmode.js to automatically // load a mode. (Preferred mechanism is the require/define c...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/feature_detection.js
src/util/feature_detection.js
import { elt, range, removeChildren, removeChildrenAndAdd } from "./dom.js" import { ie, ie_version } from "./browser.js" // Detect drag-and-drop export let dragAndDrop = function() { // There is *some* kind of drag-and-drop support in IE6-8, but I // couldn't get it to work yet. if (ie && ie_version < 9) return...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/bidi.js
src/util/bidi.js
import { lst } from "./misc.js" // BIDI HELPERS export function iterateBidiSections(order, from, to, f) { if (!order) return f(from, to, "ltr", 0) let found = false for (let i = 0; i < order.length; ++i) { let part = order[i] if (part.from < to && part.to > from || from == to && part.to == from) { ...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/browser.js
src/util/browser.js
// Kludges for bugs and behavior differences that can't be feature // detected are enabled based on userAgent etc sniffing. let userAgent = navigator.userAgent let platform = navigator.platform export let gecko = /gecko\/\d/i.test(userAgent) let ie_upto10 = /MSIE \d/.test(userAgent) let ie_11up = /Trident\/(?:[7-9]|\d...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/StringStream.js
src/util/StringStream.js
import { countColumn } from "./misc.js" // STRING STREAM // Fed to the mode parsers, provides helper functions to make // parsers more succinct. class StringStream { constructor(string, tabSize, lineOracle) { this.pos = this.start = 0 this.string = string this.tabSize = tabSize || 8 this.lastColumn...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/dom.js
src/util/dom.js
import { ie, ios } from "./browser.js" export function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*") } export let rmClass = function(node, cls) { let current = node.className let match = classTest(cls).exec(current) if (match) { let after = current.slice(match.index + match[0].length...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/misc.js
src/util/misc.js
export function bind(f) { let args = Array.prototype.slice.call(arguments, 1) return function(){return f.apply(null, args)} } export function copyObj(obj, target, overwrite) { if (!target) target = {} for (let prop in obj) if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/operation_group.js
src/util/operation_group.js
import { getHandlers } from "./event.js" let operationGroup = null export function pushOperation(op) { if (operationGroup) { operationGroup.ops.push(op) } else { op.ownsGroup = operationGroup = { ops: [op], delayedCallbacks: [] } } } function fireCallbacksForOps(group) { // Calls dela...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/util/event.js
src/util/event.js
import { mac } from "./browser.js" import { indexOf } from "./misc.js" // EVENT HANDLING // Lightweight event framework. on/off also work on DOM nodes, // registering native DOM handlers. const noHandlers = [] export let on = function(emitter, type, f) { if (emitter.addEventListener) { emitter.addEventListene...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/model/history.js
src/model/history.js
import { cmp, copyPos } from "../line/pos.js" import { stretchSpansOverChange } from "../line/spans.js" import { getBetween } from "../line/utils_line.js" import { signal } from "../util/event.js" import { indexOf, lst } from "../util/misc.js" import { changeEnd } from "./change_measurement.js" import { linkedDocs } f...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/model/Doc.js
src/model/Doc.js
import CodeMirror from "../edit/CodeMirror.js" import { docMethodOp } from "../display/operations.js" import { Line } from "../line/line_data.js" import { clipPos, clipPosArray, Pos } from "../line/pos.js" import { visualLine } from "../line/spans.js" import { getBetween, getLine, getLines, isLine, lineNo } from "../li...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/model/selection_updates.js
src/model/selection_updates.js
import { signalLater } from "../util/operation_group.js" import { ensureCursorVisible } from "../display/scrolling.js" import { clipPos, cmp, Pos } from "../line/pos.js" import { getLine } from "../line/utils_line.js" import { hasHandler, signal, signalCursorActivity } from "../util/event.js" import { lst, sel_dontScro...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false
codemirror/codemirror5
https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/src/model/selection.js
src/model/selection.js
import { cmp, copyPos, equalCursorPos, maxPos, minPos } from "../line/pos.js" import { indexOf } from "../util/misc.js" // Selection objects are immutable. A new one is created every time // the selection changes. A selection is one or more non-overlapping // (and non-touching) ranges, sorted, and an integer that indi...
javascript
MIT
78555dd4ac9bc691f081eec8266a01d3fbcc0d4e
2026-01-04T15:02:45.128819Z
false