         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

                # if there is no previous line : backspace at the beginning of 
                # firs line : no effect, nothing to do.
                else
                    console.log '_backspace 4 - test ok'
            # 1.2 caret is in the middle of the line : delete one caracter
            else
                console.log '_backspace 5 - deletion of one caracter - test ok'
                # we consider that we are in a text node
                textNode = sel.range.startContainer
                startOffset = sel.range.startOffset

            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
