diff -r 43bd6ec9198f -r dd9bf9841c50 eric7/JediInterface/JediServer.py --- a/eric7/JediInterface/JediServer.py Tue Sep 14 19:18:33 2021 +0200 +++ b/eric7/JediInterface/JediServer.py Tue Sep 14 19:30:12 2021 +0200 @@ -379,29 +379,6 @@ # ignore errors silently location = result["GotoDefinitionDict"] if location: - try: - editor = self.__editors[euuid] - except KeyError: - editor = None - - if ( - editor is not None and - editor.getFileName() == location["ModulePath"] and - editor.getCursorPosition()[0] + 1 == location["Line"] - ): - # this was a click onto the definition line - # -> get references - idString = self.__idString(editor) - filename, line, index, source = self.__prepareData(editor) - self.sendJson("gotoReferences", { - "FileName": filename, - "Source": source, - "Line": line, - "Index": index, - "Uuid": euuid, - }, idString=idString) - return - self.__vm.openSourceFile(location["ModulePath"], location["Line"], addNext=True)