Aptana Studio
  1. Aptana Studio
  2. APSTUD-4299

Wrong lines are marked for tasks in CoffeeScript editor

    Details

      Description

      With some files the icons for tasks like TODOs and FIXMEs are shown on the wrong lines in the CoffeeScript editor's line number bar. The line numbers in the Tasks view is wrong too but corresponds mostly with the wrong linenumbers where the icons show up.

      With some files there are no tasks shown at all (they contain some of course)

      Steps to reproduce:
      1. Create a coffeescript file that contains the following code:

      number = 42
      opposite = true
      
      #TODO fix this line
      
      alert "I knew it!" if elvis?
      #FIXME THIS ONE TO.
      
      math =
           root: Math.sqrt
           square: square
           cube: (x) -> x * square x
      

      2. Save the file.

      Expected result: The task tags should properly mark the lines containing the tags.
      Actual result: The task tag markers mark the incorrect lines.

        Activity

        Hide
        Clayton Headley (Inactive) added a comment -

        Edited as part of bug scrub 5/16/2012.

        Show
        Clayton Headley (Inactive) added a comment - Edited as part of bug scrub 5/16/2012.

          People

          • Assignee:
            Praveen Innamuri
            Reporter:
            Raphael von der Grün
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development