commit f146bded7a1eed37174efca16ea63e65f93f6fbc
Author: Georg Baum <[email protected]>
Date:   Mon Nov 17 22:07:38 2014 +0100

    Document Buffer::preview()

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index f236df3..c525ec2 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -4184,6 +4184,7 @@ Buffer::ExportStatus Buffer::preview(string const & 
format) const
        return preview(format, update_unincluded);
 }
 
+
 Buffer::ExportStatus Buffer::preview(string const & format, bool includeall) 
const
 {
        MarkAsExporting exporting(this);
diff --git a/src/Buffer.h b/src/Buffer.h
index 97975f1..9ff7752 100644
--- a/src/Buffer.h
+++ b/src/Buffer.h
@@ -642,7 +642,8 @@ public:
 
        ///
        ExportStatus doExport(std::string const & target, bool put_in_tempdir) 
const;
-       ///
+       /// Export buffer to format \p format and open the result in a suitable 
viewer.
+       /// Note: This has nothing to do with preview of graphics or math 
formulas.
        ExportStatus preview(std::string const & format) const;
 
 private:

Reply via email to