Strange Indentation Behavior - eclipse
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Sat Sep 01, 2007 4:48 am
Strange Indentation Behavior - eclipse
In a fresh install of eclipse 3.3 on WinXP and with no other plugins except oXygen installed, I'm seeing very strange indentation behavior. If this is an option or feature, I can't find it on a dialog.
Let's say I have the following two lines:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
I place the cursor at the position 1 on the second line and I hit the enter key. The result is that Oxygen indents the second line after adding the line break. So I get this:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
And then I have to hit the backspace key. I'm going to wear out my backspace key. I'm so tired of hitting it! Also, if I paste text, it is always indented one more level than what it was when I copied it.
This doesn't happen in any documents that are handled by other eclipse editors. .htm documents work just fine. This only happens in .xml, .xslt, etc documents handled by oxygen.
Let's say I have the following two lines:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
I place the cursor at the position 1 on the second line and I hit the enter key. The result is that Oxygen indents the second line after adding the line break. So I get this:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
And then I have to hit the backspace key. I'm going to wear out my backspace key. I'm so tired of hitting it! Also, if I paste text, it is always indented one more level than what it was when I copied it.
This doesn't happen in any documents that are handled by other eclipse editors. .htm documents work just fine. This only happens in .xml, .xslt, etc documents handled by oxygen.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Thank you for reporting the problem. The indentation is inserted only when the cursor is at position 1 on a line. We will fix the problem.
Regards,
Sorin
Thank you for reporting the problem. The indentation is inserted only when the cursor is at position 1 on a line. We will fix the problem.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Strange Indentation Behavior - eclipse
Post by sorin_ristache »
Hello,
Regards,
Sorin
We fixed the indent problem in a previous version. You can test the latest version from the Download page.enave wrote:I place the cursor at the position 1 on the second line and I hit the enter key. The result is that Oxygen indents the second line after adding the line break. So I get this:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
And then I have to hit the backspace key.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service