Home
last modified time | relevance | path

Searched refs:pageText (Results 1 – 2 of 2) sorted by relevance

/plugin/annotations/
H A Dhelper.php582 $pageText = $this->getPageText($id);
586 if ($this->quoteMissing($a, $pageText)) {
601 * @param string $pageText normalised plain-text page body (see getPageText)
604 protected function quoteMissing(array $annotation, $pageText) argument
607 return $exact === '' || mb_strpos($pageText, $exact) === false;
697 $pageText = $this->getPageText($id);
701 if ($this->quoteMissing($a, $pageText)) {
/plugin/batchedit/
Dengine.php96 …public function __construct($pageText, $pageOffset, $text, $regexp, $replacement, $contextChars, $… argument
100 …$this->contextBefore = $this->cropContextBefore($pageText, $pageOffset, $contextChars, $contextLin…
101 …$this->contextAfter = $this->cropContextAfter($pageText, $pageOffset + strlen($text), $contextChar…
158 public function apply($pageText, $offsetDelta) { argument
160 $currentText = substr($pageText, $pageOffset, strlen($this->originalText));
166 $before = substr($pageText, 0, $pageOffset);
167 $after = substr($pageText, $pageOffset + strlen($this->originalText));
207 private function cropContextBefore($pageText, $pageOffset, $contextChars, $contextLines) { argument
212 … $context = \dokuwiki\Utf8\PhpString::substr(substr($pageText, 0, $pageOffset), -$contextChars);
225 private function cropContextAfter($pageText, $pageOffset, $contextChars, $contextLines) { argument
[all …]