Summary: | JFace Text Editor Leaves a Black Rectangle on Content Assist text insertion | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Scott Fairbrother <scottf> | ||||||||
Component: | UI | Assignee: | Kai-Uwe Maetzel <kai-uwe_maetzel> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | ||||||||||
Version: | 2.0 | ||||||||||
Target Milestone: | 2.0.1 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 2000 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Scott Fairbrother
2002-04-16 14:41:13 EDT
Created attachment 618 [details]
Black Rectangle Appears on Content Assist insertion
Created attachment 619 [details]
JFace Test Case - a "*.release" editor
No reproducible case. No other comparable reports. Closed. Please reopen if this is still happening. Kai - we still see this problem in the F2 drive. We think that the bug is reproducable, see attachment JFace Test Case that we sent on 4/16. Download as a zip file, extract it and import as an external plug-in from filesystem. Hi Kai - Re-created this same problem in F3 driver using the Java Editor Example. Steps to re-create: 1.) First change the the JavaEditor class to subclass to AbstractTextEditor public class JavaEditor extends AbstractTextEditor { 2.) Then Change the constructor to call initialize editor. public JavaEditor() { super(); initializeEditor(); } 3.) Then launch, create a project and then create a file with a .jav extension 4.) Select Content Assist on the editor menu. 5.) Double click on "abstract" proposal. See JavaDoc of IContextInformationValidator in GM5. Created attachment 1608 [details]
patch for ContextInformationPopup
Kai - I verified the fix on GM6. In addition the JavaEditor example is fixed too. I looked at the changes you made to the JavaCompletionProcessor.java and updated my completion processor similarly. I updated the Validator class to implement IContextInformationValidator, AND IContextInformationPresenter. I implemented the requisite updatePresentation method and it worked! Thank you very, very much for getting this fix done in time for the GM R2.0 build. Mit freundlichen Gruessen, Scott Reopened for 2.1 for fixing ContextInformationPopup as given by the attached patch. Patch applied to the 2.0.1 and the 2.1 stream. |