| Summary: | [content assist] Code Assist Item has wrong layout. Not displaying properly when containing proposal with multiple lines | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Vlado Pakan <vpakan> | ||||
| Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, remy.suen, thatnitind | ||||
| Version: | 3.7.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Vlado Pakan
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. |