parent
7fc0d762d7
commit
fe7a462326
10
buffer.py
10
buffer.py
|
@ -152,12 +152,10 @@ class Buffer(object):
|
|||
if w in self.windows:
|
||||
self.windows.remove(w)
|
||||
modename = w.mode.name()
|
||||
found = False
|
||||
for w2 in self.windows:
|
||||
if w2.mode.name() == modename:
|
||||
found = True
|
||||
break
|
||||
if not found:
|
||||
if modename in self.highlights:
|
||||
for w2 in self.windows:
|
||||
if w2.mode.name() == modename:
|
||||
return
|
||||
del self.highlights[modename]
|
||||
def _region_add(self, p1, p2, lines, act):
|
||||
move = DelMove(self, p1, p2)
|
||||
|
|
Loading…
Reference in New Issue