Skip to content

Commit 0da18c3

Browse files
committed
Fix ST colormod parsing
1 parent 5d44541 commit 0da18c3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ColorHelper
22

3+
## 6.4.2
4+
5+
- **FIX**: Fix regression in Sublime ColorMod parsing.
6+
37
## 6.4.1
48

59
- **FIX**: Fix regression due to not accounting to API change when

custom/st_colormod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ def _match(cls, string, start=0, fullmatch=False, variables=None):
697697
if is_mod:
698698
if variables:
699699
string = handle_vars(string, variables)
700-
obj, match_end = ColorMod(fullmatch).adjust(string, start)
700+
obj, match_end = ColorMod(False).adjust(string, start)
701701
if obj is not None:
702702
return obj._space, obj[:-1], obj[-1], start, (end if end is not None else match_end)
703703
else:

support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import webbrowser
66
import re
77

8-
__version__ = "6.4.1"
8+
__version__ = "6.4.2"
99
__pc_name__ = 'ColorHelper'
1010

1111
CSS = '''

0 commit comments

Comments
 (0)