|
|
@ -133,7 +133,7 @@ public class ShowValueUtils { |
|
|
|
public static String updateHighlight(String str, String searchStr) { |
|
|
|
public static String updateHighlight(String str, String searchStr) { |
|
|
|
if (ITReplaceMainDialog.isMatched()) { |
|
|
|
if (ITReplaceMainDialog.isMatched()) { |
|
|
|
String result = str; |
|
|
|
String result = str; |
|
|
|
Pattern pattern = Pattern.compile(changeRegex(searchStr)); |
|
|
|
Pattern pattern = containPattern; |
|
|
|
Matcher matcher = pattern.matcher(str); |
|
|
|
Matcher matcher = pattern.matcher(str); |
|
|
|
String head = "<font color = 'rgb(61,153,249)'>"; |
|
|
|
String head = "<font color = 'rgb(61,153,249)'>"; |
|
|
|
String tail = "</font>"; |
|
|
|
String tail = "</font>"; |
|
|
|