| /third_party/python/Doc/library/ |
| D | textwrap.rst | 15 as well as :class:`TextWrapper`, the class that does all the work. 18 :class:`TextWrapper` for efficiency. 31 :class:`TextWrapper`, documented below. 33 See the :meth:`TextWrapper.wrap` method for additional details on how 72 :class:`TextWrapper`, documented below. Note that the whitespace is 73 collapsed before the text is passed to the :class:`TextWrapper` :meth:`fill` 134 :class:`TextWrapper` instance and calling a single method on it. That 137 create your own :class:`TextWrapper` object. 141 :attr:`TextWrapper.break_long_words` is set to false. 143 .. class:: TextWrapper(**kwargs) [all …]
|
| /third_party/python/Lib/ |
| D | textwrap.py | 17 class TextWrapper: class 386 w = TextWrapper(width=width, **kwargs) 398 w = TextWrapper(width=width, **kwargs) 413 w = TextWrapper(width=width, max_lines=1, **kwargs)
|
| /third_party/skia/modules/skparagraph/src/ |
| D | TextWrapper.cpp | 54 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, Word… in lookAhead() 195 void TextWrapper::moveForward(bool hasEllipsis, bool breakAll) { in moveForward() 226 void TextWrapper::trimEndSpaces(TextAlign align) { in moveForward() 238 SkScalar TextWrapper::getClustersTrimmedWidth() { in moveForward() 259 std::tuple<Cluster*, size_t, SkScalar> TextWrapper::trimStartSpaces(Cluster* endOfClusters) { in moveForward() 292 void TextWrapper::breakTextIntoLines(ParagraphImpl* parent, in moveForward()
|
| D | TextWrapper.h | 15 class TextWrapper { 165 TextWrapper() { in TextWrapper() function
|
| D | ParagraphImpl.h | 263 friend class TextWrapper; variable
|
| D | Run.h | 534 friend class TextWrapper; variable
|
| D | ParagraphImpl.cpp | 825 TextWrapper textWrapper; in breakShapedTextIntoLines()
|
| /third_party/python/Lib/test/ |
| D | test_textwrap.py | 13 from textwrap import TextWrapper, wrap, fill, dedent, indent, shorten 49 self.wrapper = TextWrapper(width=45) 95 wrapper = TextWrapper(45, fix_sentence_endings=True) 111 wrapper = TextWrapper(60, fix_sentence_endings=True) 576 self.wrapper = TextWrapper() 645 self.wrapper = TextWrapper()
|
| D | test_pydoc.py | 1095 self.assertEqual(self._get_summary_line(textwrap.TextWrapper.wrap), 1105 t = textwrap.TextWrapper()
|
| /third_party/skia/modules/skparagraph/ |
| D | skparagraph.gni | 58 "$_modules/skparagraph/src/TextWrapper.cpp", 59 "$_modules/skparagraph/src/TextWrapper.h",
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_history.py | 58 class TextWrapper: class 78 self.text = text = TextWrapper(self.root)
|
| D | test_calltip.py | 97 if textwrap.TextWrapper.__doc__ is not None: 98 self.assertEqual(get_spec(textwrap.TextWrapper), '''\
|
| D | test_format.py | 233 class TextWrapper: class 243 self.text = TextWrapper(root)
|
| /third_party/python/Misc/NEWS.d/ |
| D | 3.6.0b3.rst | 146 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
| D | 3.5.3rc1.rst | 647 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
| D | 3.7.0a1.rst | 4051 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
| /third_party/mbedtls/tests/scripts/ |
| D | check_names.py | 111 self.textwrapper = textwrap.TextWrapper()
|
| /third_party/python/Lib/idlelib/ |
| D | pyshell.py | 44 from textwrap import TextWrapper 1412 wrapper = TextWrapper(width=width, tabsize=8, expand_tabs=True)
|
| /third_party/python/Doc/whatsnew/ |
| D | 3.4.rst | 1583 The :class:`~textwrap.TextWrapper` class has two new attributes/constructor 1584 arguments: :attr:`~textwrap.TextWrapper.max_lines`, which limits the number of 1585 lines in the output, and :attr:`~textwrap.TextWrapper.placeholder`, which is a
|
| D | 2.3.rst | 1506 The module also contains a :class:`TextWrapper` class that actually implements 1507 the text wrapping strategy. Both the :class:`TextWrapper` class and the
|
| /third_party/python/Misc/ |
| D | HISTORY | 16746 ``TextWrapper`` class.
|