Aptana Studio
  1. Aptana Studio
  2. APSTUD-3021

Whitespace Error for Javascript Formatting

    Details

      Description

      The latest build broke the Aptana format (Source menu -> Format) when using .createDelegate().

      myVar.doSomething({
        foo: function()
        {
          var i = 0;
          var j = 2;
        }.createDelegate(this)
      });
      

      becomes

      myVar.doSomething({
      foo: function()
      {
      var i = 0;
      var j = 2;
      }.createDelegate(this)
      

        Issue Links

          Activity

          Hide
          Shalom Gibly added a comment -

          Resolved in APSTUD-3022
          Thanks Greg!

          Show
          Shalom Gibly added a comment - Resolved in APSTUD-3022 Thanks Greg!
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.4.201107211835
          Windows 7

          Entered content :

          myVar.doSomething({
            foo: function()
            {
              var i = 0;
              var j = 2;
            }.createDelegate(this)
          });
          

          and verified formatting (CNTL+Shift+F) adds indentation as appropriate.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.4.201107211835 Windows 7 Entered content : myVar.doSomething({ foo: function() { var i = 0; var j = 2; }.createDelegate(this) }); and verified formatting (CNTL+Shift+F) adds indentation as appropriate.

            People

            • Assignee:
              Shalom Gibly
              Reporter:
              Greg
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development