The branch, cleanup/updateMacros4, has been updated.

- Log -----------------------------------------------------------------

commit c114eec79ae078c019d98d43fec29a14ab3e0e85
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Thu Nov 12 20:31:13 2020 -0500

    Another comment

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 8a97209..8241e42 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -4561,6 +4561,10 @@ void Paragraph::updateMacros(DocIterator const & us, 
DocIterator const & scope)
        // iterate over the insets of the current paragraph
        for (auto const & insit : insetList()) {
                it.pos() = insit.pos;
+               // Most insets want a DocIterator that points to the beginning
+               // of their associated text. Some do not (macros, includes), but
+               // those can pop that off.
+               // FIXME Surely there is some better way.
                it.push_back(CursorSlice(*insit.inset));
                insit.inset->updateMacros(it, scope);
                it.pop_back();

-----------------------------------------------------------------------

Summary of changes:
 src/Paragraph.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Repository for new features
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to