OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:new_topvisible
(Results
1 - 2
of
2
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
CodeContext.py
107
def get_context(self,
new_topvisible
, stopline=1, stopindent=0):
108
"""Get context lines, starting at
new_topvisible
and working backwards.
120
for linenum in xrange(
new_topvisible
, stopline-1, -1):
127
if opener and linenum <
new_topvisible
and indent >= stopindent:
138
new_topvisible
= int(self.text.index("@0,0").split('.')[0])
139
if self.topvisible ==
new_topvisible
: # haven't scrolled
141
if self.topvisible <
new_topvisible
: # scroll down
142
lines, lastindent = self.get_context(
new_topvisible
,
145
# between topvisible and
new_topvisible
:
148
elif self.topvisible >
new_topvisible
: # scroll u
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
CodeContext.py
107
def get_context(self,
new_topvisible
, stopline=1, stopindent=0):
108
"""Get context lines, starting at
new_topvisible
and working backwards.
120
for linenum in xrange(
new_topvisible
, stopline-1, -1):
127
if opener and linenum <
new_topvisible
and indent >= stopindent:
138
new_topvisible
= int(self.text.index("@0,0").split('.')[0])
139
if self.topvisible ==
new_topvisible
: # haven't scrolled
141
if self.topvisible <
new_topvisible
: # scroll down
142
lines, lastindent = self.get_context(
new_topvisible
,
145
# between topvisible and
new_topvisible
:
148
elif self.topvisible >
new_topvisible
: # scroll u
[
all
...]
Completed in 1417 milliseconds