[LyX features/cleanup/updateMacros4] Big comment

Richard Kimberly Heck rikiheck at lyx.org
Sat Nov 28 14:33:12 UTC 2020


The branch, cleanup/updateMacros4, has been updated.

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

commit 4da2501d2c5c579ec40e5fbed37b362b4ae07287
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sat Nov 28 10:02:52 2020 -0500

    Big comment

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index efbf7f7..8ddbe67 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -196,6 +196,11 @@ public:
 	///
 	mutable TocBackend toc_backend;
 
+	// FIXME The whole reason we need MacroData is that the global macros
+	// and the real macros both need this kind of data structure. But if
+	// InsetMathMacroTemplate just had a MacroData as a member, then we
+	// could probably just have pointers to that here, rather than
+	// creating all these new objects.
 	class MacroTable {
 	public:
 		struct MacroDefinition {

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

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


hooks/post-receive
-- 
Repository for new features


More information about the lyx-cvs mailing list