Skip to content

Commit

Permalink
Lower priority of SPOTLIGHT hilight tag (#637)
Browse files Browse the repository at this point in the history
Fixes #631
  • Loading branch information
tangledhelix authored Jan 2, 2025
1 parent 1bb36e8 commit 0f1a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guiguts/maintext.py
Original file line number Diff line number Diff line change
Expand Up @@ -3218,10 +3218,10 @@ def highlight_configure_tags(self, first_run: bool = False) -> None:
# ** THE ORDER MATTERS HERE **
#
for tag, colors in (
(HighlightTag.SPOTLIGHT, HighlightColors.SPOTLIGHT),
(HighlightTag.QUOTEMARK, HighlightColors.QUOTEMARK),
# "sel" is for active selections - don't override the default color
("sel", None),
(HighlightTag.SPOTLIGHT, HighlightColors.SPOTLIGHT),
(HighlightTag.PAREN, HighlightColors.PAREN),
(HighlightTag.CURLY_BRACKET, HighlightColors.CURLY_BRACKET),
(HighlightTag.SQUARE_BRACKET, HighlightColors.SQUARE_BRACKET),
Expand Down

0 comments on commit 0f1a65f

Please sign in to comment.