Preferences/ConfigurationPages/EditorSyntaxPage.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3025
67064c71df21
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
45 45
46 def save(self): 46 def save(self):
47 """ 47 """
48 Public slot to save the Editor Syntax Checker configuration. 48 Public slot to save the Editor Syntax Checker configuration.
49 """ 49 """
50 Preferences.setEditor("OnlineSyntaxCheck", 50 Preferences.setEditor(
51 "OnlineSyntaxCheck",
51 self.onlineCheckBox.isChecked()) 52 self.onlineCheckBox.isChecked())
52 Preferences.setEditor("OnlineSyntaxCheckInterval", 53 Preferences.setEditor(
54 "OnlineSyntaxCheckInterval",
53 self.onlineTimeoutSpinBox.value()) 55 self.onlineTimeoutSpinBox.value())
54 Preferences.setEditor("AutoCheckSyntax", 56 Preferences.setEditor(
57 "AutoCheckSyntax",
55 self.automaticSyntaxCheckCheckBox.isChecked()) 58 self.automaticSyntaxCheckCheckBox.isChecked())
56 59
57 # pyflakes related stuff 60 # pyflakes related stuff
58 Preferences.setFlakes("IncludeInSyntaxCheck", 61 Preferences.setFlakes(
62 "IncludeInSyntaxCheck",
59 self.includeCheckBox.isChecked()) 63 self.includeCheckBox.isChecked())
60 Preferences.setFlakes("IgnoreStarImportWarnings", 64 Preferences.setFlakes(
65 "IgnoreStarImportWarnings",
61 self.ignoreStarImportCheckBox.isChecked()) 66 self.ignoreStarImportCheckBox.isChecked())
62 67
63 68
64 def create(dlg): 69 def create(dlg):
65 """ 70 """

eric ide

mercurial