]> git.lyx.org Git - lyx.git/commitdiff
Document this hack before forgeting the purpose
authorPavel Sanda <sanda@lyx.org>
Thu, 7 Jan 2010 17:15:26 +0000 (17:15 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 7 Jan 2010 17:15:26 +0000 (17:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXVC.h

index df16efcd840410c743a085b6e7a31cd35af5fa3b..e39ab9249b1d54df2c36ec4d6b75613d135c9b7e 100644 (file)
@@ -67,6 +67,13 @@ public:
        /// Register the document as an VC file.
        bool registrer();
 
+
+       // std::string used as a return value in fucntions below are
+       // workaround to defer messages to be displayed in UI. If message()
+       // is used directly, message string is immediately overwritten
+       // by the next multiple messages on the top of the processed dispatch
+       // machinery.
+
        /// Unlock and commit changes. Returns log.
        std::string checkIn();
        /// Does the current VC supports this operation?