Community
Participate
Working Groups
Build Identifier: M20110909-1335 When Content Assist Window contains quite a long item displayed within 2 lines only first line of item text is visible completely. Second line is displayed just partially. See attached screenshot. Reproducible: Always
Created attachment 208578 [details] Error Screenshot - Last item of Content Assist Window is nod displayed completely.
The content assist infrastructure is built for single line entries i.e. the proposal's display string should not contain newline characters. This should be fixed by the plug-in that contributes the proposals. Note that if colored labels get disabled, then the platform behavior is to simply remove/ignore the newlines which puts the string on one line but which might not be too readable as well. We could do the same for colored labels in org.eclipse.jface.internal.text.TableOwnerDrawSupport but this would slow down content assist for a corner case which is not even supported.