mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
IDEA-174127 diff: fix tooltip text in unified viewer
This commit is contained in:
+1
-1
@@ -1028,7 +1028,7 @@ public class EditorMarkupModelImpl extends MarkupModelImpl implements EditorMark
|
||||
final Object tooltipObject = highlighter.getErrorStripeTooltip();
|
||||
if (tooltipObject == null) continue;
|
||||
|
||||
final String text = tooltipObject.toString();
|
||||
final String text = tooltipObject instanceof HighlightInfo ? ((HighlightInfo)tooltipObject).getToolTip() : tooltipObject.toString();
|
||||
if (tooltips == null) {
|
||||
tooltips = new THashSet<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user