Esempio n. 1
0
 def setupAPI(self):
     api = QextScintillaAPIs()
     for item in templates.actions_api:
         api.add(item)
     self.myapi = api
     self.setAutoCompletionAPIs(self.myapi)
     self.setAutoCompletionSource(self.AcsAPIs)
     self.setAutoCompletionThreshold(2)
Esempio n. 2
0
 def setupAPI(self):
     api = QextScintillaAPIs()
     for item in templates.pspec_tags:
         api.add(item)
     for item in templates.pspec_attributes:
         api.add(item)
     for item in templates.pspec_filetypes:
         api.add(item)
     self.myapi = api
     self.setAutoCompletionAPIs(self.myapi)
     self.setAutoCompletionSource(self.AcsAPIs)
     self.setAutoCompletionThreshold(1)