Do not change visited link color (otherwise library link becomes like source code link)

GitOrigin-RevId: acbbdfdb0f0cafe55977e102055b264add63506a
This commit is contained in:
Tagir Valeev
2020-04-17 06:14:17 +00:00
committed by intellij-monorepo-bot
parent ab0c9b24c1
commit f9f5528daf
2 changed files with 2 additions and 2 deletions
@@ -62,7 +62,7 @@ public class ExceptionInfo {
TextAttributes attributes = info.getLinkAttributes();
HyperlinkInfo hyperlink = HyperlinkInfoFactory.getInstance().createMultiplePsiElementHyperlinkInfo(info.myClasses);
int base = myClassNameOffset + offset;
return new Filter.Result(base, base + getExceptionClassName().length(), hyperlink, attributes);
return new Filter.Result(base, base + getExceptionClassName().length(), hyperlink, attributes, attributes);
}
@@ -98,7 +98,7 @@ public class ExceptionWorker {
elementMatcher == null || myInfo.lineNumber <= 0 ? null : new ExceptionColumnFinder(elementMatcher, myInfo.lineNumber - 1);
HyperlinkInfo linkInfo =
HyperlinkInfoFactory.getInstance().createMultipleFilesHyperlinkInfo(virtualFiles, myInfo.lineNumber - 1, myProject, columnFinder);
Filter.Result result = new Filter.Result(highlightStartOffset, highlightEndOffset, linkInfo, attributes);
Filter.Result result = new Filter.Result(highlightStartOffset, highlightEndOffset, linkInfo, attributes, attributes);
if (myMethod.startsWith("access$")) {
myLocationRefiner = elementMatcher;
}