eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
189 stars 70 forks source link

Paste text into html file adds tabs in front #1525

Open mr-bre opened 5 months ago

mr-bre commented 5 months ago

When some text is paste into a html file it adds extra tabs in front of the inserted text in length of the indention of the target line expect the text is inserted in between the indent and text of that line. In the screenshot i copied "world" and pasted it at the end of the line right after </h1>. That inserts "  world" instead of "world". Same thing when pasting in the middle of this or an other line in a html file. Even if the pasted text is copied from another source or program. The text is left padded at the insert/paste action.

image

I could track down the issue possibly has something to do/or not to do with TextMate Core. The issue exists when TextMate Core is not installed and also when TextMate Core 0.10 from the latest Eclipse updates is installed but not when Version 0.6 from WWD 1.3.3 "Transitive Dependencies" is installed.

This is an issue because TextMate Core 0.6 is not a dependency of WWD and WWD can be installed in an existing Eclipse environment without TextMate Core 0.6. Also an update of Eclipse will install TextMate Core 0.10 and will cause that issue.

Installation w/ issue: image

Installation w/o issue: image

mattcoz commented 2 months ago

I have this same issue in other editors too. JSP, JavaScript, CSS, etc. I ended up disabling all indentation rules in TextMate for these editors to get around the issue, but it seems like there should be a real fix.

mickaelistria commented 2 months ago

Can you please then report this issue to Eclipse TM4E project?