Community
Participate
Working Groups
When I edit any Java file and press the tab key when not in the top of the file, the editor flickers and shows the top of the file briefly, then it returns to the correct position again. This is with 3.0M4 and didnt happen in 3.0M3. Running RedHat9 2.4.20-20.9 using eclipse-SDK-3.0M4-linux-gtk.zip under KDE 3.1.4
Can be reproduced. Syntax coloring is also temporary removed. Also happens when using Ctrl+i or format.
same happens (even worse) under motif.
*** Bug 45097 has been marked as a duplicate of this bug. ***
IndentAction.run() does a IRewriteTarget.setRedraw(false); before and IRewriteTarget.setRedraw(true); after the editing the document. Dani, do you know of any issues with setRedraw on Linux?
*** This bug has been marked as a duplicate of 26153 ***
Sure you guys want to mark this as a duplicate of 26153 ?? That bug deals with, maybe a somewhat similar problem, but that is v2.1 and this is 3.0M4 (and not 3.0M3)?
The underlying problem is the same: setRedraw is not implemented. I agree that this is a major problem, but its the same story. To get around the problem when pressing TAB, you can turn off in the preferences Java->Work in Progress->Smart Tab. It will still flicker when using Comment or Correct Indent.
*** Bug 49205 has been marked as a duplicate of this bug. ***
This bug seemed gone again in the 3.0M6 builds, I verified that the SmartTab was enabled while I did the testing.
We have disabled the setRedraw() call for viewers on linux. This gets rid of the flashing, but slows down some operations that involve many small document changes like 'Shift Right / Left', 'Comment' etc. As a consequence of the change, you might see the document being changed line by line when executing those operations.