Home
last modified time | relevance | path

Searched +refs:text +refs:line (Results 1 – 25 of 1031) sorted by relevance

12345678910>>...42

/plugin/data/syntax/
Dtable.php104 foreach ($lines as $line) {
106 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
107 $line = str_replace('\\#', '#', $line);
108 $line = trim($line);
109 if (empty($line)) continue;
110 $line = preg_split('/\s*:\s*/', $line, 2);
111 $line[0] = strtolower($line[0]);
115 switch ($line[0]) {
120 $cols = explode(',', $line[1]);
129 $data['title'] = $line[1];
[all …]
/plugin/data-au/syntax/
Dtable.php94 foreach($lines as $line) {
96 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
97 $line = str_replace('\\#', '#', $line);
98 $line = trim($line);
99 if(empty($line)) continue;
100 $line = preg_split('/\s*:\s*/', $line, 2);
101 $line[0] = strtolower($line[0]);
105 switch($line[0]) {
110 $cols = explode(',', $line[1]);
119 $dataau['title'] = $line[1];
[all …]
/plugin/textile2/
DclassTextile.php277 function TextileThis($text, $lite='', $encode='', $noimage='', $strict='', $rel='') argument
286 $text = $this->incomingEntities($text);
287 $text = str_replace("x%x%", "&#38;", $text);
288 return $text;
292 $text = $this->cleanWhiteSpace($text);
295 $text = $this->getRefs($text);
298 $text = $this->block($text);
301 $text = $this->retrieve($text);
304 $text = str_replace("<br />", "<br />\n", $text);
306 return $text;
[all …]
/plugin/scrape/vendor/symfony/polyfill-php80/
DPhpToken.php29 public $text; variable in Symfony\\Polyfill\\Php80\\PhpToken
34 public $line; variable in Symfony\\Polyfill\\Php80\\PhpToken
41 public function __construct(int $id, string $text, int $line = -1, int $position = -1) argument
44 $this->text = $text;
45 $this->line = $line;
52 $name = \strlen($this->text) > 1 || \ord($this->text) < 32 ? null : $this->text;
64 if (\in_array($value, [$this->id, $this->text], true)) {
79 return (string) $this->text;
87 $line = 1;
93 $text = $token;
[all …]
/plugin/combo/vendor/symfony/polyfill-php80/
H A DPhpToken.php29 public $text; variable in Symfony\\Polyfill\\Php80\\PhpToken
34 public $line; variable in Symfony\\Polyfill\\Php80\\PhpToken
41 public function __construct(int $id, string $text, int $line = -1, int $position = -1) argument
44 $this->text = $text;
45 $this->line = $line;
52 $name = \strlen($this->text) > 1 || \ord($this->text) < 32 ? null : $this->text;
64 if (\in_array($value, [$this->id, $this->text], true)) {
79 return (string) $this->text;
87 $line = 1;
93 $text = $token;
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
DHtmlTrait.php50 protected function identifyHtml($line, $lines, $current) argument
52 if ($line[0] !== '<' || isset($line[1]) && $line[1] == ' ') {
56 if (strncmp($line, '<!--', 4) === 0) {
65 $tag = rtrim(substr($line, 1, $gtPos - 1), '/');
67 $tag = rtrim(substr($line, 1, min($gtPos, $spacePos) - 1), '/');
84 $line = $lines[$i];
85 $content[] = $line;
86 if (strpos($line, '-->') !== false) {
97 $line = $lines[$i];
98 $content[] = $line;
[all …]
/plugin/switchpanel/
DREADME.md13 ==text
15 ==line
38 ==text
40 ==line
57 ==text
59 ==line:number=9
97 ==text
99 ==line
118 ==text
120 ==line:number=8
[all …]
/plugin/spellcheck/
Dspellcheck.php149 $line = trim($lines[$i]);
150 if($line[0] == '@') continue; // comment
151 if($line[0] == '*') continue; // no mistake in this word
152 if($line[0] == '+') continue; // root of word was found
153 if($line[0] == '?') continue; // word was guessed
154 if(empty($line)){
160 if(preg_match('/^& ([^ ]+) (\d+) (\d+): (.*)/',$line,$match)){
165 }elseif(preg_match('/^# ([^ ]+) (\d+)/',$line,$match)){
174 print "Line $i:".$line;
243 $text = $_POST['data'];
[all …]
/plugin/semanticdata/syntax/
Dtable.php72 foreach ( $lines as $line ) {
74 $line = preg_replace('/(?<![&\\\\])#.*$/','',$line);
75 $line = str_replace('\\#','#',$line);
76 $line = trim($line);
77 if(empty($line)) continue;
78 $line = preg_split('/\s*:\s*/',$line,2);
79 $line[0] = strtolower($line[0]);
83 switch($line[0]){
88 $cols = explode(',',$line[1]);
97 $data['title'] = $line[1];
[all …]
/plugin/sequencediagram/bower_components/js-sequence-diagrams/src/
Dtheme-raphael.js25 Raphael.fn.line = function(x1, y1, x2, y2) { function
84 cleanText: function(text) { argument
85 text = _.invoke(text.split('\n'), 'trim');
86 return text.join('\n');
92 textBBox: function(text, font) { argument
93 text = this.cleanText(text);
97 p = this.paper_.print(0, 0, text, font.obj_, font['font-size']);
99 p = this.paper_.text(0, 0, text);
110 var line = this.paper_.line(x1, y1, x2, y2).attr(LINE);
112 line.attr('arrow-end', this.arrowTypes_[arrowhead] + '-wide-long');
[all …]
Dtheme-snap.js138 textBBox: function(text, font) { argument
140 var t = this.createText(text, font);
164 createText: function(text, font) { argument
165 text = _.invoke(text.split('\n'), 'trim');
166 var t = this.paper_.text(0, 0, text);
168 if (text.length > 1) {
180 var line = this.paper_.line(x1, y1, x2, y2).attr(LINE);
182 line.attr('strokeDasharray', this.lineTypes_[linetype]);
185 line.attr('markerEnd', this.arrowMarkers_[arrowhead]);
187 return this.pushToStack(line);
[all …]
/plugin/zotero/
DTextZoteroRepository.php27 foreach (explode("\n", $fileContents) as $line)
29 $e = $this->parseLine($line);
40 private function parseLine($line) argument
42 $line = trim($line);
44 if ($line == "" || $line == self::HEADER)
49 $line = $this->extractZoteroKey($line);
50 $columns = explode("|", $line);
65 private function extractZoteroKey($text) argument
68 if (preg_match("/\[\[.*\|(.*)\]\]/", $text, $matches))
70 $text = str_replace($matches[0], $matches[1], $text);
[all …]
/plugin/dokutexit/
Dtexitrender.php77 $text = file_get_contents($basefn) or die("can't open file $basefn for reading");
78 $parsed = $this->p_render_latex_text($text, $info);
144 function p_get_instructions(&$text){ argument
151 return $this->p_get_instructions_texit($text);
161 function p_get_instructions_texit(&$text){ argument
180 $p = $this->_Parser->parse($text);
184 function p_render_latex_text(& $text, & $info){ argument
186 $ins = $this->p_get_instructions($text);
188 unset($text);
204 $text = rawWiki($id);
[all …]
/plugin/aichat/vendor/vanderlee/php-sentence/src/
DSentence.php61 * @param string $text
65 private function replaceFloatNumbers(string $text) argument
67 preg_match_all('!\d+(?:\.\d+)?!', $text, $matches, PREG_OFFSET_CAPTURE);
78 $text = (string)substr_replace($text, $code, $offset, mb_strlen($number));
83 return $text;
89 * @param string[] $text
93 private function restoreReplacements($text) argument
102 }, $text);
111 * @param string $text
115 private static function linebreakSplit($text) argument
[all …]
/plugin/prettytables/
Dscript.js18 function prettytables_repeat(text,num) { argument
20 buf += text;
26 function prettytables_count_spaces(text) { argument
28 for (var i=0; i < text.length; i++) {
29 if (text.substr(i,1)==' ') a++; else break;
31 for (var i=text.length-1; i >= 0; i--) {
32 if (text.substr(i,1)==' ') b++; else break;
43 function prettytables_strcenter (text, width) { argument
44 var txt_len = getCharWidth(text);
50 return pads + text + pads + remain;
[all …]
/plugin/datatemplate/syntax/
Dlist.php51 foreach ($lines as $num => $line) {
53 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
54 $line = str_replace('\\#','#',$line);
55 $line = trim($line);
56 if(empty($line)) continue;
57 $line = preg_split('/\s*:\s*/', $line, 2);
58 if (strtolower($line[0]) == 'template') {
59 $template = $line[1];
239 $text = p_render('xhtml', $instr, $info);
245 $text = preg_replace($patterns,$replace,$text);
[all …]
/plugin/socialshareprivacy2/SSP/stylesheets/
Djquery.socialshareprivacy.delicious.css13 .social_share_privacy_area.line .delicious .delicious-widget,
14 .social_share_privacy_area.line .delicious img.privacy_dummy {
34 text-decoration:none!important;
49 text-align:center;
51 line-height:18px;
55 text-shadow:#2A5580 1px 1px 0;
64 text-shadow:#222 1px 1px 0;
67 .social_share_privacy_area.line .delicious div.delicious-widget {
72 .social_share_privacy_area.line .delicious a.icon,
73 .social_share_privacy_area.line .delicious a.count {
[all …]
/plugin/asciidocjs/node_modules/align-text/
DREADME.md1text [![NPM version](https://badge.fury.io/js/align-text.svg)](http://badge.fury.io/js/align-text)…
3 > Align the text in a string.
7 Align text values in an array:
25 $ npm i align-text --save
31 var align = require('align-text');
32 align(text, callback_function_or_integer);
37 * `text` can be a **string or array**. If a string is passed, a string will be returned. If an arra…
38text will be indented by that amount. If a function, it must return an integer representing the am…
43 align(text, 4);
66 The callback is used to determine the indentation of each line and gets the following params:
[all …]
/plugin/mdpage/vendor/cebe/markdown/
DGithubMarkdown.php66 $line = $lines[$i];
67 if ($line === ''
68 || ltrim($line) === ''
69 || !ctype_alpha($line[0]) && (
70 $this->identifyQuote($line, $lines, $i) ||
71 $this->identifyFencedCode($line, $lines, $i) ||
72 $this->identifyUl($line, $lines, $i) ||
73 $this->identifyOl($line, $lines, $i) ||
74 $this->identifyHr($line, $lines, $i)
76 || $this->identifyHeadline($line, $lines, $i))
[all …]
DParser.php45 * @param string $text the text to parse
48 public function parse($text) argument
52 if (ltrim($text) === '') {
56 $text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text);
58 $this->prepareMarkers($text);
60 $absy = $this->parseBlocks(explode("\n", $text));
70 * @param string $text the text to parse
73 public function parseParagraph($text) argument
77 if (ltrim($text) === '') {
81 $text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text);
[all …]
/plugin/mediasyntax/test/
Dmediasyntax-test.txt6 preformatted text
7 preformatted text starting one line later
10 a codeblock, as opposed to a preblock, can contain <font color=red>red</font> text
12 preformatted text in a "pre" tag, line 1
13 line 2
16 <pre>Preformatted text inside a "pre"-tag, all in one line</pre>
32 normal text with a GB specialPattern in the line
33 preformatted text directly under normal text
36 ''this line is italic'' // two slashes surround this //
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DCommonToken.php26 protected $line = 0; variable in Antlr\\Antlr4\\Runtime\\CommonToken
66 protected $text; variable in Antlr\\Antlr4\\Runtime\\CommonToken
116 $this->line = $tokenSource->getLine();
148 $token->line = $this->line;
151 $token->setText($this->text);
168 return $this->line;
171 public function setLine(int $line) : void argument
173 $this->line = $line;
178 if ($this->text !== null) {
179 return $this->text;
[all …]
/plugin/xfortune/
Dhelper.php111 $text = '';
115 $line = fgets($fd, 1024);
120 if ($line == "%\n") {
125 $text .= $line;
141 if ($line == "%\n") {
158 $text .= $line;
163 $text = trim($text);
166 if (!Clean::isUtf8($text)) return utf8_encode($text);
168 return $text;
/plugin/loglog/helper/
Dreport.php50 $text = file_get_contents($template);
63 $text = str_replace(
66 $text
73 $text
96 foreach ($lines as $line) {
99 $line['msg'],
104 if ($line['user']) $users[] = $line['user'];
107 $line['msg'],
112 } elseif (strpos($line['msg'], 'admin') !== false) {
113 list($action, $page) = explode(' - ', $line['msg']);
/plugin/aichat/vendor/erusev/parsedown/
DParsedown.php24 function text($text) argument
30 $text = str_replace(array("\r\n", "\r"), "\n", $text);
33 $text = trim($text, "\n");
36 $lines = explode("\n", $text);
148 foreach ($lines as $line)
150 if (chop($line) === '')
160 if (strpos($line, "\t") !== false)
162 $parts = explode("\t", $line);
164 $line = $parts[0];
170 $shortage = 4 - mb_strlen($line, 'utf-8') % 4;
[all …]

12345678910>>...42