ThirdParty/Pygments/pygments/styles/__init__.py

changeset 1705
b0fbc9300f2b
parent 808
8f85926125ef
child 2426
da76c71624de
equal deleted inserted replaced
1704:02ae6c55b35b 1705:b0fbc9300f2b
3 pygments.styles 3 pygments.styles
4 ~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~
5 5
6 Contains built-in styles. 6 Contains built-in styles.
7 7
8 :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2012 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 from pygments.plugin import find_plugin_styles 12 from pygments.plugin import find_plugin_styles
13 from pygments.util import ClassNotFound 13 from pygments.util import ClassNotFound
31 'fruity': 'fruity::FruityStyle', 31 'fruity': 'fruity::FruityStyle',
32 'bw': 'bw::BlackWhiteStyle', 32 'bw': 'bw::BlackWhiteStyle',
33 'vim': 'vim::VimStyle', 33 'vim': 'vim::VimStyle',
34 'vs': 'vs::VisualStudioStyle', 34 'vs': 'vs::VisualStudioStyle',
35 'tango': 'tango::TangoStyle', 35 'tango': 'tango::TangoStyle',
36 'rrt': 'rrt::RrtStyle',
36 } 37 }
37 38
38 39
39 def get_style_by_name(name): 40 def get_style_by_name(name):
40 if name in STYLE_MAP: 41 if name in STYLE_MAP:

eric ide

mercurial