MCPcopy Index your code
hub / github.com/python/cpython / removecolors

Method removecolors

Lib/idlelib/colorizer.py:358–361  ·  view source on GitHub ↗

Remove all colorizing tags.

(self)

Source from the content-addressed store, hash-verified

356 self._add_tag(a, b, head, "DEFINITION")
357
358 def removecolors(self):
359 "Remove all colorizing tags."
360 for tag in self.tagdefs:
361 self.tag_remove(tag, "1.0", "end")
362
363
364def _color_delegator(parent): # htest #

Callers 2

_rmcolorizerMethod · 0.45
test_removecolorsMethod · 0.45

Calls 1

tag_removeMethod · 0.45

Tested by 1

test_removecolorsMethod · 0.36