1
0
forked from VimPlug/jedi

fix many position problems

This commit is contained in:
David Halter
2013-08-17 00:33:15 +04:30
parent 8beeb71f84
commit 2612963f58
5 changed files with 34 additions and 19 deletions

View File

@@ -285,7 +285,7 @@ class Scope(Simple, IsScope):
p = s.get_statement_for_position(pos, include_imports)
if p:
return p
elif s.start_pos <= pos < s.end_pos:
elif s.start_pos <= pos <= s.end_pos:
return s
for s in self.subscopes: