Thu, 17 Nov 2022 17:59:58 +0100
Adjusted some more code for eric7 22.12 and newer.
--- a/AssistantEric/APIsManager.py Thu Nov 17 16:07:41 2022 +0100 +++ b/AssistantEric/APIsManager.py Thu Nov 17 17:59:58 2022 +0100 @@ -1273,7 +1273,12 @@ @param filename name of the file that was saved @type str """ - if self.__project.isProjectSource(filename): + try: + isProjectSource = self.__project.isProjectCategory(filename, "SOURCES") + except AttributeError: + # backward compatibility for eric < 22.12 + isProjectSource = self.__project.isProjectSource(filename) + if isProjectSource: self.__workerQueue.append(filename) self.__processQueue()
--- a/ChangeLog Thu Nov 17 16:07:41 2022 +0100 +++ b/ChangeLog Thu Nov 17 17:59:58 2022 +0100 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 10.2.2: +- adjusted some more code for eric7 22.12 and newer + Version 10.2.1: - bug fixes
--- a/PluginAssistantEric.py Thu Nov 17 16:07:41 2022 +0100 +++ b/PluginAssistantEric.py Thu Nov 17 17:59:58 2022 +0100 @@ -22,7 +22,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "10.2.1" +version = "10.2.2" className = "AssistantEricPlugin" packageName = "AssistantEric" shortDescription = "Alternative autocompletion and calltips provider."