예제 #1
0
파일: editor.py 프로젝트: Tayyib/uludag
 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)
예제 #2
0
파일: editor.py 프로젝트: Tayyib/uludag
 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)