Lines Matching defs:text
200 case 'text':
499 // expand text-decoration
500 if(array_key_exists('text-decoration', $list)) {
505 $parts = explode(' ', $list['text-decoration']);
527 unset($list['text-decoration']);
528 if ($decoration) { $list['text-decoration'] = trim($decoration);
530 if ($style) { $list['text-decoration-style'] = trim($style);
532 if ($color) { $list['text-decoration-color'] = trim($color);
534 if ($thickness) { $list['text-decoration-thickness'] = trim($thickness);
656 * @param $text unmatched text to pass outside of lexer. Only used when $lexer=MIKIO_LEXER_AUTO
660 public function syntaxRender(Doku_Renderer $renderer, $className, $text, $data = null, $lexer = MIKIO_LEXER_AUTO)
680 $renderer->doc .= $text;
744 protected function buildTooltip($text)
746 if ($text != '') {
747 return ' data-tooltip="' . $text . '"';
816 if (strcasecmp($type, 'text-color') == 0) {
817 $this->options['text-color'] = array(
825 'type' => 'text',
832 if (strcasecmp($type, 'text-align') == 0) {
833 $this->options['text-align'] = array(
835 'data' => array('left' => array('text-left'), 'center' => array('text-center'), 'right' => array('text-right')),
852 'type' => 'text',
953 * @param $text The text to style
954 * @return The styled text
956 public function applyMarkdownEffects($text)
961 $text = preg_replace($regex, $replacement, $text);
966 $text = preg_replace($regex, $replacement, $text);
971 $text = preg_replace($regex, $replacement, $text);
973 return $text;