nl_tokens: Removes any caret container except the one we might be in
pl_tokens: function removeCaretContainer ( caretContainer ) { var child , currentCaretContainer , lastContainer ; if ( caretContainer ) { rng = selection . getRng ( true ) ; rng . setStartBefore ( caretContainer ) ; rng . setEndBefore ( caretContainer ) ; child = findFirstTextNode ( caretContainer ) ; if ( child && child . nodeValue . charAt ( 0 ) == invisibleChar ) { child = child . deleteData ( 0 , 1 ) ; } dom . <mask> ( caretContainer , true ) ; selection . setRng ( rng ) ; } else { currentCaretContainer = getParentCaretContainer ( selection . getStart ( ) ) ; while ( ( caretContainer = dom . get ( caretContainerId ) ) && caretContainer !== lastContainer ) { if ( currentCaretContainer !== caretContainer ) { child = findFirstTextNode ( caretContainer ) ; if ( child && child . nodeValue . charAt ( 0 ) == invisibleChar ) { child = child . deleteData ( 0 , 1 ) ; } dom . remove ( caretContainer , true ) ; } lastContainer = caretContainer ; } } }