2021-04-13 12:02:29 +08:00
|
|
|
"""
|
|
|
|
pygments.styles.igor
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Igor Pro default style.
|
|
|
|
|
2024-03-04 01:15:23 +08:00
|
|
|
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
|
2021-04-13 12:02:29 +08:00
|
|
|
:license: BSD, see LICENSE for details.
|
|
|
|
"""
|
|
|
|
|
|
|
|
from pygments.style import Style
|
|
|
|
from pygments.token import Keyword, Name, Comment, String
|
|
|
|
|
|
|
|
|
2024-03-04 01:15:23 +08:00
|
|
|
__all__ = ['IgorStyle']
|
|
|
|
|
|
|
|
|
2021-04-13 12:02:29 +08:00
|
|
|
class IgorStyle(Style):
|
|
|
|
"""
|
|
|
|
Pygments version of the official colors for Igor Pro procedures.
|
|
|
|
"""
|
|
|
|
|
2024-03-04 01:15:23 +08:00
|
|
|
name = 'igor'
|
|
|
|
|
2021-04-13 12:02:29 +08:00
|
|
|
styles = {
|
|
|
|
Comment: 'italic #FF0000',
|
|
|
|
Keyword: '#0000FF',
|
|
|
|
Name.Function: '#C34E00',
|
|
|
|
Name.Decorator: '#CC00A3',
|
|
|
|
Name.Class: '#007575',
|
|
|
|
String: '#009C00'
|
|
|
|
}
|