AssistantEric/APIsManager.py

changeset 107
728fde5bfdb1
parent 106
df7a9c556d5c
child 116
a109c6b8ac77
equal deleted inserted replaced
106:df7a9c556d5c 107:728fde5bfdb1
1013 """ 1013 """
1014 return self.__lexer 1014 return self.__lexer
1015 1015
1016 def autoCompletionWordSeparators(self): 1016 def autoCompletionWordSeparators(self):
1017 """ 1017 """
1018 Private method to get the word separator characters. 1018 Public method to get the word separator characters.
1019 1019
1020 @return word separator characters (list of strings) 1020 @return word separator characters (list of strings)
1021 """ 1021 """
1022 if self.__lexer: 1022 if self.__lexer:
1023 return self.__lexer.autoCompletionWordSeparators() 1023 return self.__lexer.autoCompletionWordSeparators()
1176 @param language language of the API (string) 1176 @param language language of the API (string)
1177 """ 1177 """
1178 if language == ApisNameProject: 1178 if language == ApisNameProject:
1179 language = self.tr("Project") 1179 language = self.tr("Project")
1180 self.__showMessage(self.tr("Preparation of '{0}' APIs finished.") 1180 self.__showMessage(self.tr("Preparation of '{0}' APIs finished.")
1181 .format(language)) 1181 .format(language))
1182 1182
1183 def __apiPreparationStarted(self, language): 1183 def __apiPreparationStarted(self, language):
1184 """ 1184 """
1185 Private slot handling the preparation started signal of an API object. 1185 Private slot handling the preparation started signal of an API object.
1186 1186
1187 @param language language of the API (string) 1187 @param language language of the API (string)
1188 """ 1188 """
1189 if language == ApisNameProject: 1189 if language == ApisNameProject:
1190 language = self.tr("Project") 1190 language = self.tr("Project")
1191 self.__showMessage(self.tr("Preparation of '{0}' APIs started.") 1191 self.__showMessage(self.tr("Preparation of '{0}' APIs started.")
1192 .format(language)) 1192 .format(language))
1193 1193
1194 def __apiPreparationCancelled(self, language): 1194 def __apiPreparationCancelled(self, language):
1195 """ 1195 """
1196 Private slot handling the preparation cancelled signal of an API 1196 Private slot handling the preparation cancelled signal of an API
1197 object. 1197 object.
1199 @param language language of the API (string) 1199 @param language language of the API (string)
1200 """ 1200 """
1201 if language == ApisNameProject: 1201 if language == ApisNameProject:
1202 language = self.tr("Project") 1202 language = self.tr("Project")
1203 self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.") 1203 self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.")
1204 .format(language)) 1204 .format(language))
1205 1205
1206 def __apiPreparationStatus(self, language, status, filename): 1206 def __apiPreparationStatus(self, language, status, filename):
1207 """ 1207 """
1208 Private slot handling the preparation status signal of an API object. 1208 Private slot handling the preparation status signal of an API object.
1209 1209

eric ide

mercurial