]> git.lyx.org Git - features.git/commit
Unbreak completion in text mode
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 8 Jun 2018 08:32:47 +0000 (10:32 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 8 Jun 2018 08:32:47 +0000 (10:32 +0200)
commitf1ea7fee5cda3fbbeb9fdbb8bec2bd91c0745e56
tree4bd20ce0dd809906901869e29c6af3c293d92e09
parent51f8ba9d3583fd3294be3328b5c4dc8fed569cae
Unbreak completion in text mode

Completion uses a complicated async scheme based on timers to update
itself. This is probably not necessary anymore and is fragile to
event order changes.

This is what happens with the new painting scheme. Therefore the
asyncHideXXX() methods have to be made more robust and detect whether
completion state has changed by the time they are triggered.
src/frontends/qt4/GuiCompleter.cpp