]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
code simplification by using DocIterator::innerTextSlice().
[lyx.git] / src / LyXAction.cpp
index 980af677f84dfd3ab7cff45d2fdf7d5c6ae4f095..d6ce73deb14265d0932f4190ddff7b657296dabd 100644 (file)
@@ -263,7 +263,7 @@ void LyXAction::init()
  * \var lyx::kb_action lyx::LFUN_DATE_INSERT
  * \li Action: Inserts the current date.
  * \li Syntax: date-insert [<ARG>]
- * \li Param: <ARG>: Format of date. The default value (%x) can be set
+ * \li Params: <ARG>: Format of date. The default value (%x) can be set
                      in Preferences->Date format. For possible formats
                      see manual page of strftime function.
  * \li Origin: jdblair, 31 Jan 2000
@@ -387,7 +387,7 @@ void LyXAction::init()
  * \li Notion: Only scrolls the screen up or down; does not move the cursor.
  * \li Syntax: scroll <TYPE> <QUANTITY>
  * \li Params: <TYPE>:  line|page\n
-               <QUANTITY>: up|down|<number>\n
+               <QUANTITY>: up|down|<number>
  * \li Origin: Abdelrazak Younes, Dec 27 2007
  * \endvar
  */
@@ -627,7 +627,7 @@ void LyXAction::init()
                { LFUN_BIBTEX_DATABASE_ADD, "bibtex-database-add", Noop, Edit },
                { LFUN_BIBTEX_DATABASE_DEL, "bibtex-database-del", Noop, Edit },
 
- /*!
+/*!
  * \var lyx::kb_action lyx::LFUN_LAYOUT
  * \li Action: Sets the layout (that is, environment) for the current paragraph.
  * \li Syntax: layout <LAYOUT>
@@ -1091,8 +1091,36 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_LYX_QUIT, "lyx-quit", NoBuffer, Buffer },
+/*!
+ * \var lyx::kb_action lyx::LFUN_TOOLBAR_TOGGLE
+ * \li Action: Toggles visibility of a given toolbar between on/off/auto.
+ * \li Notion: Skiping "auto" when allowauto is false.
+ * \li Syntax: toolbar-toggle <NAME> [allowauto]
+ * \li Params: <NAME>: standard|extra|table|math|mathmacrotemplate|
+                       minibuffer|review|view/update|math_panels
+ * \li Origin: Edwin, 21 May 2007
+ * \endvar
+ */
                { LFUN_TOOLBAR_TOGGLE, "toolbar-toggle", NoBuffer, Buffer },
                { LFUN_MENU_OPEN, "menu-open", NoBuffer, Buffer },
+/*!
+ * \var lyx::kb_action lyx::LFUN_MENUBAR_TOGGLE
+ * \li Action: Toggles visibility of the main menu.
+ * \li Notion: This can be used for the fullscreen mode.
+ * \li Syntax: menubar-toggle
+ * \li Origin: ps, 6 Feb 2008
+ * \endvar
+ */
+               { LFUN_MENUBAR_TOGGLE, "menubar-toggle", NoBuffer, Buffer },
+/*!
+ * \var lyx::kb_action lyx::LFUN_STATUSBAR_TOGGLE
+ * \li Action: Toggles visibility of the main menu.
+ * \li Notion: This can be used for the fullscreen mode.
+ * \li Syntax: statusbar-toggle
+ * \li Origin: ps, 6 Feb 2008
+ * \endvar
+ */
+               { LFUN_STATUSBAR_TOGGLE, "statusbar-toggle", NoBuffer, Buffer },
 
                { LFUN_WINDOW_NEW, "window-new", NoBuffer, Buffer },
                { LFUN_WINDOW_CLOSE, "window-close", NoBuffer, Buffer },
@@ -1232,7 +1260,7 @@ void LyXAction::init()
  * \li Action: Rename and save current buffer.
  * \li Syntax: buffer-write-as <FILENAME>
  * \li Params: <FILENAME>: New name of the buffer/file. A relative path
*             is with respect to the original location of the buffer/file.
              is with respect to the original location of the buffer/file.
  * \endvar
  */
                { LFUN_BUFFER_WRITE_AS, "buffer-write-as", ReadOnly, Buffer },