/** * Sets up a formatter instance according to our current options/settings */ private function set_formatter_options(&$formatter) { $formatter->wrap_length = $this->settings->wrap_width; $formatter->line_numbers = $this->settings->line_numbers; $formatter->link = $this->settings->auto_link; $formatter->height = $this->settings->max_height; $formatter->strict_standards = $this->settings->html_strict; $formatter->set_theme(luminous::theme($this->settings->theme)); }