]> git.lyx.org Git - lyx.git/commitdiff
* comments for macro tables in Buffer
authorStefan Schimanski <sts@lyx.org>
Mon, 10 Mar 2008 12:49:18 +0000 (12:49 +0000)
committerStefan Schimanski <sts@lyx.org>
Mon, 10 Mar 2008 12:49:18 +0000 (12:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23617 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index a5df4bd9f5f6d1a99645076273dcede11e7eb080..3f079a69d96b806cf6b6fe9b56019c9b28864c85 100644 (file)
@@ -174,6 +174,8 @@ public:
        typedef pair<DocIterator, MacroData> ScopeMacro;
        typedef map<DocIterator, ScopeMacro> PositionScopeMacroMap;
        typedef map<docstring, PositionScopeMacroMap> 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<Buffer const * const, DocIterator> BufferPositionMap;
        typedef pair<DocIterator, Buffer const *> ScopeBuffer;
        typedef map<DocIterator, ScopeBuffer> 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.