]> git.lyx.org Git - lyx.git/blobdiff - src/lfuns.h
Synchronize lfun thematical ordering and func_type.
[lyx.git] / src / lfuns.h
index 698c60736e6980d8127534bea1b78dde89bdc9d1..fdf5f2219ba18a8368d0dcd2993276b18e7f226b 100644 (file)
@@ -273,21 +273,21 @@ enum kb_action {
        LFUN_MATH_DISPLAY,              // Alejandro 180696
        LFUN_MATH_MODE,                 // Alejandro 040696
 /**
- * LFUN_MATH_NUMBER
- * \li Action: Enable numbering of the current formula.
+ * LFUN_MATH_NUMBER_TOGGLE
+ * \li Action: Toggles numbering of the current formula.
  * \li Notion: Must be in display formula mode.
- * \li Syntax: math-number
+ * \li Syntax: math-number-toggle
  * \li Origin: Alejandro 4 Jun 1996
  */
-       LFUN_MATH_NUMBER,
+       LFUN_MATH_NUMBER_TOGGLE,
 /**
- * LFUN_MATH_NONUMBER
- * \li Action: Disable numbering of the current formula.
+ * LFUN_MATH_NUMBER_LINE_TOGGLE
+ * \li Action: Toggles numbering of the current formula line.
  * \li Notion: Must be in display formula mode.
- * \li Syntax: math-nonumber
+ * \li Syntax: math-number-line-toggle
  * \li Origin: Alejandro 18 Jun 1996
  */
-       LFUN_MATH_NONUMBER,
+       LFUN_MATH_NUMBER_LINE_TOGGLE,
        LFUN_MATH_SIZE,                 // Alejandro 150896
        // 110
        LFUN_MATH_MACRO,                // ale970510
@@ -374,7 +374,7 @@ enum kb_action {
  * LFUN_RECONFIGURE
  * \li Action: Reconfigure the automatic settings.
  * \li Syntax: reconfigure
- * \li Origin: Asger , 14 Feb 1997
+ * \li Origin: Asger, 14 Feb 1997
  */
        LFUN_RECONFIGURE,
        LFUN_INDEX_PRINT,               // Lgb 97-02-27
@@ -407,7 +407,7 @@ enum kb_action {
  * LFUN_PREFERENCES_SAVE
  * \li Action: Save user preferences.
  * \li Syntax: preferences-save
- * \li Origin: Lgb 27 Nov 1999
+ * \li Origin: Lgb, 27 Nov 1999
  */
        LFUN_PREFERENCES_SAVE,
        LFUN_HELP_OPEN,                 // Jug 990627
@@ -552,7 +552,16 @@ enum kb_action {
        LFUN_INSET_REFRESH,
        LFUN_BUFFER_NEXT,
        LFUN_BUFFER_PREVIOUS,
-       LFUN_WORDS_COUNT,
+/**
+ * LFUN_STATISTICS
+ * \li Action: Count the statistics (number of words and characters)
+               in the document or in the given selection.
+ * \li Notion: Note that this function gives the number of words/chars written,
+               not the number of characters which will be typeset.
+ * \li Syntax: statistics
+ * \li Origin: lasgouttes, Jan 27 2004; ps, Jan 8 2008
+ */
+       LFUN_STATISTICS,
        // 260
        LFUN_CHANGES_OUTPUT,             // jspitzm 20050121
        LFUN_BIBTEX_DATABASE_ADD,