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 """ |