__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// 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 == "function" && define.amd) // AMD
define(["../../lib/codemirror", "../../mode/css/css"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use strict";
var pseudoClasses = {"active":1, "after":1, "before":1, "checked":1, "default":1,
"disabled":1, "empty":1, "enabled":1, "first-child":1, "first-letter":1,
"first-line":1, "first-of-type":1, "focus":1, "hover":1, "in-range":1,
"indeterminate":1, "invalid":1, "lang":1, "last-child":1, "last-of-type":1,
"link":1, "not":1, "nth-child":1, "nth-last-child":1, "nth-last-of-type":1,
"nth-of-type":1, "only-of-type":1, "only-child":1, "optional":1, "out-of-range":1,
"placeholder":1, "read-only":1, "read-write":1, "required":1, "root":1,
"selection":1, "target":1, "valid":1, "visited":1
};
CodeMirror.registerHelper("hint", "css", function(cm) {
var cur = cm.getCursor(), token = cm.getTokenAt(cur);
var inner = CodeMirror.innerMode(cm.getMode(), token.state);
if (inner.mode.name != "css") return;
if (token.type == "keyword" && "!important".indexOf(token.string) == 0)
return {list: ["!important"], from: CodeMirror.Pos(cur.line, token.start),
to: CodeMirror.Pos(cur.line, token.end)};
var start = token.start, end = cur.ch, word = token.string.slice(0, end - start);
if (/[^\w$_-]/.test(word)) {
word = ""; start = end = cur.ch;
}
var spec = CodeMirror.resolveMode("text/css");
var result = [];
function add(keywords) {
for (var name in keywords)
if (!word || name.lastIndexOf(word, 0) == 0)
result.push(name);
}
var st = inner.state.state;
if (st == "pseudo" || token.type == "variable-3") {
add(pseudoClasses);
} else if (st == "block" || st == "maybeprop") {
add(spec.propertyKeywords);
} else if (st == "prop" || st == "parens" || st == "at" || st == "params") {
add(spec.valueKeywords);
add(spec.colorKeywords);
} else if (st == "media" || st == "media_parens") {
add(spec.mediaTypes);
add(spec.mediaFeatures);
}
if (result.length) return {
list: result,
from: CodeMirror.Pos(cur.line, start),
to: CodeMirror.Pos(cur.line, end)
};
});
});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| anyword-hint.js | File | 1.64 KB | 0664 |
|
| anyword-hint.min.js | File | 797 B | 0664 |
|
| anyword-hint.min.js.gz | File | 517 B | 0664 |
|
| css-hint.js | File | 2.52 KB | 0664 |
|
| css-hint.min.js | File | 1.51 KB | 0664 |
|
| css-hint.min.js.gz | File | 788 B | 0664 |
|
| html-hint.js | File | 11.19 KB | 0664 |
|
| html-hint.min.js | File | 7.54 KB | 0664 |
|
| html-hint.min.js.gz | File | 2.94 KB | 0664 |
|
| javascript-hint.js | File | 6.69 KB | 0664 |
|
| javascript-hint.min.js | File | 3.23 KB | 0664 |
|
| javascript-hint.min.js.gz | File | 1.46 KB | 0664 |
|
| show-hint.css | File | 649 B | 0664 |
|
| show-hint.js | File | 19.33 KB | 0664 |
|
| show-hint.min.js | File | 10.49 KB | 0664 |
|
| show-hint.min.js.gz | File | 3.81 KB | 0664 |
|
| sql-hint.js | File | 9.37 KB | 0664 |
|
| sql-hint.min.js | File | 3.65 KB | 0664 |
|
| sql-hint.min.js.gz | File | 1.65 KB | 0664 |
|
| xml-hint.js | File | 5.57 KB | 0664 |
|
| xml-hint.min.js | File | 2.37 KB | 0664 |
|
| xml-hint.min.js.gz | File | 1.14 KB | 0664 |
|