Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4299

Wrong lines are marked for tasks in CoffeeScript editor

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: None
    • Component/s: CoffeeScript, Editor, Tasks
    • Environment:

      Windows Vista Business x86 SP2

      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.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              rvondergruen Raphael von der Grün
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code