From 96fc899b07962573ef50865016d1bd86f2e5620c Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Tue, 17 Oct 2023 12:27:05 +0200 Subject: [PATCH] fix: make Qute TextAttributeKeys unique (hopefully) Signed-off-by: Fred Bricon --- .../lang/highlighter/QuteHighlighterColors.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/redhat/devtools/intellij/qute/lang/highlighter/QuteHighlighterColors.java b/src/main/java/com/redhat/devtools/intellij/qute/lang/highlighter/QuteHighlighterColors.java index 27fff2215..2024b3f38 100644 --- a/src/main/java/com/redhat/devtools/intellij/qute/lang/highlighter/QuteHighlighterColors.java +++ b/src/main/java/com/redhat/devtools/intellij/qute/lang/highlighter/QuteHighlighterColors.java @@ -22,18 +22,18 @@ */ public class QuteHighlighterColors { - public static final TextAttributesKey COMMENT = TextAttributesKey.createTextAttributesKey("COMMENT", DefaultLanguageHighlighterColors.LINE_COMMENT); + public static final TextAttributesKey COMMENT = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.COMMENT", DefaultLanguageHighlighterColors.LINE_COMMENT); - public static final TextAttributesKey QUTE_EDGE = TextAttributesKey.createTextAttributesKey("EXPRESSION", XmlHighlighterColors.XML_TAG); + public static final TextAttributesKey QUTE_EDGE = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.EXPRESSION", XmlHighlighterColors.XML_TAG); - public static final TextAttributesKey SECTION_TAG_NAME = TextAttributesKey.createTextAttributesKey("SECTION_TAG_NAME", XmlHighlighterColors.XML_TAG_NAME); + public static final TextAttributesKey SECTION_TAG_NAME = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.SECTION_TAG_NAME", XmlHighlighterColors.XML_TAG_NAME); - public static final TextAttributesKey STRING = TextAttributesKey.createTextAttributesKey("STRING", XmlHighlighterColors.XML_ATTRIBUTE_VALUE); + public static final TextAttributesKey STRING = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.STRING", XmlHighlighterColors.XML_ATTRIBUTE_VALUE); - public static final TextAttributesKey NUMERIC = TextAttributesKey.createTextAttributesKey("NUMERIC", DefaultLanguageHighlighterColors.NUMBER); + public static final TextAttributesKey NUMERIC = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.NUMERIC", DefaultLanguageHighlighterColors.NUMBER); - public static final TextAttributesKey BOOLEAN = TextAttributesKey.createTextAttributesKey("BOOLEAN", DefaultLanguageHighlighterColors.KEYWORD); + public static final TextAttributesKey BOOLEAN = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.BOOLEAN", DefaultLanguageHighlighterColors.KEYWORD); - public static final TextAttributesKey KEYWORD = TextAttributesKey.createTextAttributesKey("KEYWORD", DefaultLanguageHighlighterColors.KEYWORD); + public static final TextAttributesKey KEYWORD = TextAttributesKey.createTextAttributesKey("QUTE_TOOLS.KEYWORD", DefaultLanguageHighlighterColors.KEYWORD); }