From da0f528287054e105d75d0d1396cafbc50f1fd55 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 29 Sep 2010 12:50:45 +0000 Subject: [PATCH] Comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35536 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Buffer.h b/src/Buffer.h index 6959efdd13..8b5465c673 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -305,7 +305,12 @@ public: void setParent(Buffer const *); Buffer const * parent() const; - /// Collect all relative buffers + /// Collect all relative buffers, in the order in which they appear. + /// I.e., the "root" Buffer is first, then its first child, then any + /// of its children, etc. However, there are no duplicates in this + /// list. + /// This is "stable", too, in the sense that it returns the same + /// thing from whichever Buffer it is called. ListOfBuffers allRelatives() const; /** Get the document's master (or \c this if this is not a -- 2.39.2