From d753f2b25a5a232fa0b535c6d4b1a63162b19095 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 7 Jan 2010 17:15:26 +0000 Subject: [PATCH] Document this hack before forgeting the purpose git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXVC.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/LyXVC.h b/src/LyXVC.h index df16efcd84..e39ab9249b 100644 --- a/src/LyXVC.h +++ b/src/LyXVC.h @@ -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? -- 2.39.5