inherit doc token length cr lf 