From: Pavel Sanda Date: Thu, 7 Jan 2010 17:15:26 +0000 (+0000) Subject: Document this hack before forgeting the purpose X-Git-Tag: 2.0.0~4532 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d753f2b25a5a232fa0b535c6d4b1a63162b19095;p=lyx.git Document this hack before forgeting the purpose git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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?