question: public void insert ( int offset , CharSequence seq ) { if ( seq == null ) return ; int len = seq . length ( ) ; if ( len == 0 ) return ; if ( offset < 0 || offset > editable . length ( ) ) throw new ArrayIndexOutOfBoundsException ( offset ) ; integerArray . clear ( ) ; char c ; for ( int i = 0 ; i < len ; i ++ ) { c = seq . charAt ( i ) ; if ( c == '\r' || c == '\n' ) integerArray . add ( i + 1 ) ; } contentInserted ( offset , len , integerArray ) ; }
target:  Inserts a string into the buffer.