2014-12-01 06:10:30 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
|
|
pygments.styles.igor
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Igor Pro default style.
|
|
|
|
|
2017-02-14 07:25:51 +00:00
|
|
|
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
|
2014-12-01 06:10:30 +00:00
|
|
|
:license: BSD, see LICENSE for details.
|
|
|
|
"""
|
|
|
|
|
|
|
|
from pygments.style import Style
|
|
|
|
from pygments.token import Keyword, Name, Comment, String
|
|
|
|
|
|
|
|
|
|
|
|
class IgorStyle(Style):
|
|
|
|
"""
|
|
|
|
Pygments version of the official colors for Igor Pro procedures.
|
|
|
|
"""
|
|
|
|
default_style = ""
|
|
|
|
|
|
|
|
styles = {
|
|
|
|
Comment: 'italic #FF0000',
|
|
|
|
Keyword: '#0000FF',
|
|
|
|
Name.Function: '#C34E00',
|
|
|
|
Name.Decorator: '#CC00A3',
|
|
|
|
Name.Class: '#007575',
|
|
|
|
String: '#009C00'
|
|
|
|
}
|