         if replaceCaret
             @_setCaret(startContainer, startOffset, startLine, nextEndLine)
  
+
     #  adapt the depth of the children and following siblings of end line
     #    in case the depth delta between start and end line is
     #    greater than 0, then the structure is not correct : we reduce

                @currentSel = null
        # 2- Case of a selection contained in a line
        else if sel.endLine == startLine
            console.log '_backspace 6 - test ok'
            sel.range.deleteContents()
            # e.preventDefault()


            selection.cleanSelection startLine, endLine, range
            replaceCaret = false
        else
            curSel = @_findLines()
            range = curSel.range
            startContainer = range.startContainer
            startOffset = range.startOffset
            startLine = curSel.startLine
            endLine = curSel.endLine
            prevStartLine = startLine.linePrev if startLine?
            nextEndLine = endLine.lineNext if endLine?
            replaceCaret = true
