diff --git a/platform/analysis-api/src/com/intellij/codeInsight/lookup/LookupElementPresentation.java b/platform/analysis-api/src/com/intellij/codeInsight/lookup/LookupElementPresentation.java index c68bbbcb2ceb..be71b55143a3 100644 --- a/platform/analysis-api/src/com/intellij/codeInsight/lookup/LookupElementPresentation.java +++ b/platform/analysis-api/src/com/intellij/codeInsight/lookup/LookupElementPresentation.java @@ -253,8 +253,9 @@ public class LookupElementPresentation { public String toString() { return "TextFragment{" + "text='" + text + '\'' + - ", grayed=" + myGrayed + - ", fgColor=" + myFgColor + + (myGrayed ? ", grayed" : "") + + (myItalic ? ", italic" : "") + + (myFgColor != null ? ", fgColor=" + myFgColor : "") + '}'; }