GTK: Fix reporting deletion length in the accessible
commita31a43efe15a55ea249c2224f6688c9dcf5f5b64
authorColomban Wendling <ban@herbesfolles.org>
Sun, 18 Dec 2016 15:35:22 +0000 (18 16:35 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Tue, 20 Dec 2016 20:45:29 +0000 (20 21:45 +0100)
tree21c9946a129d047751175ff32bc18601a042a09e
parent745d15de2e82a636985c32d5ac149416783ef5a6
GTK: Fix reporting deletion length in the accessible

We cannot compute the length in characters after the text has been
deleted, so we need to compute it in BEFOREDELETE.  However, we need to
emit the signal once the buffer has actually changed, so we need to
cache the value in-between those events.
scintilla/gtk/ScintillaGTKAccessible.cxx
scintilla/gtk/ScintillaGTKAccessible.h