Details

    • Type: Technical task Technical task
    • Status: Closed
    • Priority: None None
    • 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 RXML 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 RXML file
      3) Place the following content in that file :

      xml.instruct!
      xml.comment! "a comment"
      xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
        xml.title "My Atom Feed"
        xml.subtitle h(@feed.subtitle), "type" => 'html'
        xml.link url_for( :only_path => false, 
                          :controller => 'feed',
                          :action => 'atom' )
        xml.updated @updated.iso8601
        xml.author do
          xml.name "Jens-Christian Fischer"
          xml.email "jcfischer@gmail.com"
        end
        @entries.each do |entry|
          xml.entry do
            xml.title entry.title
            xml.link "href" => url_for ( :only_path => false,
                                         :controller => 'entries',
                                         :action => 'show',
                                         :id => entry )
            xml.id entry.urn
            xml.updated entry.updated.iso8601
            xml.summary h(entry.summary)
          end
        end
      end
      

      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.

        Activity

        Hide
        Ingo Muschenetz added a comment -

        See parent issue for any comments.

        Show
        Ingo Muschenetz added a comment - See parent issue for any comments.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.5.201108231934
        Windows 7

        Editor retains text selection after block commenting.

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108231934 Windows 7 Editor retains text selection after block commenting.

          People

          • Assignee:
            Chris Williams
            Reporter:
            Joel Witt (Inactive)
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: