public Text nextLine ( ) { if ( linePointer == 0 ) { linePointer = pos ; } else { linePointer ++ ; } int mark = linePointer ; int limit = pos + len ; while ( linePointer < limit && chars [ linePointer ] != ' ' ) { linePointer ++ ; } return new Text ( chars , mark , linePointer - mark ) ; }
Extracts next line from this text .