Searched refs:wrapped_text (Results 1 – 2 of 2) sorted by relevance
557 string wrapped_text = text; in wrap_text() local560 while ((pos = wrapped_text.find("\n", pos)) != string::npos && in wrap_text()561 pos != wrapped_text.size() - 1) { in wrap_text()562 wrapped_text.replace(pos, 1, replace_with); in wrap_text()565 wrapped_text = cat( in wrap_text()568 " ", wrapped_text, in wrap_text()571 return wrapped_text; in wrap_text()
2143 wrapped_text = textwrap.wrap(text, 72)2144 doc += '\n%s\n' % '\n'.join(wrapped_text)