Bug 2280 - Undo does not jump to undone location (1GEK1G5)
Summary: Undo does not jump to undone location (1GEK1G5)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 6884 7173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:33 EDT by Kevin Haaland CLA
Modified: 2002-03-17 10:14 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2001-10-10 22:33:08 EDT
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:
Comment 1 DJ Houghton CLA 2001-10-29 18:04:45 EST
PRODUCT VERSION:
	Build 113

Comment 2 Kevin Haaland CLA 2002-01-21 21:37:46 EST
Can this defect report be closed?
Comment 3 Genady Beryozkin CLA 2002-02-01 16:48:56 EST
And the cursor does not follow the changes as well.
See http://bugs.eclipse.org/bugs/show_bug.cgi?id=7173
Comment 4 Kai-Uwe Maetzel CLA 2002-02-06 06:30:54 EST
*** Bug 6884 has been marked as a duplicate of this bug. ***
Comment 5 Kai-Uwe Maetzel CLA 2002-02-06 06:32:37 EST
*** Bug 7173 has been marked as a duplicate of this bug. ***
Comment 6 Genady Beryozkin CLA 2002-02-07 16:10:33 EST
This is not an enhancement, but a required feature of any editor.
I think you should promote it's severity.
Comment 7 Genady Beryozkin CLA 2002-03-11 01:35:18 EST
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.
Comment 8 Kai-Uwe Maetzel CLA 2002-03-17 10:14:36 EST
Build 20020318.