Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
borland.py54 linesDownload Raw Back to styles
1"""2    pygments.styles.borland3    ~~~~~~~~~~~~~~~~~~~~~~~4 5    Style similar to the style used in the Borland IDEs.6 7    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.8    :license: BSD, see LICENSE for details.9"""10 11from pygments.style import Style12from pygments.token import Keyword, Name, Comment, String, Error, \13     Number, Operator, Generic, Whitespace14 15 16__all__ = ['BorlandStyle']17 18 19class BorlandStyle(Style):20    """21    Style similar to the style used in the borland IDEs.22    """23    name = 'borland'24 25    styles = {26        Whitespace:             '#bbbbbb',27 28        Comment:                'italic #008800',29        Comment.Preproc:        'noitalic #008080',30        Comment.Special:        'noitalic bold',31 32        String:                 '#0000FF',33        String.Char:            '#800080',34        Number:                 '#0000FF',35        Keyword:                'bold #000080',36        Operator.Word:          'bold',37        Name.Tag:               'bold #000080',38        Name.Attribute:         '#FF0000',39 40        Generic.Heading:        '#999999',41        Generic.Subheading:     '#aaaaaa',42        Generic.Deleted:        'bg:#ffdddd #000000',43        Generic.Inserted:       'bg:#ddffdd #000000',44        Generic.Error:          '#aa0000',45        Generic.Emph:           'italic',46        Generic.Strong:         'bold',47        Generic.EmphStrong:     'bold italic',48        Generic.Prompt:         '#555555',49        Generic.Output:         '#888888',50        Generic.Traceback:      '#aa0000',51 52        Error:                  'bg:#e3d2d2 #a61717'53    }54 
codekingpro/portable-devtools · Team Ai