eric6/Preferences/ConfigurationPages/EditorTypingPage.py

changeset 6997
24eabcea4c59
parent 6942
2602857055c5
child 7229
53054eb5b15a
equal deleted inserted replaced
6996:7d5a103bdb76 6997:24eabcea4c59
51 Preferences.getEditorTyping("Python/InsertQuote")) 51 Preferences.getEditorTyping("Python/InsertQuote"))
52 self.pythonDedentElseCheckBox.setChecked( 52 self.pythonDedentElseCheckBox.setChecked(
53 Preferences.getEditorTyping("Python/DedentElse")) 53 Preferences.getEditorTyping("Python/DedentElse"))
54 self.pythonDedentExceptCheckBox.setChecked( 54 self.pythonDedentExceptCheckBox.setChecked(
55 Preferences.getEditorTyping("Python/DedentExcept")) 55 Preferences.getEditorTyping("Python/DedentExcept"))
56 self.pythonDedentExceptPy24CheckBox.setChecked(
57 Preferences.getEditorTyping("Python/Py24StyleTry"))
58 self.pythonInsertImportCheckBox.setChecked( 56 self.pythonInsertImportCheckBox.setChecked(
59 Preferences.getEditorTyping("Python/InsertImport")) 57 Preferences.getEditorTyping("Python/InsertImport"))
58 self.pythonImportBraceTypeCheckBox.setChecked(
59 Preferences.getEditorTyping("Python/ImportBraceType"))
60 self.pythonInsertSelfCheckBox.setChecked( 60 self.pythonInsertSelfCheckBox.setChecked(
61 Preferences.getEditorTyping("Python/InsertSelf")) 61 Preferences.getEditorTyping("Python/InsertSelf"))
62 self.pythonInsertBlankCheckBox.setChecked( 62 self.pythonInsertBlankCheckBox.setChecked(
63 Preferences.getEditorTyping("Python/InsertBlank")) 63 Preferences.getEditorTyping("Python/InsertBlank"))
64 self.pythonColonDetectionCheckBox.setChecked( 64 self.pythonColonDetectionCheckBox.setChecked(
111 self.pythonDedentElseCheckBox.isChecked()) 111 self.pythonDedentElseCheckBox.isChecked())
112 Preferences.setEditorTyping( 112 Preferences.setEditorTyping(
113 "Python/DedentExcept", 113 "Python/DedentExcept",
114 self.pythonDedentExceptCheckBox.isChecked()) 114 self.pythonDedentExceptCheckBox.isChecked())
115 Preferences.setEditorTyping( 115 Preferences.setEditorTyping(
116 "Python/Py24StyleTry",
117 self.pythonDedentExceptPy24CheckBox.isChecked())
118 Preferences.setEditorTyping(
119 "Python/InsertImport", 116 "Python/InsertImport",
120 self.pythonInsertImportCheckBox.isChecked()) 117 self.pythonInsertImportCheckBox.isChecked())
118 Preferences.setEditorTyping(
119 "Python/ImportBraceType",
120 self.pythonImportBraceTypeCheckBox.isChecked())
121 Preferences.setEditorTyping( 121 Preferences.setEditorTyping(
122 "Python/InsertSelf", 122 "Python/InsertSelf",
123 self.pythonInsertSelfCheckBox.isChecked()) 123 self.pythonInsertSelfCheckBox.isChecked())
124 Preferences.setEditorTyping( 124 Preferences.setEditorTyping(
125 "Python/InsertBlank", 125 "Python/InsertBlank",

eric ide

mercurial