eric6/ThirdParty/Pygments/pygments/lexers/css.py

changeset 7701
25f42e208e08
parent 7547
21b0534faebc
child 7983
54c5cfbb1e29
equal deleted inserted replaced
7700:a3cf077a8db3 7701:25f42e208e08
3 pygments.lexers.css 3 pygments.lexers.css
4 ~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for CSS and related stylesheet formats. 6 Lexers for CSS and related stylesheet formats.
7 7
8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 import copy 13 import copy
356 bygroups(Name.Function, Punctuation), 'function-start'), 356 bygroups(Name.Function, Punctuation), 'function-start'),
357 357
358 (r'/\*(?:.|\n)*?\*/', Comment), 358 (r'/\*(?:.|\n)*?\*/', Comment),
359 include('numeric-values'), 359 include('numeric-values'),
360 (r'[*+/-]', Operator), 360 (r'[*+/-]', Operator),
361 (r'[,]', Punctuation), 361 (r',', Punctuation),
362 (r'"(\\\\|\\"|[^"])*"', String.Double), 362 (r'"(\\\\|\\"|[^"])*"', String.Double),
363 (r"'(\\\\|\\'|[^'])*'", String.Single), 363 (r"'(\\\\|\\'|[^'])*'", String.Single),
364 (r'[a-zA-Z_-]\w*', Name), 364 (r'[a-zA-Z_-]\w*', Name),
365 (r'\)', Punctuation, '#pop'), 365 (r'\)', Punctuation, '#pop'),
366 ], 366 ],
394 (words(_css_properties + ( 394 (words(_css_properties + (
395 'above', 'absolute', 'always', 'armenian', 'aural', 'auto', 'avoid', 'baseline', 395 'above', 'absolute', 'always', 'armenian', 'aural', 'auto', 'avoid', 'baseline',
396 'behind', 'below', 'bidi-override', 'blink', 'block', 'bold', 'bolder', 'both', 396 'behind', 'below', 'bidi-override', 'blink', 'block', 'bold', 'bolder', 'both',
397 'capitalize', 'center-left', 'center-right', 'center', 'circle', 397 'capitalize', 'center-left', 'center-right', 'center', 'circle',
398 'cjk-ideographic', 'close-quote', 'collapse', 'condensed', 'continuous', 398 'cjk-ideographic', 'close-quote', 'collapse', 'condensed', 'continuous',
399 'crop', 'crosshair', 'cross', 'cursive', 'dashed', 'decimal-leading-zero', 399 'crosshair', 'cross', 'cursive', 'dashed', 'decimal-leading-zero',
400 'decimal', 'default', 'digits', 'disc', 'dotted', 'double', 'e-resize', 'embed', 400 'decimal', 'default', 'digits', 'disc', 'dotted', 'double', 'e-resize', 'embed',
401 'extra-condensed', 'extra-expanded', 'expanded', 'fantasy', 'far-left', 401 'extra-condensed', 'extra-expanded', 'expanded', 'fantasy', 'far-left',
402 'far-right', 'faster', 'fast', 'fixed', 'georgian', 'groove', 'hebrew', 'help', 402 'far-right', 'faster', 'fast', 'fixed', 'georgian', 'groove', 'hebrew', 'help',
403 'hidden', 'hide', 'higher', 'high', 'hiragana-iroha', 'hiragana', 'icon', 403 'hidden', 'hide', 'higher', 'high', 'hiragana-iroha', 'hiragana', 'icon',
404 'inherit', 'inline-table', 'inline', 'inset', 'inside', 'invert', 'italic', 404 'inherit', 'inline-table', 'inline', 'inset', 'inside', 'invert', 'italic',

eric ide

mercurial