Community
Participate
Working Groups
When you undo something, the undo action is performed but the position at which the operation occurred is not made visible in the active editor view. To reproduce: Double-click on a (fairly large) *.java resource to open an editor view. Make some changes spread throughout the file on distict visible screen "pages". Hit undo (Ctrl-Z, context-menu or menuitem) several times. Note that though the changes have been undone, the editor view was not scrolled to each change as it was undone. It may be difficult to see that the changes were undone as there was no visual confirmation that the undo action took place. JB (30/05/2001 3:57:26 PM) NOTES:
PRODUCT VERSION: Build 113
Can this defect report be closed?
And the cursor does not follow the changes as well. See http://bugs.eclipse.org/bugs/show_bug.cgi?id=7173
*** Bug 6884 has been marked as a duplicate of this bug. ***
*** Bug 7173 has been marked as a duplicate of this bug. ***
This is not an enhancement, but a required feature of any editor. I think you should promote it's severity.
the problem is in SWT's StyledText class. see last line of StyledText.replaceTextRange() which is used by undo functions. the argument is always false. Probably two overloaded methods are needed to allow to specify that argument.
Build 20020318.