Skip to content

Compare with Clipboard in XML Editor is not working with a leading whitespace on the line #122

@jmini

Description

@jmini

Step to reproduce
Create a simple XML file:

<?xml version="1.0" encoding="UTF-8"?>
<root>
 <item>first</item>
    <item>second</item>
</root>

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:

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:

line

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions