         break
     @settingsView = new BreakpointSettingsView({breakpoint:breakpoint,context:@GlobalContext})
     @settingsView.attach()
-  
+
   createGutters: (create,recreate) ->
     editors = atom.workspace.getTextEditors()
     for editor in editors

        for breakpoint in event.removed
          if breakpoint.getMarker()
            breakpoint.getMarker().destroy()
            
    atom.workspace.observeTextEditors (editor) =>
      if (atom.config.get('php-debug.GutterBreakpointToggle'))
        @createGutter editor
      else 
        for breakpoint in @GlobalContext.getBreakpoints()
          if breakpoint.getPath() == editor.getPath()
            marker = @addBreakpointMarker(breakpoint.getLine(), editor)
            breakpoint.setMarker(marker)
            
    atom.config.observe "php-debug.GutterBreakpointToggle", (newValue) =>
      @createGutters newValue    
        
    atom.config.observe "php-debug.GutterPosition", (newValue) =>
      @createGutters atom.config.get('php-debug.GutterBreakpointToggle'),true


        type = point.getType?() ? 'generic'
        @currentCodePointDecoration = editor.decorateMarker(marker, {type: 'line', class: 'debug-break-'+type})
        editor.scrollToBufferPosition([line-1,0])
      atom.focus()
      @GlobalContext.getCurrentDebugContext().syncCurrentContext(point.getStackDepth())

  addBreakpointMarker: (line, editor) ->
    gutter = editor.gutterWithName("php-debug-gutter")
    range = [[line-1, 0], [line-1, 0]]

    marker = new BreakpointMarker(editor,range,gutter)
    marker.decorate()

    return marker


  breakpointSettings: ->
    BreakpointSettingsView = require './breakpoint/breakpoint-settings-view'
