1
0
forked from VimPlug/jedi

line_nr/indent were now completely replaced by start_pos. tests are failing!

This commit is contained in:
David Halter
2012-07-14 03:06:49 +02:00
parent cdf97b2bbe
commit 08a4562958
5 changed files with 174 additions and 190 deletions

View File

@@ -39,7 +39,7 @@ class RecursionDecorator(object):
class RecursionNode(object):
def __init__(self, stmt, parent):
self.script = stmt.get_parent_until()
self.position = (stmt.line_nr, stmt.indent)
self.position = stmt.start_pos
self.parent = parent
def __eq__(self, other):