]> git.lyx.org Git - features.git/commit
Automatically show the review toolbar if the document has tracked changes
authorGuillaume Munch <gm@lyx.org>
Sat, 30 Jan 2016 23:14:36 +0000 (23:14 +0000)
committerRichard Heck <rgheck@lyx.org>
Sun, 29 May 2016 21:55:42 +0000 (17:55 -0400)
commit6d4e6aad24edb7bcfbc49f03d2432fc9fa06954d
treec9d04d9ae16c8fa336e3b79959f95f8f9fea7e2d
parent9a09fe38bd28c3a788fc3ca4da9904bcd7eb339a
Automatically show the review toolbar if the document has tracked changes
(#8738)

For efficiency, we add a new flag to the buffer indicating when changes are
present. This flag is updated at each buffer update, and also when explicitly
requested via a dispatch result flag.
lib/ui/default.ui
src/Buffer.cpp
src/Buffer.h
src/Changes.cpp
src/Changes.h
src/Cursor.cpp
src/DispatchResult.h
src/Paragraph.cpp
src/Paragraph.h
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiView.cpp