         return [bp1,bp2]
 
 
+    ###*
+     * Test if a segment already has the meta : same type, same class and other 
+     * for complex meta (for instance href for <a>)
+     * @param  {element}  segment  The segment to test
+     * @param  {string}  metaData the type of meta data : A or a CSS class
+     * @param  {array}  others   An array of the other parameter of the meta,
+     *                           for instance si metaData == 'A', 
+     *                           others[0] == href
+     * @return {Boolean}          True if the segment already have the meta data
+    ###
     _isAlreadyMeta : (segment, metaData, others) ->
         if metaData == 'A'
             return segment.nodeName == 'A' && segment.href == others[0]
         else
             return segment.classList.contains(metaData)
 
-
-    _applyAhrefToSegments : (startSegment, endSegment, bps, addMeta, metaData, href) ->
+    ###*
+     * Applies or remove a meta data of type "A" (link) on a succession of 
+     * segments (from startSegment to endSegment which must be on the same line)
+     * @param  {element} startSegment The first segment to modify
+     * @param  {element} endSegment   The last segment to modify (must be in the
+     *                                same line as startSegment)
+     * @param  {Array} bps          [{cont,offset}...] An array of breakpoints 
+     *                              to update if their container is modified
+     *                              while applying the meta data.
+     * @param  {Boolean} addMeta      True to apply the meta, False to remove
+     * @param  {string} href         the href to use if addMeta is true.
+    ###
+    _applyAhrefToSegments : (startSegment, endSegment, bps, addMeta, href) ->
         segment  =  startSegment
         stopNext = (segment == endSegment)
         loop

                cont   : segments[l-1].firstChild
                offset : segments[l-1].firstChild.length
            bps = [bp1,bp2]
            @_applyAhrefToSegments(segments[0], segments[l-1], bps, false, 'A', '')
            # Position selection
            rg = document.createRange()
            bp1 = bps[0]

        return null


    ###*
     * Applies or remove a CSS class to a succession of segments (from 
     * startsegment to endSegment which must be on the same line)
     * @param  {element} startSegment The first segment to modify
     * @param  {element} endSegment   The last segment to modify (must be in the
     *                                same line as startSegment)
     * @param  {Boolean} addMeta      True to apply the meta, False to remove
     * @param  {String} cssClass     The name of the CSS class to add or remove
    ###
    _applyCssToSegments : (startSegment, endSegment, addMeta, cssClass) ->
        segment  =  startSegment
        stopNext = (segment == endSegment)
