Files
gajim-plugins/syntax_highlight/types.py
Daniel Brötzmann c60deaea19 [syntax_highlight] Fix deprecation warnings, fix pylint errors
This fixes some deprecation warnings related to Gtk.Color and restructures
code and formatting according to pylint suggestions
2019-05-08 11:53:13 +02:00

25 lines
380 B
Python

from enum import Enum
from enum import IntEnum
from enum import unique
PLUGIN_INTERNAL_NONE_LEXER_ID = '_syntax_highlight_internal_none_type'
class MatchType(Enum):
INLINE = 0
MULTILINE = 1
TEXT = 2
@unique
class LineBreakOptions(IntEnum):
NEVER = 0
ALWAYS = 1
MULTILINE = 2
@unique
class CodeMarkerOptions(IntEnum):
AS_COMMENT = 0
HIDE = 1