MCPcopy Create free account
hub / github.com/Tracktion/choc / setSectionBreak

Method setSectionBreak

choc/text/choc_CodePrinter.h:188–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186inline void CodePrinter::setNewLine (const char* newLineBreak) { newLineString = newLineBreak; }
187inline void CodePrinter::setLineWrapLength (size_t len) { lineWrapLength = len; }
188inline void CodePrinter::setSectionBreak (std::string newBreakString) { sectionBreakString = std::move (newBreakString); }
189inline void CodePrinter::startNewLine() { append ("\n"); }
190inline bool CodePrinter::isLastLineEmpty() const { return lines.empty() || getLengthWithTrimmedEnd (lines.back().line) == 0; }
191inline bool CodePrinter::isLastLineActive() const { return ! lines.empty() && lines.back().line.back() != '\n'; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected