Details

    • Story Points:
      5

      Description

      If you open an HTML file twice, once from the FileSystem node and once from the Project Explorer, then close one of those files, the colorization of the remaining file will disappear.

      Steps to Replicate :

      1) Open Aptana Studio
      2) Open an HTML file from the Local FileSystem node in Project Explorer
      3) Open the same file from Step 2 in a project
      4) Close one of the file instances

      Actual Results :

      Colorization will disappear from the remaining file instance.

      Expected Results :

      Colorization should remain.

        Issue Links

          Activity

          Hide
          Clayton Headley (Inactive) added a comment -

          Verified still an issue for bug scrub 5/14/12 using the above steps with Titanium Studio build: 2.0.2.201205111839.

          Show
          Clayton Headley (Inactive) added a comment - Verified still an issue for bug scrub 5/14/12 using the above steps with Titanium Studio build: 2.0.2.201205111839.
          Hide
          Michael Xia (Inactive) added a comment -

          Fixed so that the second instance of the file won't get opened in the editor when it points to the same underlying file. Pushed to development.

          Show
          Michael Xia (Inactive) added a comment - Fixed so that the second instance of the file won't get opened in the editor when it points to the same underlying file. Pushed to development.
          Hide
          Chris Williams added a comment -

          So I see that we're better about not opening a second editor instance, but I did find one edge case - File > Open URL...

          If you open an HTMl editor on a file in the workspace and then open the file using File > Open URL, a second instance is opened allowing you to get into this same error state once you close one of the editors.

          Show
          Chris Williams added a comment - So I see that we're better about not opening a second editor instance, but I did find one edge case - File > Open URL... If you open an HTMl editor on a file in the workspace and then open the file using File > Open URL, a second instance is opened allowing you to get into this same error state once you close one of the editors.
          Hide
          Chris Williams added a comment -

          I was able to reproduce this under the debugger, traced the code to JS debug code and then instituted the same fix of trying to resolve the IFileStore to an IFile if we can first.

          Show
          Chris Williams added a comment - I was able to reproduce this under the debugger, traced the code to JS debug code and then instituted the same fix of trying to resolve the IFileStore to an IFile if we can first.
          Hide
          Shalom Gibly added a comment -

          Verified as fixed on Aptana Studio 3, build: 3.3.0.201207301530

          Show
          Shalom Gibly added a comment - Verified as fixed on Aptana Studio 3, build: 3.3.0.201207301530

            People

            • Assignee:
              Michael Xia (Inactive)
              Reporter:
              Joel Witt (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: