-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compare with Clipboard in XML Editor is not working with a leading whitespace on the line #122
Comments
I can't reproduce. Does it happen with XML files only and with this specific editor only? Can you open this file in the default text editor and check if this works? |
Of course only the XML Editor is broken… With the Text Editor, the same test: produces the expected result: Our main use case is to use the "Compare with Clipboard" feature in the Maven Editor ("pom.xml" Tab) which is also broken. I realize that the problem might not be in the AnyEdit plugin but in the XML Editor. I hope you can help with the analysis. |
Please provide here exact editor ids which aren't OK for you. You can get them if you enter alt+shift+f1 being in the editor. Also please provide info from where one can install those editors. |
InstallationI have installed "Eclipse IDE for Java Developers" with the Oomph installer. I needed to additionally install the Plugin Selection Spy plugin (release train update site, First case: XML EditorThe active editor class: Create a new file Second case: Maven POM EditorThe active editor class: Create a new "Maven Project" open the Thank you in advance. |
I have a problem which is probably related: Compare with Clipboard does not work in JSP Editor if I try to compare against selection. Comparing with entire file (no selection is made) works fine. Also, the problem does not happen always. I don't know what makes the difference (it is not a matter of leading white space like in the original report). This happened in Eclipse Kepler Service Release 2 and now in Neon.1: Eclipse Java EE IDE for Web Developers. Version: Neon.1 Release (4.6.1) with: AnyEditTools 2.6.1.201602151951 AnyEditTools.feature.group Andrey Loskutov Editor is "JSP Editor": |
Just for your interest: I can confirm that this is still true with XML editors using Oxygen.2 and AnyEditTools 2.7.1. |
Step to reproduce
Create a simple XML file:
Copy "test" into the clipboard
(1) Select
"<item>first</item>"
(without any space) in the XML document, and select "Compare with > Clipboard". You get the expected result:(2) Now select the complete line
" <item>first</item>"
(with or without the line return character), select "Compare with > Clipboard" as in this screenshot:Nothing happened.
I do not see any Stacktrace or Error Log entry.
Tested with version 2.6.1.201602151951 of the AnyEdit Plugin.
Eclipse buildId 4.6.0.I20160606-1100 (Eclipse Neon Release)
win32 x86_64
JDK: jdk1.8.0_66
The text was updated successfully, but these errors were encountered: