summaryrefslogtreecommitdiff
path: root/pygments/styles/igor.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-10 10:58:11 +0100
committerGeorg Brandl <georg@python.org>2014-01-10 10:58:11 +0100
commit235425acf143fdb6b5c6ad6b0711ff416d9c005e (patch)
tree84c739837b1879ec6ba82c0cefe8f411aba4f423 /pygments/styles/igor.py
parent4a1bb02e0d644f50a009fefddb14b470d61ce870 (diff)
parent124cb233fdc3e9bde8c20e89de6e31c56c704eb1 (diff)
downloadpygments-235425acf143fdb6b5c6ad6b0711ff416d9c005e.tar.gz
merge with Igor enhancements from t-b/pygments-main/igor-pro-changes-v2 (pull request #250)
Diffstat (limited to 'pygments/styles/igor.py')
-rw-r--r--pygments/styles/igor.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/pygments/styles/igor.py b/pygments/styles/igor.py
new file mode 100644
index 00000000..05dae1bc
--- /dev/null
+++ b/pygments/styles/igor.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+"""
+ pygments.styles.igor
+ ~~~~~~~~~~~~~~~~~~~~
+
+ Igor Pro default style.
+
+ :copyright: Copyright 2006-2014 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'
+ }