Do not syntax-highlight ... in "My rules" pane

This commit is contained in:
Raymond Hill 2020-09-23 11:14:09 -04:00
parent 872fbfc11a
commit 5df51d63d1
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -91,6 +91,9 @@ CodeMirror.defineMode('ubo-dynamic-filtering', ( ) => {
const token = function(stream) { const token = function(stream) {
if ( stream.sol() ) { if ( stream.sol() ) {
if ( stream.string === '...' ) {
return stream.skipToEnd(stream);
}
slices.length = 0; slices.length = 0;
tokens.length = 0; tokens.length = 0;
const reTokens = /\S+/g; const reTokens = /\S+/g;