commit 3826ff643433ad166c3402b146b3860ab5d6861e
Author: Scott Kostyshak <[email protected]>
Date:   Tue Jul 19 02:11:27 2016 -0400

    Improve documentation of LFUN_BUFFER_ZOOM_{IN,OUT}
    
    The default for ZOOM_OUT is -20 from a user perspective. That is,
    the following are equivalent:
    
      buffer-zoom-out -20
      buffer-zoom-out
    
    The reason for this is that the argument to ZOOM_OUT is treated the
    exact same way as ZOOM_IN. The only way they differ is how the
    default case is handled.
    
    This commit also clarifies that (1) the argument may be positive or
    negative and that (2) the argument is interpreted as percentage
    points, not percent.
---
 lib/doc/LFUNs.lyx |    4 ++--
 src/LyXAction.cpp |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
index f2cf36f..7cc1775 100644
--- a/lib/doc/LFUNs.lyx
+++ b/lib/doc/LFUNs.lyx
@@ -5908,7 +5908,7 @@ Syntax buffer-zoom-in [<ZOOM>]
 \end_layout
 
 \begin_layout Description
-Params <ZOOM>: The zoom in %, the default is 20.
+Params <ZOOM>: The zoom in % points (neg. or pos.), the default is 20.
 \end_layout
 
 \begin_layout Description
@@ -5928,7 +5928,7 @@ Syntax buffer-zoom-out [<ZOOM>]
 \end_layout
 
 \begin_layout Description
-Params <ZOOM>: The zoom in %, the default is 20.
+Params <ZOOM>: The zoom in % points (neg. or pos.), the default is -20.
 \end_layout
 
 \begin_layout Description
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 24687c7..77864db 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -3739,7 +3739,7 @@ void LyXAction::init()
  * \var lyx::FuncCode lyx::LFUN_BUFFER_ZOOM_IN
  * \li Action: Increases the zoom of the screen fonts.
  * \li Syntax: buffer-zoom-in [<ZOOM>]
- * \li Params: <ZOOM>: The zoom in %, the default is 20.
+ * \li Params: <ZOOM>: The zoom in % points (neg. or pos.), the default is 20.
  * \li Origin: vfr, 30 Mar 2009
  * \endvar
  */
@@ -3749,7 +3749,7 @@ void LyXAction::init()
  * \var lyx::FuncCode lyx::LFUN_BUFFER_ZOOM_OUT
  * \li Action: Decreases the zoom of the screen fonts.
  * \li Syntax: buffer-zoom-out [<ZOOM>]
- * \li Params: <ZOOM>: The zoom in %, the default is 20.
+ * \li Params: <ZOOM>: The zoom in % points (neg. or pos.), the default is -20.
  * \li Origin: vfr, 30 Mar 2009
  * \endvar
  */

Reply via email to