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

CSS 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 CSS 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 CSS file
      3) Place the following content in that file :

      body {
      	
      }
      

      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