-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Compare removes random tags #105
Comments
@psi5asp , |
Sorry for the delay. Unfortunately I can't send the test files, but here is a sample example (no editing was done, just running compare): done via RDP to Windows 2012 Server (locally works fine otherwise): Before: After: |
Hi @psi5asp ,
But you have shared the files contents (the screenshots) so why can't you send two files containing what's on the screen?
It is not relevant but both files seem edited (the tab symbols are red). Just saying ... It looks like you have selected the |
-> no editing was done between before and after is what I meant. So no, there was no single space entered manually between the shots. I'll try saving them both beforehand and see if it makes a difference for troubleshooting. These were done via the menu using the mouse, no shortcuts were used. |
It appears to remove characters only when in split view. It appears that the text is scanned in some way prior to an operation (eg saving a modified file, comparing, etc.) when in split view, which causes only certain characters to be removed just before that operation is actioned (eg just before saving, it removes the character(s). Normal Notepad++ editing works fine, saves fine, changes are retained, etc. However, when using the Compare 2 screen mode , when adding/editing a file it removes certain characters (like ">) when saving the modified file or doing the compare. I've replicated it on the local machine however it seems random. I checked it 5 times (eg inserting ">) and had the issue (saving or comparing removed the ">), but now when checking again it doesn't have the issue. I'll see if I can check on another machine as well. |
Sorry, I didn't understand you explanation at all. |
When comparing some XML/SQL text files, this plugin removes certain tags from the compared file.
I had 2 configs files, with slight setting differences, ran this compare and it removed the SQL UNION command for some reason. I've also noticed it removed a WHERE (SQL) command from the right text file.
I've also seen it remove a XML tag <Settings ......text...> or other <> tags.
Using N++ 7.8.2
Plugin version: Compare 2.0.0
The text was updated successfully, but these errors were encountered: