This fixes some deprecation warnings related to Gtk.Color and restructures code and formatting according to pylint suggestions
25 lines
380 B
Python
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
|