Preferences/ConfigurationPages/EditorSyntaxPage.py

changeset 3025
67064c71df21
parent 2964
84b65fb9e780
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3024:17c01303a239 3025:67064c71df21
43 43
44 def save(self): 44 def save(self):
45 """ 45 """
46 Public slot to save the Editor Syntax Checker configuration. 46 Public slot to save the Editor Syntax Checker configuration.
47 """ 47 """
48 Preferences.setEditor("OnlineSyntaxCheck", 48 Preferences.setEditor(
49 "OnlineSyntaxCheck",
49 self.onlineCheckBox.isChecked()) 50 self.onlineCheckBox.isChecked())
50 Preferences.setEditor("OnlineSyntaxCheckInterval", 51 Preferences.setEditor(
52 "OnlineSyntaxCheckInterval",
51 self.onlineTimeoutSpinBox.value()) 53 self.onlineTimeoutSpinBox.value())
52 Preferences.setEditor("AutoCheckSyntax", 54 Preferences.setEditor(
55 "AutoCheckSyntax",
53 self.automaticSyntaxCheckCheckBox.isChecked()) 56 self.automaticSyntaxCheckCheckBox.isChecked())
54 57
55 # pyflakes related stuff 58 # pyflakes related stuff
56 Preferences.setFlakes("IncludeInSyntaxCheck", 59 Preferences.setFlakes(
60 "IncludeInSyntaxCheck",
57 self.includeCheckBox.isChecked()) 61 self.includeCheckBox.isChecked())
58 Preferences.setFlakes("IgnoreStarImportWarnings", 62 Preferences.setFlakes(
63 "IgnoreStarImportWarnings",
59 self.ignoreStarImportCheckBox.isChecked()) 64 self.ignoreStarImportCheckBox.isChecked())
60 65
61 66
62 def create(dlg): 67 def create(dlg):
63 """ 68 """

eric ide

mercurial