Grammalecte  Check-in [1cb2c395f6]

Overview
Comment:[lo][bug] enumerator: valuemax of progressbar
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | lo
Files: files | file ages | folders
SHA3-256: 1cb2c395f6e43b3e754730bbb125bae97a38e0f68788e66b3469342e17970b5a
User & Date: olr on 2018-02-23 20:46:54
Other Links: manifest | tags
Context
2018-02-24
07:55
[lo] Enumerator: new labels check-in: fd2d476ebf user: olr tags: trunk, lo
2018-02-23
21:00
merge trunk check-in: af32e20bdb user: olr tags: multid
20:46
[lo][bug] enumerator: valuemax of progressbar check-in: 1cb2c395f6 user: olr tags: trunk, lo
19:33
[lo][bug] Enumerator: reset characters style to default check-in: 7ec8d520ec user: olr tags: trunk, lo
Changes

Modified gc_lang/fr/oxt/Lexicographer/Enumerator.py from [ed6b054551] to [753041f6b5].

261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
        self.xNumWord.Label = str(i)
        self.xTotWord.Label = nTotOccur

    @_waitPointer
    def tagText (self, sWord, sAction=""):
        if not sAction:
            return
        self.xProgressBar.ProgressValueMax = self._countParagraph() * 2
        self.xProgressBar.ProgressValue = 0
        xCursor = self.xDocument.Text.createTextCursor()
        #helpers.xray(xCursor)
        xCursor.gotoStart(False)
        xCursor.gotoEndOfParagraph(True)
        sParagraph = xCursor.getString()
        if sWord in sParagraph:







|







261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
        self.xNumWord.Label = str(i)
        self.xTotWord.Label = nTotOccur

    @_waitPointer
    def tagText (self, sWord, sAction=""):
        if not sAction:
            return
        self.xProgressBar.ProgressValueMax = self._countParagraph()
        self.xProgressBar.ProgressValue = 0
        xCursor = self.xDocument.Text.createTextCursor()
        #helpers.xray(xCursor)
        xCursor.gotoStart(False)
        xCursor.gotoEndOfParagraph(True)
        sParagraph = xCursor.getString()
        if sWord in sParagraph: