 
       isEntryPoint = lineIsBlank and previousLineHadComment and not previousLineHadCode and pastIntroComments
       if isEntryPoint and lineHasChanged
+        # It might just be that the line was shifted around by the player inserting more code.
+        # We also look for the unchanged comment line in a new position to find what line we're really on.
         movedIndex = originalLines.indexOf previousLine
         if movedIndex isnt -1 and line is originalLines[movedIndex + 1]
           lineHasChanged = false

    null

  highlightEntryPoints: ->
    lines = @aceDoc.$lines
    originalLines = @spell.originalSource.split '\n'
    session = @aceSession

          isEntryPoint = true

      if isEntryPoint
        session.addGutterDecoration index, 'entry-point'
        unless seenAnEntryPoint
          session.addGutterDecoration index, 'next-entry-point'
          seenAnEntryPoint = true

