From 144f16a71f7289bb891c52995061aee21e3e08f9 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Fri, 28 Mar 2008 17:02:18 +0100 Subject: remove autocomplete and use autosuggest instead Signed-off-by: Andreas Unterkircher --- autocomplete/js/shBrushJScript.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 autocomplete/js/shBrushJScript.js (limited to 'autocomplete/js/shBrushJScript.js') diff --git a/autocomplete/js/shBrushJScript.js b/autocomplete/js/shBrushJScript.js deleted file mode 100644 index e61a767..0000000 --- a/autocomplete/js/shBrushJScript.js +++ /dev/null @@ -1,22 +0,0 @@ -dp.sh.Brushes.JScript = function() -{ - var keywords = 'abstract boolean break byte case catch char class const continue debugger ' + - 'default delete do double else enum export extends false final finally float ' + - 'for function goto if implements import in instanceof int interface long native ' + - 'new null package private protected public return short static super switch ' + - 'synchronized this throw throws transient true try typeof var void volatile while with'; - - this.regexList = [ - { regex: new RegExp('//.*$', 'gm'), css: 'comment' }, // one line comments - { regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'), css: 'comment' }, // multiline comments - { regex: new RegExp('"(?:\\.|[^\\""])*"', 'g'), css: 'string' }, // double quoted strings - { regex: new RegExp('\'(?:\\.|[^\\\'\'])*\'', 'g'), css: 'string' }, // single quoted strings - { regex: new RegExp('^\\s*#.*', 'gm'), css: 'preprocessor' }, // preprocessor tags like #region and #endregion - { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keywords - ]; - - this.CssClass = 'dp-c'; -} - -dp.sh.Brushes.JScript.prototype = new dp.sh.Highlighter(); -dp.sh.Brushes.JScript.Aliases = ['js', 'jscript', 'javascript']; -- cgit v1.2.3-18-g5258