Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
739 B
30 lines
739 B
2 weeks ago
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
pygments.styles.igor
|
||
|
~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
Igor Pro default style.
|
||
|
|
||
|
:copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
|
||
|
: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'
|
||
|
}
|