ThirdParty/Pygments/pygments/styles/sas.py

changeset 5713
6762afd9f963
equal deleted inserted replaced
5712:f0d08bdeacf4 5713:6762afd9f963
1 # -*- coding: utf-8 -*-
2 """
3 pygments.styles.sas
4 ~~~~~~~~~~~~~~~~~~~
5
6 Style inspired by SAS' enhanced program editor. Note This is not
7 meant to be a complete style. It's merely meant to mimic SAS'
8 program editor syntax highlighting.
9
10 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
11 :license: BSD, see LICENSE for details.
12 """
13
14 from pygments.style import Style
15 from pygments.token import Keyword, Name, Comment, String, Error, \
16 Number, Other, Whitespace, Generic
17
18
19 class SasStyle(Style):
20 """
21 Style inspired by SAS' enhanced program editor. Note This is not
22 meant to be a complete style. It's merely meant to mimic SAS'
23 program editor syntax highlighting.
24 """
25
26 default_style = ''
27
28 styles = {
29 Whitespace: '#bbbbbb',
30 Comment: 'italic #008800',
31 String: '#800080',
32 Number: 'bold #2e8b57',
33 Other: 'bg:#ffffe0',
34 Keyword: '#2c2cff',
35 Keyword.Reserved: 'bold #353580',
36 Keyword.Constant: 'bold',
37 Name.Builtin: '#2c2cff',
38 Name.Function: 'bold italic',
39 Name.Variable: 'bold #2c2cff',
40 Generic: '#2c2cff',
41 Generic.Emph: '#008800',
42 Generic.Error: '#d30202',
43 Error: 'bg:#e3d2d2 #a61717'
44 }

eric ide

mercurial