Home
last modified time | relevance | path

Searched refs:TextWrapper (Results 1 – 21 of 21) sorted by relevance

/third_party/python/Doc/library/
Dtextwrap.rst15 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/
Dtextwrap.py17 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/
DTextWrapper.cpp54 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()
DTextWrapper.h15 class TextWrapper {
165 TextWrapper() { in TextWrapper() function
DParagraphImpl.h263 friend class TextWrapper; variable
DRun.h534 friend class TextWrapper; variable
DParagraphImpl.cpp825 TextWrapper textWrapper; in breakShapedTextIntoLines()
/third_party/python/Lib/test/
Dtest_textwrap.py13 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()
Dtest_pydoc.py1095 self.assertEqual(self._get_summary_line(textwrap.TextWrapper.wrap),
1105 t = textwrap.TextWrapper()
/third_party/skia/modules/skparagraph/
Dskparagraph.gni58 "$_modules/skparagraph/src/TextWrapper.cpp",
59 "$_modules/skparagraph/src/TextWrapper.h",
/third_party/python/Lib/idlelib/idle_test/
Dtest_history.py58 class TextWrapper: class
78 self.text = text = TextWrapper(self.root)
Dtest_calltip.py97 if textwrap.TextWrapper.__doc__ is not None:
98 self.assertEqual(get_spec(textwrap.TextWrapper), '''\
Dtest_format.py233 class TextWrapper: class
243 self.text = TextWrapper(root)
/third_party/python/Misc/NEWS.d/
D3.6.0b3.rst146 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
D3.5.3rc1.rst647 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
D3.7.0a1.rst4051 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
/third_party/mbedtls/tests/scripts/
Dcheck_names.py111 self.textwrapper = textwrap.TextWrapper()
/third_party/python/Lib/idlelib/
Dpyshell.py44 from textwrap import TextWrapper
1412 wrapper = TextWrapper(width=width, tabsize=8, expand_tabs=True)
/third_party/python/Doc/whatsnew/
D3.4.rst1583 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
D2.3.rst1506 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/
DHISTORY16746 ``TextWrapper`` class.