]> 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>
Mon, 11 Jun 2018 08:35:55 +0000 (10:35 +0200)
commit00ec2dd10648ba3220ce97c7502897520bb85ac6
treefcb3af23384086a354fc3f2b96f40fbcf33d37e7
parent97fe69426dfc54ccb1ee4f49ce8af1c6e81c2e83
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.

(cherry picked from commit f1ea7fee5cda3fbbeb9fdbb8bec2bd91c0745e56)
src/frontends/qt4/GuiCompleter.cpp