src/geshi.php
public function set_tab_width($width) {
        $this->tab_width = intval($width);

        //Check if it fit's the constraints:
        if ($this->tab_width < 1) {
            //Return it to the default
            $this->tab_width = 8;
        }
    }
public function set_tab_width($width) {
        $this->tab_width = intval($width);

        //Check if it fit's the constraints:
        if ($this->tab_width < 1) {
            //Return it to the default
            $this->tab_width = 8;
        }
    }
public function set_tab_width ( $ width ) { $ this -> tab_width = intval ( $ width ) ; //Check if it fit's the constraints: if ( $ this -> tab_width < 1 ) { //Return it to the default $ this -> tab_width = 8 ; } }
Sets how many spaces a tab is substituted for

Widths below zero are ignored

@param int $width The tab width
@since 1.0.0
Sets how many spaces a tab is substituted for