mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not change visited link color (otherwise library link becomes like source code link)
GitOrigin-RevId: acbbdfdb0f0cafe55977e102055b264add63506a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ab0c9b24c1
commit
f9f5528daf
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user