]> git.lyx.org Git - features.git/commit
Reimplement computation of change tracking status
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 12 Jan 2020 19:09:41 +0000 (20:09 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:50 +0000 (15:48 +0200)
commit2bd723caab24e21934dfeec1c90abe81f226f2ab
tree846e2c1cfc16fc23c8173631d8cc217ca674e1cd
parentac12745a12a2fbdf12b859064ed21d20666a1e6e
Reimplement computation of change tracking status

This is a reimplementation of 6d4e6aad that is both simpler and more
complete.

This uses the updateBuffer mechanism to implement a fully working
version of Inset::isChanged(). Now the function returns true for an
inset that contains an inset that contains a change, for example.

Moverover Buffer::areChangesPresent() is merely a proxy for
Buffer::inset().isChanged().
src/Buffer.cpp
src/Buffer.h
src/insets/InsetText.cpp
src/insets/InsetText.h