protected static int findNextNewLineCharCompat(CharSequence s,int start){
  int position=findNextNewLineChar(s,start);
  if (position == -1) {
    return s.length();
  }
  return position;
}

protected static int findNextNewLineCharCompat ( CharSequence s , int start ) { int position = findNextNewLineChar ( s , start ) ; if ( position == - 1 ) { return s . length ( ) ; } return position ; }
find ' \ n ' from " start " position if not find , return s . length ( )
