Sat, 29 Mar 2014 20:18:31 +0100
Fixed a few code style issues.
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Mar 29 20:12:47 2014 +0100 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Mar 29 20:18:31 2014 +0100 @@ -172,7 +172,7 @@ if (codestring and len(py3files) == 1) or \ (codestring and len(py2files) == 1) or \ (codestring and len(jsfiles) == 1) or \ - (not codestring and + (not codestring and len(py3files) + len(py2files) + len(jsfiles) > 0): self.checkProgress.setMaximum( len(py3files) + len(py2files) + len(jsfiles))
--- a/Plugins/PluginSyntaxChecker.py Sat Mar 29 20:12:47 2014 +0100 +++ b/Plugins/PluginSyntaxChecker.py Sat Mar 29 20:18:31 2014 +0100 @@ -253,7 +253,7 @@ if not self.__editorAct in menu.actions(): menu.addAction(self.__editorAct) self.__editorAct.setEnabled( - editor.isPyFile() or + editor.isPyFile() or editor.isJavascriptFile() )
--- a/Project/Project.py Sat Mar 29 20:12:47 2014 +0100 +++ b/Project/Project.py Sat Mar 29 20:18:31 2014 +0100 @@ -180,8 +180,8 @@ "Python3": Preferences.getPython("Python3Extensions"), "Ruby": ['.rb'], "JavaScript": ['.js'], - "Mixed": Preferences.getPython("Python3Extensions") + \ - ['.rb', '.js'], + "Mixed": (Preferences.getPython("Python3Extensions") + + ['.rb', '.js']), } self.dbgFilters = {