Sat, 21 Feb 2015 18:34:31 +0100
Fixed a little annoying bug and some code style issues.
--- a/AssistantEric/APIsManager.py Thu Jan 01 13:24:09 2015 +0100 +++ b/AssistantEric/APIsManager.py Sat Feb 21 18:34:31 2015 +0100 @@ -1015,7 +1015,7 @@ def autoCompletionWordSeparators(self): """ - Private method to get the word separator characters. + Public method to get the word separator characters. @return word separator characters (list of strings) """ @@ -1178,7 +1178,7 @@ if language == ApisNameProject: language = self.tr("Project") self.__showMessage(self.tr("Preparation of '{0}' APIs finished.") - .format(language)) + .format(language)) def __apiPreparationStarted(self, language): """ @@ -1189,7 +1189,7 @@ if language == ApisNameProject: language = self.tr("Project") self.__showMessage(self.tr("Preparation of '{0}' APIs started.") - .format(language)) + .format(language)) def __apiPreparationCancelled(self, language): """ @@ -1201,7 +1201,7 @@ if language == ApisNameProject: language = self.tr("Project") self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.") - .format(language)) + .format(language)) def __apiPreparationStatus(self, language, status, filename): """
--- a/AssistantEric/Assistant.py Thu Jan 01 13:24:09 2015 +0100 +++ b/AssistantEric/Assistant.py Sat Feb 21 18:34:31 2015 +0100 @@ -662,7 +662,8 @@ line, index = editor.lineIndexFromPosition(pos) curWord = editor.getWord(line, index, useWordChars=False) completion += curWord[len(completion):] - if completion and completion not in completionsList: + if completion and completion not in completionsList and \ + completion != word: completionsList.append( "{0}?{1}".format( completion, self.__fromDocumentID))
--- a/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.APIsManager.html Thu Jan 01 13:24:09 2015 +0100 +++ b/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.APIsManager.html Sat Feb 21 18:34:31 2015 +0100 @@ -272,7 +272,7 @@ <td>Protected method to determine the name of the database file.</td> </tr><tr> <td><a href="#DbAPIs.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> -<td>Private method to get the word separator characters.</td> +<td>Public method to get the word separator characters.</td> </tr><tr> <td><a href="#DbAPIs.close">close</a></td> <td>Public method to close the database.</td> @@ -446,7 +446,7 @@ <h4>DbAPIs.autoCompletionWordSeparators</h4> <b>autoCompletionWordSeparators</b>(<i></i>) <p> - Private method to get the word separator characters. + Public method to get the word separator characters. </p><dl> <dt>Returns:</dt> <dd>
--- a/ChangeLog Thu Jan 01 13:24:09 2015 +0100 +++ b/ChangeLog Sat Feb 21 18:34:31 2015 +0100 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 3.0.1: +- bug fixes + Version 3.0.0: - ported for eric6 using PyQt5
--- a/PluginAssistantEric.py Thu Jan 01 13:24:09 2015 +0100 +++ b/PluginAssistantEric.py Sat Feb 21 18:34:31 2015 +0100 @@ -24,7 +24,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "3.0.0" +version = "3.0.1" className = "AssistantEricPlugin" packageName = "AssistantEric" shortDescription = "Alternative autocompletion and calltips provider."
--- a/PluginEricAssistant.e4p Thu Jan 01 13:24:09 2015 +0100 +++ b/PluginEricAssistant.e4p Sat Feb 21 18:34:31 2015 +0100 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Project SYSTEM "Project-5.1.dtd"> <!-- eric project file for project PluginEricAssistant --> -<!-- Copyright (C) 2014 Detlev Offenbach, detlev@die-offenbachs.de --> +<!-- Copyright (C) 2015 Detlev Offenbach, detlev@die-offenbachs.de --> <Project version="5.1"> <Language>en</Language> <Hash>3ad6504a180bc4770ebb6d0123dfcca5c4b21f8c</Hash> @@ -262,13 +262,13 @@ <string>ExcludeFiles</string> </key> <value> - <string> */Ui_*.py</string> + <string>*/Ui_*.py</string> </value> <key> <string>ExcludeMessages</string> </key> <value> - <string>E24, W293, N802, N803, N807, N808, N821</string> + <string>W293, N802, N803, N807, N808, N821,E265</string> </value> <key> <string>FixCodes</string> @@ -312,6 +312,12 @@ <value> <bool>True</bool> </value> + <key> + <string>ShowIgnored</string> + </key> + <value> + <bool>False</bool> + </value> </dict> </value> </dict>