 
   hook 'populate', 0, ->
     @markedLines = {}
+    @markedBlocks = {}; @markedBlockKey = 0
     @extraMarks = {}
 
   Editor::getHighlightPath = (model, style) ->


    @redrawMain()

  Editor::unmarkLine = (line) ->
    delete @markedLines[line]

    @redrawMain()

  Editor::clearLineMarks = (tag) ->
    @markedLines = {}

    @redrawMain()


      else
        delete @markedLines[line]

    for id, info of @markedBlocks
      if @inTree info.model
        path = @getHighlightPath info.model, info.style
        path.draw @highlightCtx
      else
        delete @markedLines[line]

    for id, info of @extraMarks
      if @inTree info.model
        path = @getHighlightPath info.model, info.style
