parent
e867f46c16
commit
a767ede0c5
|
@ -18,7 +18,7 @@ class Context(object):
|
||||||
if delta == 0:
|
if delta == 0:
|
||||||
return
|
return
|
||||||
elif delta > 0:
|
elif delta > 0:
|
||||||
self.namelines.extend([None] * delta)
|
self.namelines.extend([(None, None)] * delta)
|
||||||
for i in reversed(range(p.y + 1, len(self.mode.window.buffer.lines))):
|
for i in reversed(range(p.y + 1, len(self.mode.window.buffer.lines))):
|
||||||
self.namelines[i] = self.namelines[i - delta]
|
self.namelines[i] = self.namelines[i - delta]
|
||||||
for i in range(p.y, p.y + delta):
|
for i in range(p.y, p.y + delta):
|
||||||
|
|
Loading…
Reference in New Issue