[syntax_highlight] Integrate with master branch
This commit contains all changes starting with the first integration of the plugin into the gajim_1.1 branch (76dabe2) until the current plugin version V3 (42b9aeb). The manifest.ini is updated for compatibility with upcoming Gajim versions.
This commit is contained in:
committed by
Florian Münchbach
parent
8564889924
commit
1b7442fc20
21
syntax_highlight/types.py
Normal file
21
syntax_highlight/types.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from enum import Enum, IntEnum, 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user