Vergleich admin/jscripts/codemirror/mode/css/css.js - 1.8.3 - 1.8.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 182Zeile 182
        override = "string-2";
return "maybeprop";
} else if (allowNested) {

        override = "string-2";
return "maybeprop";
} else if (allowNested) {

        override = stream.match(/^\s*:/, false) ? "property" : "tag";

        override = stream.match(/^\s*:(?:\s|$)/, false) ? "property" : "tag";

        return "block";
} else {
override += " error";

        return "block";
} else {
override += " error";

Zeile 461Zeile 461
    "glyph-orientation-vertical", "text-anchor", "writing-mode"
], propertyKeywords = keySet(propertyKeywords_);


    "glyph-orientation-vertical", "text-anchor", "writing-mode"
], propertyKeywords = keySet(propertyKeywords_);


  var nonStandardPropertyKeywords = [

  var nonStandardPropertyKeywords_ = [

    "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color",
"scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color",
"scrollbar-3d-light-color", "scrollbar-track-color", "shape-inside",
"searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button",
"searchfield-results-decoration", "zoom"

    "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color",
"scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color",
"scrollbar-3d-light-color", "scrollbar-track-color", "shape-inside",
"searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button",
"searchfield-results-decoration", "zoom"

  ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords);

  ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);


var colorKeywords_ = [
"aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige",


var colorKeywords_ = [
"aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige",

Zeile 525Zeile 525
    "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
"ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et",
"ethiopic-halehame-tig", "ew-resize", "expanded", "extra-condensed",

    "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
"ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et",
"ethiopic-halehame-tig", "ew-resize", "expanded", "extra-condensed",

    "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "footnotes",

    "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "flex", "footnotes",

    "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
"gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
"help", "hidden", "hide", "higher", "highlight", "highlighttext",
"hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
"inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
"infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",

    "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
"gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
"help", "hidden", "hide", "higher", "highlight", "highlighttext",
"hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
"inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
"infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",

    "inline-block", "inline-table", "inset", "inside", "intrinsic", "invert",

    "inline-block", "inline-flex", "inline-table", "inset", "inside", "intrinsic", "invert",

    "italic", "justify", "kannada", "katakana", "katakana-iroha", "keep-all", "khmer",
"landscape", "lao", "large", "larger", "left", "level", "lighter",
"line-through", "linear", "lines", "list-item", "listbox", "listitem",

    "italic", "justify", "kannada", "katakana", "katakana-iroha", "keep-all", "khmer",
"landscape", "lao", "large", "larger", "left", "level", "lighter",
"line-through", "linear", "lines", "list-item", "listbox", "listitem",

Zeile 589Zeile 589
  ], fontProperties = keySet(fontProperties_);

var allWords = mediaTypes_.concat(mediaFeatures_).concat(propertyKeywords_)

  ], fontProperties = keySet(fontProperties_);

var allWords = mediaTypes_.concat(mediaFeatures_).concat(propertyKeywords_)

    .concat(nonStandardPropertyKeywords).concat(colorKeywords_).concat(valueKeywords_);

    .concat(nonStandardPropertyKeywords_).concat(colorKeywords_).concat(valueKeywords_);

  CodeMirror.registerHelper("hintWords", "css", allWords);

function tokenCComment(stream, state) {

  CodeMirror.registerHelper("hintWords", "css", allWords);

function tokenCComment(stream, state) {