Aptana Studio
  1. Aptana Studio
  2. APSTUD-3293

Editors Do Not Retain Text Selection After Block Commenting

    Details

    • Type: Bug Bug
    • 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 block of text and invoke commenting (CTRL+/), the Aptana editors do not maintain the previous text selection. This can cause problems if the user then tries to toggle the commenting (CTRL+/ again). This is the master record for the problem, with sub-tickets issued for each language.

      1.
      Beaver Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      2.
      CSS Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      3.
      CoffeeScript Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      4.
      DTD Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      5.
      HAML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      6.
      HTML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      7.
      XHTML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      8.
      IDL Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      9.
      JSON Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      10.
      JavaScript Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      11.
      PHP Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      12.
      RHTML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      13.
      RXML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      14.
      Ruby Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      15.
      SVG Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      16.
      Sass Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      17.
      XML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      18.
      XSLT Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       
      19.
      YAML Editor Does Not Retain Text Selection After Comment Invocation Technical task Closed Chris Williams
       

        Activity

        Hide
        Chris Williams added a comment -

        Re-opening because the individual cases where we do line prefixes was broken

        Show
        Chris Williams added a comment - Re-opening because the individual cases where we do line prefixes was broken
        Hide
        Chris Williams added a comment -

        Pushed fix for the line prefix cases to development. I had fixed the case where a language had and used actual block comments, (i.e. /* */), but languages that only had line based comment prefixes was broken (i.e. YAML).

        Show
        Chris Williams added a comment - Pushed fix for the line prefix cases to development. I had fixed the case where a language had and used actual block comments, (i.e. /* */), but languages that only had line based comment prefixes was broken (i.e. YAML).
        Hide
        Ingo Muschenetz added a comment -

        Chris, thoughts on putting this in 3.0.5? Risky? Safe?

        Show
        Ingo Muschenetz added a comment - Chris, thoughts on putting this in 3.0.5? Risky? Safe?
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.5.201108261836
        Ubuntu 10.10

        All sub-task editors now retain text selection after comment invocation.

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108261836 Ubuntu 10.10 All sub-task editors now retain text selection after comment invocation.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development