|Redraw problem after a refactoring [message #818733]
||Mon, 12 March 2012 03:32
| Andrew Eisenberg
Registered: July 2009
One of my users of Groovy-Eclipse is reporting this problem:|
When I perform an extract local variable refactoring action on a Groovy class within my Grails app, the refactoring works (if I close the file and re-open it, the variable is present in the code and has the right code snippet assigned to it), but if I don't close the file, the display of the file within Eclipse appears to transition back and forth between the original version and the refactored version. The changes seem to happen when I scroll (which seems to only affect lines that are exiting/entering the screen) or click on different lines (which affects the lines I'm coming from and going to, but sometimes also other lines) and maybe also when I mouse-over on a variable or method. I haven't figured out a pattern for when it shows the original version of a line and when it shows the new version.
This incorrect and unstable view will continue until I either close and re-open the file (in which case the display is fully normal with the refactored code visible) or undo the refactoring (which immediately eliminates the instability).
This looks to me like an SWT issue, but I can't reproduce it locally and I have had a look on bugzilla for Win XP issues. However, I have not found anything useful. Does anyone have an idea? Thanks.
Powered by FUDForum
. Page generated in 0.17510 seconds