"Fossies" - the Fresh Open Source Software Archive

Member "eric6-20.8/eric/eric6/ThirdParty/Pygments/pygments/styles/abap.py" (2 May 2020, 751 Bytes) of package /linux/misc/eric6-20.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # -*- coding: utf-8 -*-
    2 """
    3     pygments.styles.abap
    4     ~~~~~~~~~~~~~~~~~~~~
    5 
    6     ABAP workbench like style.
    7 
    8     :copyright: Copyright 2006-2019 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
   15 
   16 
   17 class AbapStyle(Style):
   18     default_style = ""
   19     styles = {
   20         Comment:                'italic #888',
   21         Comment.Special:        '#888',
   22         Keyword:                '#00f',
   23         Operator.Word:          '#00f',
   24         Name:                   '#000',
   25         Number:                 '#3af',
   26         String:                 '#5a2',
   27 
   28         Error:                  '#F00',
   29     }