eric6/Project/SpellingPropertiesDialog.py

changeset 7265
0665c4d509c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7264:bedbe458d792 7265:0665c4d509c9
73 def storeData(self): 73 def storeData(self):
74 """ 74 """
75 Public method to store the entered/modified data. 75 Public method to store the entered/modified data.
76 """ 76 """
77 if self.spellingComboBox.currentIndex() == 0: 77 if self.spellingComboBox.currentIndex() == 0:
78 self.project.pdata["SPELLLANGUAGE"] = \ 78 self.project.pdata["SPELLLANGUAGE"] = (
79 Preferences.getEditor("SpellCheckingDefaultLanguage") 79 Preferences.getEditor("SpellCheckingDefaultLanguage")
80 )
80 else: 81 else:
81 self.project.pdata["SPELLLANGUAGE"] = \ 82 self.project.pdata["SPELLLANGUAGE"] = (
82 self.spellingComboBox.currentText() 83 self.spellingComboBox.currentText()
83 self.project.pdata["SPELLWORDS"] = \ 84 )
84 self.project.getRelativePath(self.pwlPicker.text()) 85 self.project.pdata["SPELLWORDS"] = self.project.getRelativePath(
85 self.project.pdata["SPELLEXCLUDES"] = \ 86 self.pwlPicker.text())
86 self.project.getRelativePath(self.pelPicker.text()) 87 self.project.pdata["SPELLEXCLUDES"] = self.project.getRelativePath(
88 self.pelPicker.text())

eric ide

mercurial