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