Overview
| Comment: | [lo] lexicon editor: search within personal dictionary |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | lo | multid |
| Files: | files | file ages | folders |
| SHA3-256: |
819d3a016fc6bd6eaef3a66c5af9dc1c |
| User & Date: | olr on 2018-03-27 16:13:14 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-03-27
| ||
| 16:51 | [fx][tb][lo] lexical editor: tag p and q for verb generation check-in: 11a83392a7 user: olr tags: tb, fx, lo, multid | |
| 16:13 | [lo] lexicon editor: search within personal dictionary check-in: 819d3a016f user: olr tags: lo, multid | |
| 16:12 | [graphspell][bug] ibdawg: fix initialization with JSON object check-in: c0162510e5 user: olr tags: graphspell, multid | |
Changes
Modified gc_lang/fr/oxt/DictOptions/LexiconEditor.py from [b0ac6192f3] to [85224c07b2].
| ︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + |
def __init__ (self, ctx):
self.ctx = ctx
self.xSvMgr = self.ctx.ServiceManager
self.xDesktop = self.xSvMgr.createInstanceWithContext("com.sun.star.frame.Desktop", self.ctx)
self.xDocument = self.xDesktop.getCurrentComponent()
self.xContainer = None
self.xDialog = None
|
| ︙ | |||
334 335 336 337 338 339 340 | 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 | - + + - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |
xDialog.run()
except:
traceback.print_exc()
# Code
def launchSearchWords (self):
xDialog = SearchWords.SearchWords(self.ctx)
|
| ︙ | |||
550 551 552 553 554 555 556 | 581 582 583 584 585 586 587 588 589 590 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
nSelectedEntries = len(self.xGridControlLex.getSelectedRows())
for i in self.xGridControlLex.getSelectedRows():
if i < xGridDataModel.RowCount:
xGridDataModel.removeRow(i)
self.xGridControlLex.deselectAllRows()
self.xNumLex.Label = str(xGridDataModel.RowCount)
|
Modified gc_lang/fr/oxt/DictOptions/SearchWords.py from [cd7d6b9804] to [fbd244567c].
| ︙ | |||
78 79 80 81 82 83 84 | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | - + + |
setattr(xCol, k, w)
xColumnModel.addColumn(xCol)
for k, w in kwargs.items():
setattr(xGridModel, k, w)
self.xDialog.insertByName(name, xGridModel)
return xGridModel
|
| ︙ | |||
167 168 169 170 171 172 173 | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | - + |
elif xActionEvent.ActionCommand == "Close":
self.xContainer.endExecute()
except:
traceback.print_exc()
def initSpellChecker (self):
if not self.oSpellChecker:
|
| ︙ |