182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
-
+
|
elif xActionEvent.ActionCommand == "Close":
self.xContainer.endExecute()
except:
traceback.print_exc()
def initSpellChecker (self):
if not self.oSpellChecker:
self.oSpellChecker = sc.SpellChecker("fr", "fr-allvars.bdic", "", self.oPersonalDicJSON)
self.oSpellChecker = sc.SpellChecker("fr", "fr-allvars.json", "", self.oPersonalDicJSON)
@_waitPointer
def searchSimilar (self):
self.initSpellChecker()
sWord = self.xWord.Text.strip()
if sWord:
xGridDataModel = self.xGridModel.GridDataModel
|