codemirror
Advanced tools
Comparing version 5.65.17 to 5.65.18
@@ -30,3 +30,3 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others | ||
// A cursor is defined as between two characters, but in in vim command mode | ||
// A cursor is defined as between two characters, but in vim command mode | ||
// (i.e. not insert mode), the cursor is visually represented as a | ||
@@ -33,0 +33,0 @@ // highlighted box on top of the 2nd character. Otherwise, we allow matches |
@@ -284,2 +284,3 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others | ||
closeBrackets: {pairs: "()[]{}\"\""}, | ||
fold: "brace", | ||
lineComment: ";;" | ||
@@ -286,0 +287,0 @@ }; |
@@ -47,2 +47,4 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others | ||
atoms: set(atoms), | ||
// clike numbers without the suffixes, and with '_' separators. | ||
number: /^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i, | ||
hooks: { | ||
@@ -49,0 +51,0 @@ "@": function(stream) { |
@@ -132,6 +132,4 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others | ||
var next = stream.match(/^(\.|[\w\$_]+)/) | ||
if (!next) { | ||
state.tokenize.pop() | ||
return state.tokenize[state.tokenize.length-1](stream, state) | ||
} | ||
if (!next || !stream.match(next[0] == "." ? /^[\w$_]/ : /^\./)) state.tokenize.pop() | ||
if (!next) return state.tokenize[state.tokenize.length-1](stream, state) | ||
return next[0] == "." ? null : "variable" | ||
@@ -138,0 +136,0 @@ } |
{ | ||
"name": "codemirror", | ||
"version": "5.65.17", | ||
"version": "5.65.18", | ||
"main": "lib/codemirror.js", | ||
@@ -5,0 +5,0 @@ "style": "lib/codemirror.css", |
@@ -61,3 +61,3 @@ import { heightAtLine } from "../line/spans.js" | ||
// Compute the lines that are visible in a given viewport (defaults | ||
// the the current scroll position). viewport may contain top, | ||
// the current scroll position). viewport may contain top, | ||
// height, and ensure (see op.scrollToPos) properties. | ||
@@ -64,0 +64,0 @@ export function visibleLines(display, doc, viewport) { |
@@ -69,2 +69,2 @@ // EDITOR CONSTRUCTOR | ||
CodeMirror.version = "5.65.17" | ||
CodeMirror.version = "5.65.18" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2960729
66455