protected function show_text($rest) { parent::show_text($rest); if ($rest == self::LF) { $this->show_line_number(); } }