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

      Aptana Studio 3, build:
      Windows 7


      If you select a content block in the YAML editor and invoke commenting (CTRL+/), the editor will comment the selected block and deselect that content. This causes a problem insofar as it abrogates the editor option of uncommenting the appropriate content block.

      Steps to Replicate :

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

      receipt:     Oz-Ware Purchase Invoice
      date:        2007-08-06
          given:   Dorothy
          family:  Gale
          - part_no:   A4786
            descrip:   Water Bucket (Filled)
            price:     1.47
            quantity:  4
          - part_no:   E1628
            descrip:   High Heeled "Ruby" Slippers
            size:      8
            price:     100.27
            quantity:  1
      bill-to:  &id001
          street: |
                  123 Tornado Alley
                  Suite 16
          city:   East Centerville
          state:  KS
      ship-to:  *id001
      specialDelivery:  >
          Follow the Yellow Brick
          Road to the Emerald City.
          Pay no attention to the
          man behind the curtain.

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

      Actual Results :

      After step 5, the editor deselects the content block and leaves the caret at the top or bottom of that block, so that attempting to uncomment the content block will perform a second commenting action on the top / bottom line.

      Expected Results :

      If the editor retains the block selection, the end user will be able to comment / uncomment the content block with successive CTRL+/ entries.




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


              • Created:

                Git Source Code