History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17998
Type: Bug Bug
Status: Open Open
Assignee: Dmitry Jemerov
Reporter: Anthony Holland
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Compare pane does not persist space-only changes moved into destination pane

Created: 02 May 08 17:19   Updated: 03 May 08 19:07
Component/s: Editor. Editing Text

File Attachments: 1. File move_line.BMP (250 kb)

Environment: WinXP

Build: 7,718
Severity: Low


 Description  « Hide
Compare the contents of two files (xml or properties in my experience) that are similar, putting the contents of one on the clipboard and selecting the other in the editor in the normal fashion.

The files should be nearly identical apart from one of the lines of the clipboard side having some extra spaces on the end of the line. Assuming the destination file is writable, and you are comparing with "Do not ignore whitespace" , you should be able to press a right-arrow button in the mid-margin to overwrite the line in the destination file with the source version (which has the extra spaces on the end).

Now close the comparison pane and save the destination file. Now do the compare again. You will notice that you are back to your original situation, because the extra spaces were not saved.



 All   Comments   Work Log   Change History      Sort Order:
Anthony Holland - 02 May 08 17:26
The spaces included a tab in the example I have pictured. It may be the tab that is causing the problem if it is being translated into something different in the destination file.