goto function added

This commit is contained in:
David Halter
2012-05-13 12:41:56 +02:00
parent d6c5363132
commit cb201c3b7b
4 changed files with 96 additions and 27 deletions

View File

@@ -15,7 +15,7 @@ path = os.path.join(os.getcwd(), f_name)
f = open(path)
code = f.read()
for i in range(1):
completions = functions.complete(code, 180, 200, path)
completions = functions.get_definitions(code, 180, 200, path)
#completions = functions.complete(code, 42, 200, path)
print '\n', ', '.join(sorted(str(c) for c in completions))