public boolean containsString ( String text ) { for ( int ii = 0 , nn = _lines . size ( ) ; ii < nn ; ii ++ ) { // don't look inside the autogenerated areas if ( ! ( ii >= _nstart && ii < _nend ) && ! ( ii >= _mstart && ii < _mend ) && _lines . get ( ii ) . contains ( text ) ) { return true ; } } return false ; }
Returns true if the supplied text appears in the non - auto - generated section .