Searched refs:stopindent (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/idlelib/ |
D | CodeContext.py | 107 def get_context(self, new_topvisible, stopline=1, stopindent=0): argument 127 if opener and linenum < new_topvisible and indent >= stopindent: 129 if lastindent <= stopindent: 149 stopindent = self.info[-1][1] + 1 153 stopindent = self.info[-1][1] 157 stopindent)
|
/external/python/cpython3/Lib/idlelib/ |
D | codecontext.py | 146 def get_context(self, new_topvisible, stopline=1, stopindent=0): argument 169 if opener and linenum < new_topvisible and indent >= stopindent: 171 if lastindent <= stopindent: 195 stopindent = self.info[-1][1] + 1 199 stopindent = self.info[-1][1] 203 stopindent)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_codecontext.py | 214 eq(gc(11, stopindent=4), ([(7, 4, ' def compare(self):', 'def'), 218 eq(gc(11, stopindent=8), ([(8, 8, ' if a > b:', 'if'),
|