~ubuntu-branches/ubuntu/raring/wxwidgets2.8/raring

« back to all changes in this revision

Viewing changes to wxPython/wx/tools/Editra/src/extern/pygments/styles/borland.py

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-07 13:59:25 UTC
  • mfrom: (1.1.9) (5.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120107135925-2601miy9ullcon9j
Tags: 2.8.12.1-6ubuntu1
* Resync from Debian, changes that were kept:
  - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be
    built, as this is required by some applications (LP: #632984)
  - debian/control: Build-dep on libxt-dev for mediactrl.
  - Patches
    + fix-bashism-in-example
* Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion
  to guarantee upgrade ordering when moving from pycentral to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
"""
 
3
    pygments.styles.borland
 
4
    ~~~~~~~~~~~~~~~~~~~~~~~
 
5
 
 
6
    Style similar to the style used in the Borland IDEs.
 
7
 
 
8
    :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS.
 
9
    :license: BSD, see LICENSE for details.
 
10
"""
 
11
 
 
12
from pygments.style import Style
 
13
from pygments.token import Keyword, Name, Comment, String, Error, \
 
14
     Number, Operator, Generic, Whitespace
 
15
 
 
16
 
 
17
class BorlandStyle(Style):
 
18
    """
 
19
    Style similar to the style used in the borland IDEs.
 
20
    """
 
21
 
 
22
    default_style = ''
 
23
 
 
24
    styles = {
 
25
        Whitespace:             '#bbbbbb',
 
26
 
 
27
        Comment:                'italic #008800',
 
28
        Comment.Preproc:        'noitalic #008080',
 
29
        Comment.Special:        'noitalic bold',
 
30
 
 
31
        String:                 '#0000FF',
 
32
        String.Char:            '#800080',
 
33
        Number:                 '#0000FF',
 
34
        Keyword:                'bold #000080',
 
35
        Operator.Word:          'bold',
 
36
        Name.Tag:               'bold #000080',
 
37
        Name.Attribute:         '#FF0000',
 
38
 
 
39
        Generic.Heading:        '#999999',
 
40
        Generic.Subheading:     '#aaaaaa',
 
41
        Generic.Deleted:        'bg:#ffdddd #000000',
 
42
        Generic.Inserted:       'bg:#ddffdd #000000',
 
43
        Generic.Error:          '#aa0000',
 
44
        Generic.Emph:           'italic',
 
45
        Generic.Strong:         'bold',
 
46
        Generic.Prompt:         '#555555',
 
47
        Generic.Output:         '#888888',
 
48
        Generic.Traceback:      '#aa0000',
 
49
 
 
50
        Error:                  'bg:#e3d2d2 #a61717'
 
51
    }