Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3292

XSLT Editor Inserts "\n"s Upon Uncommenting

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.4.201108101506
      Windows 7

      Description

      If you select a content block in the XSLT editor, invoke commenting (CTRL+/), then select all text and uncomment (CTRL+/), the editor will insert "\n"s in the text.

      Steps to Replicate :

      1) Open Aptana Studio
      2) Open an empty, saved XSLT file
      3) Place the following content in that file :

      <?xml version="1.0" encoding="UTF-8" ?>
       
      <xsl:stylesheet version="1.0"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       
          <xsl:output encoding="UTF-8" indent="yes" method="xml" />
       
          <xsl:template match="/">
          </xsl:template>
      </xsl:stylesheet>
      

      4) Select all content (CTRL+A)
      5) Invoke commenting (CTRL+/) to comment selected text
      6) Select all content again (CTRL+A)
      7) Invoke commenting again (CTRL+/) to uncomment selected text

      Actual Results :

      You will note the editor has inserted "\n"s into the content.

      Expected Results :

      Editor should maintain data integrity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                jwitt Joel Witt
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code