1
0
forked from VimPlug/jedi

Fix an issue with the positions of InstanceNames that used the original position_modifier.

This commit is contained in:
Dave Halter
2015-02-02 02:29:39 +01:00
parent c58cdbbf9b
commit a4bd412801
2 changed files with 2 additions and 4 deletions

View File

@@ -158,9 +158,7 @@ class Leaf(Base):
@start_pos.setter
def start_pos(self, value):
# TODO I think this is wrong, because the position_modifier.line needs
# to be looked at as well. Probably it needs to be substracted.
self._start_pos = value
self._start_pos = value[0] - self.position_modifier.line, value[1]
@property
def end_pos(self):