Lines Matching refs:indent
219 * @param int $indent By how much the code should be indented (can be negative as well)
223 public function getTokenCode(int $from, int $to, int $indent): string { argument
234 if ($indent < 0) {
235 $result .= str_replace("\n" . str_repeat(" ", -$indent), "\n", $text);
236 } elseif ($indent > 0) {
237 $result .= str_replace("\n", "\n" . str_repeat(" ", $indent), $text);
253 $indent = 0;
255 $indentMap[] = $indent;
261 $indent = $this->getIndent(\substr($content, $newlinePos + 1), $tabWidth);
265 $indent = $this->getIndent($content, $tabWidth);
271 $indentMap[] = $indent;