QScintilla/Editor.py

branch
APIs
changeset 5358
2584d0a08bf4
parent 5349
bccda3b5920a
child 5389
9b1c800daff3
equal deleted inserted replaced
5352:ddcf6fd8c316 5358:2584d0a08bf4
1638 if lang == "Python2": 1638 if lang == "Python2":
1639 lang = "Python" 1639 lang = "Python"
1640 elif lang == "Python3": 1640 elif lang == "Python3":
1641 lang = "Python 3" 1641 lang = "Python 3"
1642 return lang 1642 return lang
1643
1644 def getApiLanguage(self):
1645 """
1646 Public method to get the API language of the editor.
1647
1648 @return API language
1649 @rtype str
1650 """
1651 return self.apiLanguage
1643 1652
1644 def __bindCompleter(self, filename): 1653 def __bindCompleter(self, filename):
1645 """ 1654 """
1646 Private slot to set the correct typing completer depending on language. 1655 Private slot to set the correct typing completer depending on language.
1647 1656

eric ide

mercurial