Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/cm/css.js

Issue 2166603002: DevTools: roll CodeMirror (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert unnecessary typeIn change Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // CodeMirror, copyright (c) by Marijn Haverbeke and others 1 // CodeMirror, copyright (c) by Marijn Haverbeke and others
2 // Distributed under an MIT license: http://codemirror.net/LICENSE 2 // Distributed under an MIT license: http://codemirror.net/LICENSE
3 3
4 (function(mod) { 4 (function(mod) {
5 if (typeof exports == "object" && typeof module == "object") // CommonJS 5 if (typeof exports == "object" && typeof module == "object") // CommonJS
6 mod(require("../../lib/codemirror")); 6 mod(require("../../lib/codemirror"));
7 else if (typeof define == "function" && define.amd) // AMD 7 else if (typeof define == "function" && define.amd) // AMD
8 define(["../../lib/codemirror"], mod); 8 define(["../../lib/codemirror"], mod);
9 else // Plain browser env 9 else // Plain browser env
10 mod(CodeMirror); 10 mod(CodeMirror);
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 "drop-initial-after-align", "drop-initial-before-adjust", 477 "drop-initial-after-align", "drop-initial-before-adjust",
478 "drop-initial-before-align", "drop-initial-size", "drop-initial-value", 478 "drop-initial-before-align", "drop-initial-size", "drop-initial-value",
479 "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis", 479 "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis",
480 "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", 480 "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap",
481 "float", "float-offset", "flow-from", "flow-into", "font", "font-feature-set tings", 481 "float", "float-offset", "flow-from", "flow-into", "font", "font-feature-set tings",
482 "font-family", "font-kerning", "font-language-override", "font-size", "font- size-adjust", 482 "font-family", "font-kerning", "font-language-override", "font-size", "font- size-adjust",
483 "font-stretch", "font-style", "font-synthesis", "font-variant", 483 "font-stretch", "font-style", "font-synthesis", "font-variant",
484 "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", 484 "font-variant-alternates", "font-variant-caps", "font-variant-east-asian",
485 "font-variant-ligatures", "font-variant-numeric", "font-variant-position", 485 "font-variant-ligatures", "font-variant-numeric", "font-variant-position",
486 "font-weight", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", 486 "font-weight", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow",
487 "grid-auto-position", "grid-auto-rows", "grid-column", "grid-column-end", 487 "grid-auto-rows", "grid-column", "grid-column-end", "grid-column-gap",
488 "grid-column-start", "grid-row", "grid-row-end", "grid-row-start", 488 "grid-column-start", "grid-gap", "grid-row", "grid-row-end", "grid-row-gap",
489 "grid-template", "grid-template-areas", "grid-template-columns", 489 "grid-row-start", "grid-template", "grid-template-areas", "grid-template-col umns",
490 "grid-template-rows", "hanging-punctuation", "height", "hyphens", 490 "grid-template-rows", "hanging-punctuation", "height", "hyphens",
491 "icon", "image-orientation", "image-rendering", "image-resolution", 491 "icon", "image-orientation", "image-rendering", "image-resolution",
492 "inline-box-align", "justify-content", "left", "letter-spacing", 492 "inline-box-align", "justify-content", "left", "letter-spacing",
493 "line-break", "line-height", "line-stacking", "line-stacking-ruby", 493 "line-break", "line-height", "line-stacking", "line-stacking-ruby",
494 "line-stacking-shift", "line-stacking-strategy", "list-style", 494 "line-stacking-shift", "line-stacking-strategy", "list-style",
495 "list-style-image", "list-style-position", "list-style-type", "margin", 495 "list-style-image", "list-style-position", "list-style-type", "margin",
496 "margin-bottom", "margin-left", "margin-right", "margin-top", 496 "margin-bottom", "margin-left", "margin-right", "margin-top",
497 "marker-offset", "marks", "marquee-direction", "marquee-loop", 497 "marker-offset", "marks", "marquee-direction", "marquee-loop",
498 "marquee-play-count", "marquee-speed", "marquee-style", "max-height", 498 "marquee-play-count", "marquee-speed", "marquee-style", "max-height",
499 "max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index", 499 "max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 "bengali", "blink", "block", "block-axis", "bold", "bolder", "border", "bord er-box", 594 "bengali", "blink", "block", "block-axis", "bold", "bolder", "border", "bord er-box",
595 "both", "bottom", "break", "break-all", "break-word", "bullets", "button", " button-bevel", 595 "both", "bottom", "break", "break-all", "break-word", "bullets", "button", " button-bevel",
596 "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "camb odian", 596 "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "camb odian",
597 "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", 597 "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
598 "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch", 598 "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch",
599 "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote", 599 "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
600 "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "c olumn-reverse", 600 "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "c olumn-reverse",
601 "compact", "condensed", "contain", "content", 601 "compact", "condensed", "contain", "content",
602 "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop", 602 "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop",
603 "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed ", "decimal", 603 "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed ", "decimal",
604 "decimal-leading-zero", "default", "default-button", "destination-atop", 604 "decimal-leading-zero", "default", "default-button", "dense", "destination-a top",
605 "destination-in", "destination-out", "destination-over", "devanagari", "diff erence", 605 "destination-in", "destination-out", "destination-over", "devanagari", "diff erence",
606 "disc", "discard", "disclosure-closed", "disclosure-open", "document", 606 "disc", "discard", "disclosure-closed", "disclosure-open", "document",
607 "dot-dash", "dot-dot-dash", 607 "dot-dash", "dot-dot-dash",
608 "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "e ase-out", 608 "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "e ase-out",
609 "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abeg ede", 609 "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abeg ede",
610 "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er", 610 "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
611 "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er", 611 "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
612 "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et", 612 "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
613 "ethiopic-halehame-gez", "ethiopic-halehame-om-et", 613 "ethiopic-halehame-gez", "ethiopic-halehame-om-et",
614 "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et", 614 "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
615 "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig ", 615 "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig ",
616 "ethiopic-numeric", "ew-resize", "exclusion", "expanded", "extends", "extra- condensed", 616 "ethiopic-numeric", "ew-resize", "exclusion", "expanded", "extends", "extra- condensed",
617 "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "flex", "flex- end", "flex-start", "footnotes", 617 "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "flex", "flex- end", "flex-start", "footnotes",
618 "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove", 618 "forwards", "from", "geometricPrecision", "georgian", "graytext", "grid", "g roove",
619 "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hard-light", "hebrew", 619 "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hard-light", "hebrew",
620 "help", "hidden", "hide", "higher", "highlight", "highlighttext", 620 "help", "hidden", "hide", "higher", "highlight", "highlighttext",
621 "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "hue", "icon", "i gnore", 621 "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "hue", "icon", "i gnore",
622 "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", 622 "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
623 "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis", 623 "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
624 "inline-block", "inline-flex", "inline-table", "inset", "inside", "intrinsic ", "invert", 624 "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "insi de", "intrinsic", "invert",
625 "italic", "japanese-formal", "japanese-informal", "justify", "kannada", 625 "italic", "japanese-formal", "japanese-informal", "justify", "kannada",
626 "katakana", "katakana-iroha", "keep-all", "khmer", 626 "katakana", "katakana-iroha", "keep-all", "khmer",
627 "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal", 627 "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal",
628 "landscape", "lao", "large", "larger", "left", "level", "lighter", "lighten" , 628 "landscape", "lao", "large", "larger", "left", "level", "lighter", "lighten" ,
629 "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox" , "listitem", 629 "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox" , "listitem",
630 "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian", 630 "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
631 "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian", 631 "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
632 "lower-roman", "lowercase", "ltr", "luminosity", "malayalam", "match", "matr ix", "matrix3d", 632 "lower-roman", "lowercase", "ltr", "luminosity", "malayalam", "match", "matr ix", "matrix3d",
633 "media-controls-background", "media-current-time-display", 633 "media-controls-background", "media-current-time-display",
634 "media-fullscreen-button", "media-mute-button", "media-play-button", 634 "media-fullscreen-button", "media-mute-button", "media-play-button",
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 if (!stream.eat("*")) return false; 816 if (!stream.eat("*")) return false;
817 state.tokenize = tokenCComment; 817 state.tokenize = tokenCComment;
818 return tokenCComment(stream, state); 818 return tokenCComment(stream, state);
819 } 819 }
820 }, 820 },
821 name: "css", 821 name: "css",
822 helperType: "gss" 822 helperType: "gss"
823 }); 823 });
824 824
825 }); 825 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698