diff --git a/RegExpSupport/src/org/intellij/lang/regexp/inspection/custom/RegExpInspectionConfigurationCellRenderer.java b/RegExpSupport/src/org/intellij/lang/regexp/inspection/custom/RegExpInspectionConfigurationCellRenderer.java index be2e809046e6..c778ff4a653b 100644 --- a/RegExpSupport/src/org/intellij/lang/regexp/inspection/custom/RegExpInspectionConfigurationCellRenderer.java +++ b/RegExpSupport/src/org/intellij/lang/regexp/inspection/custom/RegExpInspectionConfigurationCellRenderer.java @@ -1,4 +1,4 @@ -// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.intellij.lang.regexp.inspection.custom; import com.intellij.icons.AllIcons; @@ -26,16 +26,17 @@ public class RegExpInspectionConfigurationCellRenderer extends ColoredListCellRe setIcon((fileType == null) ? AllIcons.FileTypes.Any_type : fileType.getIcon()); final String regExp = value.regExp(); final String replacement = value.replacement(); - append("'", SimpleTextAttributes.GRAY_ATTRIBUTES); + append("/", SimpleTextAttributes.GRAY_ATTRIBUTES); if (replacement != null) { append(shortenTextWithEllipsis(regExp, 49, 0, true), SimpleTextAttributes.REGULAR_ATTRIBUTES); - append("' ⇨ '", SimpleTextAttributes.GRAY_ATTRIBUTES); + append("/ ⇨ '", SimpleTextAttributes.GRAY_ATTRIBUTES); append(shortenTextWithEllipsis(replacement, 49, 0, true), SimpleTextAttributes.REGULAR_ATTRIBUTES); + append("'", SimpleTextAttributes.GRAY_ATTRIBUTES); } else { append(shortenTextWithEllipsis(regExp, 100, 0, true), SimpleTextAttributes.REGULAR_ATTRIBUTES); + append("/", SimpleTextAttributes.GRAY_ATTRIBUTES); } - append("'", SimpleTextAttributes.GRAY_ATTRIBUTES); setEnabled(list.isEnabled()); } }