eric7/JediInterface/JediClient.py

branch
eric7
changeset 8606
dd9bf9841c50
parent 8593
1d66b6af60ed
child 8609
fd6b68a0a2df
equal deleted inserted replaced
8605:43bd6ec9198f 8606:dd9bf9841c50
339 'ModulePath': str(assignment.module_path), 339 'ModulePath': str(assignment.module_path),
340 'Line': (0 if assignment.line is None else 340 'Line': (0 if assignment.line is None else
341 assignment.line), 341 assignment.line),
342 'Column': assignment.column, 342 'Column': assignment.column,
343 } 343 }
344
345 if (
346 gotoDefinition["ModulePath"] == filename and
347 gotoDefinition["Line"] == line
348 ):
349 # user called for the definition itself
350 # => send the references instead
351 self.__getReferences(params)
352 return
344 break 353 break
345 except SuppressedException as err: 354 except SuppressedException as err:
346 errorDict = self.__handleError(err) 355 errorDict = self.__handleError(err)
347 356
348 result = { 357 result = {

eric ide

mercurial