@Override void insertedText(CharacterDataImpl node,int offset,int count){
  if (ranges != null) {
    notifyRangesInsertedText(node,offset,count);
  }
}

@ Override void insertedText ( CharacterDataImpl node , int offset , int count ) { if ( ranges != null ) { notifyRangesInsertedText ( node , offset , count ) ; } }
a method to be called when some text was inserted into a text node , so that live objects can be notified .
