src/GenSynth.php
function highlight_lines_extra($lines, $style = null)
    {
        if (is_array($lines)) {
            //Split up the job using single lines at a time
            foreach ($lines as $line) {
                $this->highlight_lines_extra($line, $style);
            }
        }
        else {
            //Mark the line as being highlighted specially
            $lines = intval($lines);
            $this->highlight_extra_lines[$lines] = $lines;

            //Decide on which style to use
            if ($style === null) { //Check if we should use default style
                unset($this->highlight_extra_lines_styles[$lines]);
            }
            elseif ($style === false) { //Check if to remove this line
                unset($this->highlight_extra_lines[$lines]);
                unset($this->highlight_extra_lines_styles[$lines]);
            }
            else {
                $this->highlight_extra_lines_styles[$lines] = $style;
            }
        }
    }
function highlight_lines_extra($lines, $style = null)
    {
        if (is_array($lines)) {
            //Split up the job using single lines at a time
            foreach ($lines as $line) {
                $this->highlight_lines_extra($line, $style);
            }
        }
        else {
            //Mark the line as being highlighted specially
            $lines = intval($lines);
            $this->highlight_extra_lines[$lines] = $lines;

            //Decide on which style to use
            if ($style === null) { //Check if we should use default style
                unset($this->highlight_extra_lines_styles[$lines]);
            }
            elseif ($style === false) { //Check if to remove this line
                unset($this->highlight_extra_lines[$lines]);
                unset($this->highlight_extra_lines_styles[$lines]);
            }
            else {
                $this->highlight_extra_lines_styles[$lines] = $style;
            }
        }
    }
function highlight_lines_extra ( $ lines , $ style = null ) { if ( is_array ( $ lines ) ) { //Split up the job using single lines at a time
 foreach ( $ lines as $ line ) { $ this -> highlight_lines_extra ( $ line , $ style ) ; } } else { //Mark the line as being highlighted specially
 $ lines = intval ( $ lines ) ; $ this -> highlight_extra_lines [ $ lines ] = $ lines ; //Decide on which style to use
 if ( $ style === null ) { //Check if we should use default style
 unset ( $ this -> highlight_extra_lines_styles [ $ lines ] ) ; } elseif ( $ style === false ) { //Check if to remove this line
 unset ( $ this -> highlight_extra_lines [ $ lines ] ) ; unset ( $ this -> highlight_extra_lines_styles [ $ lines ] ) ; } else { $ this -> highlight_extra_lines_styles [ $ lines ] = $ style ; } } }
Specifies which lines to highlight extra

The extra style parameter was added in 1.0.7.21.

@param mixed  An array of line numbers to highlight, or just a line
number on its own.
@param string A string specifying the style to use for this line.
If null is specified, the default style is used.
If false is specified, the line will be removed from
special highlighting

@todo  Some data replication here that could be cut down on
Specifies which lines to highlight extra