Home
last modified time | relevance | path

Searched refs:allow_colorizing (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/idlelib/
DColorDelegator.py56 self.allow_colorizing = False
92 allow_colorizing = True variable in ColorDelegator
103 if self.allow_colorizing:
115 self.allow_colorizing = False
129 if self.allow_colorizing and self.colorizing:
132 self.allow_colorizing = not self.allow_colorizing
133 if self.allow_colorizing and not self.colorizing:
137 self.allow_colorizing and "on" or "off"
145 if not self.allow_colorizing:
161 if self.allow_colorizing and self.tag_nextrange("TODO", "1.0"):
/external/python/cpython3/Lib/idlelib/
Dcolorizer.py81 self.allow_colorizing = True
106 self.allow_colorizing = False
153 if self.allow_colorizing:
164 self.allow_colorizing = False
180 if self.allow_colorizing and self.colorizing:
183 self.allow_colorizing = not self.allow_colorizing
184 if self.allow_colorizing and not self.colorizing:
188 self.allow_colorizing and "on" or "off")
205 if not self.allow_colorizing:
221 if self.allow_colorizing and self.tag_nextrange("TODO", "1.0"):
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_colorizer.py137 self.assertTrue(color.allow_colorizing)
241 self.assertTrue(color.allow_colorizing)
262 color.allow_colorizing = False
274 self.assertTrue(color.allow_colorizing)
282 self.assertFalse(color.allow_colorizing)
290 self.assertTrue(color.allow_colorizing)
297 self.assertFalse(color.allow_colorizing)
305 self.assertTrue(color.allow_colorizing)
323 color.allow_colorizing = False
326 color.allow_colorizing = True