question: public String line ( boolean includeNewLine ) { int start = myPosition ; while ( ! isEol ( ) ) { myPosition ++ ; } int end ; if ( includeNewLine ) { nextLine ( ) ; end = myPosition ; } else { end = myPosition ; nextLine ( ) ; } return myText . substring ( start , end ) ; }
target:  Get text from the current position until the end of the line. After return, the current position is the start of the next line.