Plugins/PluginSyntaxChecker.py

changeset 3446
5a670e55adbb
parent 3438
29717a5e8b97
child 3447
64fb656bd334
equal deleted inserted replaced
3441:1b07f996e9ee 3446:5a670e55adbb
251 """ 251 """
252 if menuName == "Checks": 252 if menuName == "Checks":
253 if not self.__editorAct in menu.actions(): 253 if not self.__editorAct in menu.actions():
254 menu.addAction(self.__editorAct) 254 menu.addAction(self.__editorAct)
255 self.__editorAct.setEnabled( 255 self.__editorAct.setEnabled(
256 editor.isPy3File() or 256 editor.isPyFile() or
257 editor.isPy2File() or
258 editor.isJavascriptFile() 257 editor.isJavascriptFile()
259 ) 258 )
260 259
261 def __editorSyntaxCheck(self): 260 def __editorSyntaxCheck(self):
262 """ 261 """

eric ide

mercurial