TextAttributes (@NotNull RangeHighlighter range) { HyperlinkInfoTextAttributes attrs = range.getUserData(HYPERLINK); TextAttributes result = attrs == null ? null : attrs.followedHyperlinkAttributes(); if (result == null) { result = EditorColorsManager.getInstance().getGlobalScheme().getAttributes(CodeInsightColors.FOLLOWED_HYPERLINK_ATTRIBUTES); } return result; }