review fix for ==
This commit is contained in:
parent
c3add0bef4
commit
5638cdf4a2
@ -178,7 +178,7 @@ class EditableTextObject(TextObject):
|
||||
for children in self._editable_children:
|
||||
if children._start <= pos < children._end:
|
||||
return children.find_parent_for_new_to(pos)
|
||||
if children._start == pos == children._end:
|
||||
if children._start == pos and pos == children._end:
|
||||
return children.find_parent_for_new_to(pos)
|
||||
return self
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user