Bug 551827 - Redo Undo do not work poroperly.
Summary: Redo Undo do not work poroperly.
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
: 571395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-07 05:16 EDT by John smith CLA
Modified: 2021-02-24 13:52 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John smith CLA 2019-10-07 05:16:08 EDT
Redo Undo do not work poroperly with mistakes.
please fix.

-- Configuration Details --
Product: Eclipse IDE 4.13.0.20190917-0000 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.jdt 3.18.100.v20190916-1045
Versioning Plugin:
 org.eclipse.platform 4.13.0.v20190916-1323
Comment 1 John smith CLA 2019-10-07 05:23:22 EDT
Redo Undo do not work properly on text editor with many mistakes.
please fix.
Comment 2 Andrey Loskutov CLA 2019-10-07 05:27:15 EDT
Please provide steps to reproduce.
Comment 3 John smith CLA 2019-10-08 09:22:08 EDT
I used php extension and I used the php editor for files to edit.
When I used the undo redo for the editor, it missed undo redo for the editor and screwed with jammed results for the functions. It was after I used RSE sync and used too much memory, so the bugs were made by the short of the memory. But, it keeps making malfunctions with bugs after while. Please check the bugs.
Comment 4 Karsten Thoms CLA 2019-10-08 10:10:30 EDT
So is it a problem in the PHP extension, a memory problem or what? I fear there is not enough details in this to make this reproducible. So which bugs should be checked exactly? Without information how your problem could ever be reproduced there is no chance in fixing. So please be so kind and provide more details.
Comment 5 John smith CLA 2019-10-10 02:43:29 EDT
 IDE: Version: 2019-09 R (4.13.0)
Plugin:
 Eclipse PDT,PDT UI Plug-in,6.3.0.201909061650,org.eclipse.php
 Eclipse PDT,PTP PDT Synchronization Support UI	6.3.0.201909061650	org.eclipse.php.rdt.sync


it a problem in the PHP extension, IDE, and PHP editor which maybe caused by luck of memory because RSE sync used much of the memory.

First, I edited a php file -> correct errors on the class functions -> when I undo and redo the misspells, it messed up the result with something like '$a = $vartime() . "hi"' instead of '$a = $varname . $varname2 . time() . "hi"'.

Can you fix the bugs please.
Comment 6 John smith CLA 2019-10-19 02:23:54 EDT
The error happens on multiple lines whatever I edit and used undo and redo function.
Comment 7 Dawid Pakula CLA 2020-01-09 15:20:36 EST
Hmm I'm not sure. When you are using PTP, RSE have nothing to do (PTP internally use SSH+GIT). Some memory/cpu problems has been fixed in 2019-12 but I think it's not related to editor itself.

I need:
1. Example line (lines) before edit
2. how you edit (ctrl+c, ctrl+v / CodeAssist / another keyboard action)
3. What how it look after edit
4. Did you save after edit?
Comment 8 John smith CLA 2020-03-09 06:03:43 EDT
1. Example line (lines) before edit

First, I edited a php file -> correct errors on the class functions -> when I undo and redo the misspells, it messed up the result with something like '$a = $vartime() . "hi"' instead of '$a = $varname . $varname2 . time() . "hi"'.

2. how you edit (ctrl+c, ctrl+v / CodeAssist / another keyboard action)

ctrl+c, ctrl+v / CodeAssist

3. What how it look after edit

 '$a = $vartime() . "hi"' instead of '$a = $varname . $varname2 . time() . "hi"'.

4. Did you save after edit?

Yes
Comment 9 John smith CLA 2020-03-09 06:04:14 EDT
1. Example line (lines) before edit

First, I edited a php file -> correct errors on the class functions -> when I undo and redo the misspells, it messed up the result with something like '$a = $vartime() . "hi"' instead of '$a = $varname . $varname2 . time() . "hi"'.

2. how you edit (ctrl+c, ctrl+v / CodeAssist / another keyboard action)

ctrl+c, ctrl+v / CodeAssist

3. What how it look after edit

 '$a = $vartime() . "hi"' instead of '$a = $varname . $varname2 . time() . "hi"'.

4. Did you save after edit?

Yes
Comment 10 Dawid Pakula CLA 2020-03-24 09:41:33 EDT
I'm still not able to reproduce. Could you upload your file (before and after).
Comment 11 Dawid Pakula CLA 2020-04-01 04:16:26 EDT
I had this problem with HTML editor yesterday. Might be related to bug 191754 and/or bug 138100.

I still haven't reproducible steps for that.
Comment 12 Rolf Theunissen CLA 2021-02-24 13:52:12 EST
*** Bug 571395 has been marked as a duplicate of this bug. ***