/[ascend]/trunk/tools/mediawiki/ashighlight.class.php
ViewVC logotype

Diff of /trunk/tools/mediawiki/ashighlight.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1393 by jpye, Mon Apr 16 07:34:01 2007 UTC revision 1424 by jpye, Tue May 1 05:03:53 2007 UTC
# Line 9  class ASHighlight{ Line 9  class ASHighlight{
9          $this->dir=$dir;          $this->dir=$dir;
10          $this->encoding="ascii";              $this->encoding="ascii";    
11          $this->line_numbers=false;          $this->line_numbers=false;
12            $this->tabwidth=0;//zero means that we haven't specified it
13          $this->default_lang=$default_lang;          $this->default_lang=$default_lang;
14      }      }
15    
# Line 50  class ASHighlight{ Line 51  class ASHighlight{
51              }              }
52          }          }
53    
54            // only if the tabwidth value is non-zero will this
55            // flag be shown
56          if($this->tabwidth)$cmd.=" --replace-tabs=".$this->tabwidth;          if($this->tabwidth)$cmd.=" --replace-tabs=".$this->tabwidth;
57    
58          $css = $this->dir . "/" . "highlight.css";          $css = $this->dir . "/" . "highlight.css";

Legend:
Removed from v.1393  
changed lines
  Added in v.1424

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22