Home
last modified time | relevance | path

Searched refs:newIndent (Results 1 – 25 of 275) sorted by relevance

1234567891011

/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/py/
H A Dparse.py40 newIndent=False
56 if newIndent and currentIndentation>indentNumber[-1]:
57 newIndent=False
61 elif not newIndent and currentIndentation in indentNumber:
110 newIndent=True
128 if newIndent and not ignoreErrors:
/dports/www/bolt/bolt-2.2.24/vendor/symfony/yaml/Symfony/Component/Yaml/
H A DParser.php339 $newIndent = $this->getCurrentLineIndentation();
343 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
347 $newIndent = $indentation;
351 if ($this->getCurrentLineIndentation() >= $newIndent) {
352 $data[] = substr($this->currentLine, $newIndent);
359 if ($inSequence && $oldLineIndentation === $newIndent && '-' === $data[0][0]) {
376 if ($indent === $newIndent) {
380 …ection && !$this->isStringUnIndentedCollectionItem($this->currentLine) && $newIndent === $indent) {
386 $data[] = substr($this->currentLine, $newIndent);
394 if ($indent >= $newIndent) {
[all …]
/dports/devel/liteide/liteide-x37.4/liteidex/src/3rdparty/qtc_texteditor/
H A Dtabsettings.cpp329 void TabSettings::indentLine(QTextBlock block, int newIndent, int padding) const in indentLine() argument
335 newIndent -= padding; in indentLine()
342 if (indentationColumn(text) == newIndent) in indentLine()
349 indentString = indentationString(0, newIndent - padding, block); in indentLine()
352 indentString = indentationString(0, newIndent, block); in indentLine()
373 int newIndent = qMax(oldIndent + delta, 0); in reindentLine() local
375 if (oldIndent == newIndent) in reindentLine()
381 int padding = qMin(maximumPadding(text), newIndent); in reindentLine()
382 indentString = indentationString(0, newIndent - padding, block); in reindentLine()
385 indentString = indentationString(0, newIndent, block); in reindentLine()
/dports/devel/py-cog/cogapp-3.1.0/cogapp/
H A Dwhiteutils.py38 def reindentBlock(lines, newIndent=''): argument
53 if l and newIndent:
54 l = newIndent + l
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/lexpress/doctrine1/lib/Doctrine/Parser/sfYaml/
H A DsfYamlParser.php315 $newIndent = $this->getCurrentLineIndentation();
317 if (!$this->isCurrentLineEmpty() && 0 == $newIndent)
324 $newIndent = $indentation;
327 $data = array(substr($this->currentLine, $newIndent));
335 $data[] = substr($this->currentLine, $newIndent);
348 else if ($indent >= $newIndent)
350 $data[] = substr($this->currentLine, $newIndent);
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/symfony/lib/yaml/
H A DsfYamlParser.class.php318 $newIndent = $this->getCurrentLineIndentation();
320 if (!$this->isCurrentLineEmpty() && 0 == $newIndent)
327 $newIndent = $indentation;
330 $data = array(substr($this->currentLine, $newIndent));
338 $data[] = substr($this->currentLine, $newIndent);
351 else if ($indent >= $newIndent)
353 $data[] = substr($this->currentLine, $newIndent);
/dports/textproc/pear-Symfony_Component_Yaml/Yaml-2.4.4/Symfony/Component/Yaml/
H A DParser.php295 $newIndent = $this->getCurrentLineIndentation();
299 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
303 $newIndent = $indentation;
306 $data = array(substr($this->currentLine, $newIndent));
317 if ($indent === $newIndent) {
327 $data[] = substr($this->currentLine, $newIndent);
335 if ($indent >= $newIndent) {
336 $data[] = substr($this->currentLine, $newIndent);
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/symfony/yaml/
H A DParser.php412 $newIndent = $this->getCurrentLineIndentation();
416 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
420 $newIndent = $indentation;
424 if ($this->getCurrentLineIndentation() >= $newIndent) {
425 $data[] = substr($this->currentLine, $newIndent);
432 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
466 …isItUnindentedCollection && !$this->isStringUnIndentedCollectionItem() && $newIndent === $indent) {
472 $data[] = substr($this->currentLine, $newIndent);
489 if ($indent >= $newIndent) {
490 $data[] = substr($this->currentLine, $newIndent);
/dports/www/xoops/XoopsCore25-2.5.10/htdocs/class/libraries/vendor/symfony/yaml/
H A DParser.php377 $newIndent = $this->getCurrentLineIndentation();
381 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
385 $newIndent = $indentation;
389 if ($this->getCurrentLineIndentation() >= $newIndent) {
390 $data[] = substr($this->currentLine, $newIndent);
397 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
431 …is->isCurrentLineEmpty() && !$this->isStringUnIndentedCollectionItem() && $newIndent === $indent) {
437 $data[] = substr($this->currentLine, $newIndent);
454 if ($indent >= $newIndent) {
455 $data[] = substr($this->currentLine, $newIndent);
/dports/www/joomla3/joomla3-3.9.24/libraries/vendor/symfony/yaml/
H A DParser.php377 $newIndent = $this->getCurrentLineIndentation();
381 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
385 $newIndent = $indentation;
389 if ($this->getCurrentLineIndentation() >= $newIndent) {
390 $data[] = substr($this->currentLine, $newIndent);
397 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
431 …is->isCurrentLineEmpty() && !$this->isStringUnIndentedCollectionItem() && $newIndent === $indent) {
437 $data[] = substr($this->currentLine, $newIndent);
454 if ($indent >= $newIndent) {
455 $data[] = substr($this->currentLine, $newIndent);
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/texteditor/
H A Dtabsettings.cpp315 void TabSettings::indentLine(const QTextBlock &block, int newIndent, int padding) const in indentLine() argument
321 newIndent -= padding; in indentLine()
333 const QString indentString = indentationString(0, newIndent, padding, block); in indentLine()
353 int newIndent = qMax(oldIndent + delta, 0); in reindentLine() local
355 if (oldIndent == newIndent) in reindentLine()
361 padding = qMin(maximumPadding(text), newIndent); in reindentLine()
362 const QString indentString = indentationString(0, newIndent, padding, block); in reindentLine()
/dports/devel/php-libawl/awl-827fbfed7dab0ca339998ca6cdcffb328246d83b/vendor/symfony/yaml/Symfony/Component/Yaml/
H A DParser.php292 $newIndent = $this->getCurrentLineIndentation();
296 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
300 $newIndent = $indentation;
303 $data = array(substr($this->currentLine, $newIndent));
316 $data[] = substr($this->currentLine, $newIndent);
327 } elseif ($indent >= $newIndent) {
328 $data[] = substr($this->currentLine, $newIndent);
/dports/devel/gitlist/gitlist/vendor/symfony/yaml/
H A DParser.php563 $newIndent = null;
577 $newIndent = $this->getCurrentLineIndentation();
579 } while (!$EOF && null === $newIndent);
587 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
591 $newIndent = $indentation;
595 if ($this->getCurrentLineIndentation() >= $newIndent) {
596 $data[] = substr($this->currentLine, $newIndent);
605 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
645 $data[] = substr($this->currentLine, $newIndent);
649 if ($indent >= $newIndent) {
[all …]
/dports/textproc/pear-YAML/YAML-1.0.6/lib/
H A DsfYamlParser.php298 $newIndent = $this->getCurrentLineIndentation();
300 if (!$this->isCurrentLineEmpty() && 0 == $newIndent)
305 $data = array(substr($this->currentLine, $newIndent));
313 $data[] = substr($this->currentLine, $newIndent);
326 else if ($indent >= $newIndent)
328 $data[] = substr($this->currentLine, $newIndent);
/dports/devel/jsonnet/jsonnet-0.17.0/core/
H A Dformatter.cpp1315 Indent newIndent(const Fodder &first_fodder, const Indent &old, unsigned line_up) in newIndent() function in FixIndentation
1435 Indent new_indent = newIndent(first_inside, indent, column); in params()
1684 Indent new_indent = newIndent(open_fodder(ast->cond), indent, column + 1); in expr()
1745 Indent new_indent = newIndent(open_fodder(ast->expr), indent, column + 1); in expr()
1755 Indent new_indent = newIndent(open_fodder(ast->body), indent, column + 1); in expr()
1760 Indent new_indent = newIndent(open_fodder(ast->file), indent, column + 1); in expr()
1779 Indent new_indent = newIndent(ast->idFodder, indent, column); in expr()
1792 new_indent = newIndent(ast->endColonFodder, indent, column); in expr()
1808 new_indent = newIndent(ast->endColonFodder, indent, column); in expr()
1972 Indent new_indent = newIndent(ast->idFodder, indent, column); in expr()
[all …]
/dports/devel/py-jsonnet/jsonnet-0.17.0/core/
H A Dformatter.cpp1315 Indent newIndent(const Fodder &first_fodder, const Indent &old, unsigned line_up) in newIndent() function in FixIndentation
1435 Indent new_indent = newIndent(first_inside, indent, column); in params()
1684 Indent new_indent = newIndent(open_fodder(ast->cond), indent, column + 1); in expr()
1745 Indent new_indent = newIndent(open_fodder(ast->expr), indent, column + 1); in expr()
1755 Indent new_indent = newIndent(open_fodder(ast->body), indent, column + 1); in expr()
1760 Indent new_indent = newIndent(open_fodder(ast->file), indent, column + 1); in expr()
1779 Indent new_indent = newIndent(ast->idFodder, indent, column); in expr()
1792 new_indent = newIndent(ast->endColonFodder, indent, column); in expr()
1808 new_indent = newIndent(ast->endColonFodder, indent, column); in expr()
1972 Indent new_indent = newIndent(ast->idFodder, indent, column); in expr()
[all …]
/dports/devel/pear-PHP_CodeSniffer/PHP_CodeSniffer-3.6.1/src/Standards/Squiz/Sniffs/Commenting/
H A DFunctionCommentSniff.php530 $newIndent = ($param['commentLines'][$lineNum]['indent'] - $diff);
533 str_repeat(' ', $newIndent)
653 $newIndent = ($param['commentLines'][$lineNum]['indent'] - $diff);
654 if ($newIndent <= 0) {
660 str_repeat(' ', $newIndent)
712 $newIndent = ($param['commentLines'][$lineNum]['indent'] - $diff);
713 if ($newIndent <= 0) {
719 str_repeat(' ', $newIndent)
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Yaml/
H A DParser.php576 $newIndent = null;
590 $newIndent = $this->getCurrentLineIndentation();
592 } while (!$EOF && null === $newIndent);
600 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
604 $newIndent = $indentation;
608 if ($this->getCurrentLineIndentation() >= $newIndent) {
609 $data[] = substr($this->currentLine, $newIndent);
618 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
643 $data[] = substr($this->currentLine, $newIndent);
647 if ($indent >= $newIndent) {
[all …]
/dports/www/phpbb3/phpBB3/vendor/symfony/yaml/
H A DParser.php576 $newIndent = null;
590 $newIndent = $this->getCurrentLineIndentation();
592 } while (!$EOF && null === $newIndent);
600 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
604 $newIndent = $indentation;
608 if ($this->getCurrentLineIndentation() >= $newIndent) {
609 $data[] = substr($this->currentLine, $newIndent);
618 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
643 $data[] = substr($this->currentLine, $newIndent);
647 if ($indent >= $newIndent) {
[all …]
/dports/www/baikal/baikal/vendor/symfony/yaml/
H A DParser.php576 $newIndent = null;
590 $newIndent = $this->getCurrentLineIndentation();
592 } while (!$EOF && null === $newIndent);
600 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
604 $newIndent = $indentation;
608 if ($this->getCurrentLineIndentation() >= $newIndent) {
609 $data[] = substr($this->currentLine, $newIndent);
618 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
643 $data[] = substr($this->currentLine, $newIndent);
647 if ($indent >= $newIndent) {
[all …]
/dports/www/drupal8/drupal-8.9.20/vendor/symfony/yaml/
H A DParser.php571 $newIndent = null;
585 $newIndent = $this->getCurrentLineIndentation();
587 } while (!$EOF && null === $newIndent);
595 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
599 $newIndent = $indentation;
603 if ($this->getCurrentLineIndentation() >= $newIndent) {
604 $data[] = substr($this->currentLine, $newIndent);
613 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
638 $data[] = substr($this->currentLine, $newIndent);
642 if ($indent >= $newIndent) {
[all …]
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/symfony/yaml/
H A DParser.php571 $newIndent = null;
585 $newIndent = $this->getCurrentLineIndentation();
587 } while (!$EOF && null === $newIndent);
595 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
599 $newIndent = $indentation;
603 if ($this->getCurrentLineIndentation() >= $newIndent) {
604 $data[] = substr($this->currentLine, $newIndent);
613 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
638 $data[] = substr($this->currentLine, $newIndent);
642 if ($indent >= $newIndent) {
[all …]
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Yaml/
H A DParser.php576 $newIndent = null;
590 $newIndent = $this->getCurrentLineIndentation();
592 } while (!$EOF && null === $newIndent);
600 if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) {
604 $newIndent = $indentation;
608 if ($this->getCurrentLineIndentation() >= $newIndent) {
609 $data[] = substr($this->currentLine, $newIndent);
618 …if ($inSequence && $oldLineIndentation === $newIndent && isset($data[0][0]) && '-' === $data[0][0]…
643 $data[] = substr($this->currentLine, $newIndent);
647 if ($indent >= $newIndent) {
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ua/org.eclipse.pde.ua.core/src/org/eclipse/pde/internal/ua/core/cheatsheet/comp/
H A DCompCSTaskObject.java259 String newIndent = indent + XMLPrintHandler.XML_INDENT; in writeElements() local
262 fFieldIntro.write(newIndent, writer); in writeElements()
266 fFieldOnCompletion.write(newIndent, writer); in writeElements()
272 dependency.write(newIndent, writer); in writeElements()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/plugin/
H A DPluginElement.java243 String newIndent = indent + ATTRIBUTE_SHIFT; in write() local
248 attribute.write(newIndent, writer); in write()
255 newIndent = indent + ELEMENT_SHIFT; in write()
259 pluginElement.write(newIndent, writer); in write()
262 writer.println(newIndent + getWritableString(getText())); in write()

1234567891011