Lines Matching defs:source

69 /** Use nothing to surround the source */
71 /** Use a "div" to surround the source */
73 /** Use a "pre" to surround the source */
78 * Use a "table" to surround the source:
101 /** Links in the source in the :link state */
103 /** Links in the source in the :hover state */
105 /** Links in the source in the :active state */
107 /** Links in the source in the :visited state */
113 /** The starter for important parts of the source */
115 /** The ender for important parts of the source */
229 * The source code to highlight
232 protected $source = '';
342 * Tells if a block around the highlighted source should be forced
547 * Creates a new GeSHi object, with source and language
549 * @param string $source The source code to highlight
550 * @param string $language The language to highlight the source with
560 public function __construct($source = '', $language = '', $path = '') {
561 if ( is_string($source) && ($source !== '') ) {
562 $this->set_source($source);
620 * Sets the source code for this object
622 * @param string $source The source code to highlight
625 public function set_source($source) {
626 $this->source = $source;
810 * means more source code but more control over tab width and line-wrapping.
811 * GESHI_HEADER_PRE means that a "pre" is used - less source, but less
873 * Sets whether CSS classes should be used to highlight the source. Default
1550 * @param string $file_name The filename to load the source from
1895 * @param string $encoding The encoding to use for the source
2150 * Returns the code in $this->source, highlighted and surrounded by the
2154 * the same source multiple times, you're better off doing a whole lot of
2164 $code = str_replace("\r\n", "\n", $this->source);
2174 //Escape the source for output
2175 $result = $this->hsc($this->source);
2205 // Break the source into bits. Each bit will be a portion of the code
2370 // Not strict mode - simply dump the source into
2455 // Add a span element around the source to
2456 // highlight the overall source block
2732 // the newline and begin it again (so when <li>s are put in the source
2841 // the newline and begin it again (so when <li>s are put in the source
3044 //Check if this comment is the last in the source
3056 // Take into account that the comment might be the last in the source
3118 * @param string $result The source to indent (reference!)
4225 $speed = strlen($this->source) / $time;