eric6/QScintilla/Editor.py

changeset 8221
0572a215bd2f
parent 8220
006ee31b4835
child 8222
5994b80b8760
equal deleted inserted replaced
8220:006ee31b4835 8221:0572a215bd2f
4940 """ 4940 """
4941 if self.lexer_ is None: 4941 if self.lexer_ is None:
4942 return False 4942 return False
4943 4943
4944 wseps = self.lexer_.autoCompletionWordSeparators() 4944 wseps = self.lexer_.autoCompletionWordSeparators()
4945 for wsep in wseps: 4945 return any(wsep.endswith(ch) for wsep in wseps)
4946 if wsep.endswith(ch):
4947 return True
4948
4949 return False
4950 4946
4951 def __autocompletionCancelled(self): 4947 def __autocompletionCancelled(self):
4952 """ 4948 """
4953 Private slot to handle the cancellation of an auto-completion list. 4949 Private slot to handle the cancellation of an auto-completion list.
4954 """ 4950 """

eric ide

mercurial