Home | History | Annotate | Download | only in geshi

Lines Matching defs:char

519      * NOTE: Used with Escape Char
1849 $symbol_preg_multi = array(); // multi char symbols
1850 $symbol_preg_single = array(); // single char symbols
1859 } else { // single char
1878 } else { // single char
2236 //preload the escape char for faster checking ...
2328 // Get the next char
2329 $char = $part[$i];
2378 if (isset($is_string_starter[$char])) {
2383 if (is_array($is_string_starter[$char])) {
2385 foreach ($is_string_starter[$char] as $testchar) {
2393 $char = $char_new;
2396 $testchar = $is_string_starter[$char];
2398 $char = $testchar;
2402 $char_len = strlen($char);
2407 $string_key = array_search($char, $this->language_data['QUOTEMARKS']);
2424 $string = "<span$string_attributes>" . GeSHi::hsc($char);
2434 $close_pos = strpos($part, $char, $start);
2507 //Get the style for this escaped char ...
2514 //Add the style for the escape char ...
2525 //This is an non-ASCII char (UTF8 or single byte)
2563 //Get the style for this escaped char ...
2570 //Add the style for the escape char ...
2596 } else if ($this->lexic_permissions['STRINGS'] && $hq && $hq[0] == $char &&
2681 // this is just a single lonely escape char...
2923 // Where are we adding this char?
2925 $stuff_to_parse .= $char;
2994 $char = $line[$i];
3003 if ('>' == $char) {
3006 $lines[$key] .= $char;
3007 } else if ('<' == $char) {
3010 } else if ('&' == $char) {
3018 $lines[$key] .= $char;
3019 } else if ("\t" == $char) {
3040 } else if (0 == $pos && ' ' == $char) {
3044 $lines[$key] .= $char;
4466 $char = 0;
4467 while (isset($entry[$char]) && isset($prev_keys[$level][$char])
4468 && $entry[$char] == $prev_keys[$level][$char]) {
4469 ++$char;
4471 if ($char > 0) {
4473 if ($char == strlen($prev_keys[$level])) {
4478 $new_key_part1 = substr($prev_keys[$level], 0, $char);
4479 $new_key_part2 = substr($prev_keys[$level], $char);
4483 // this is bad, a regex char as first character
4499 $entry = substr($entry, $char);