TextAttributes (Editor editor) { TextAttributesKey key = isInExecutionPointHighlight() ? DebuggerColors.INLINED_VALUES_EXECUTION_LINE : DebuggerColors.INLINED_VALUES; EditorColorsScheme scheme = editor.getColorsScheme(); TextAttributes inlinedAttributes = scheme.getAttributes(key); if (isHovered) { TextAttributes hoveredInlineAttr = new TextAttributes(); hoveredInlineAttr.copyFrom(inlinedAttributes); Color hoveredAndSelectedColor = scheme.getAttributes(DebuggerColors.EXECUTIONPOINT_ATTRIBUTES).getForegroundColor(); Color foregroundColor = isInExecutionPointHighlight() ? hoveredAndSelectedColor : scheme.getAttributes(REFERENCE_HYPERLINK_COLOR).getForegroundColor(); if (foregroundColor == null) foregroundColor = scheme.getDefaultForeground(); hoveredInlineAttr.setForegroundColor(foregroundColor); return hoveredInlineAttr; } return inlinedAttributes; }