• Luke Deller's avatar
    tdf#46852 fix spellcheck continue at beginning · 8b321625
    Luke Deller yazdı
    When a spellcheck reaches the end of the document, it is supposed
    to be able to continue from the beginning of the document to the
    point at which the spellcheck was started.
    
    This was not working in the case where the word at the starting
    position was replaced due to a spelling correction, which causes the
    starting position to be lost.
    
    Fix this situation by recording the position immediately *before*
    the spellcheck starting position, so that it will not be affected
    by a spelling correction *at* the starting position.
    
    Change-Id: I9483fd5937dc1e235f6f9639d4856fe15e3d47a6
    Reviewed-on: https://gerrit.libreoffice.org/40123Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
    8b321625
spellDialog.py 2.26 KB