From: Stefan Schimanski Date: Mon, 10 Mar 2008 12:49:18 +0000 (+0000) Subject: * comments for macro tables in Buffer X-Git-Tag: 1.6.10~5743 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=95f621f000aabaabf4e408302fa1d11cccda6c71;p=lyx.git * comments for macro tables in Buffer git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23617 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index a5df4bd9f5..3f079a69d9 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -174,6 +174,8 @@ public: typedef pair ScopeMacro; typedef map PositionScopeMacroMap; typedef map NamePositionScopeMacroMap; + /// map from the macro name to the position map, + /// which maps the macro definition position to the scope and the MacroData. NamePositionScopeMacroMap macros; bool macro_lock; @@ -181,7 +183,9 @@ public: typedef map BufferPositionMap; typedef pair ScopeBuffer; typedef map PositionScopeBufferMap; + /// position of children buffers in this buffer BufferPositionMap children_positions; + /// map from children inclusion positions to their scope and their buffer PositionScopeBufferMap position_to_children; /// Container for all sort of Buffer dependant errors.