]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
restore comment about boost::shared_ptr and dtor.
[lyx.git] / src / LyXAction.cpp
index b0f04cc7844d21d9ed389e84231c97828904842f..9a33d79f09e23bc58333071112a95989c6c498ae 100644 (file)
@@ -388,7 +388,6 @@ void LyXAction::init()
 
 #if 0
                { LFUN_LIST_INSERT, "list-insert", Noop, Edit },
-               { LFUN_THEOREM_INSERT, "theorem-insert", Noop, Edit },
 #endif
 
                { LFUN_DELETE_BACKWARD_SKIP, "delete-backward-skip", Noop, Edit },
@@ -1028,7 +1027,6 @@ void LyXAction::init()
                { LFUN_INSET_MODIFY, "", Noop, Hidden },
                { LFUN_INSET_DIALOG_UPDATE, "", Noop, Hidden },
                { LFUN_INSET_SETTINGS, "inset-settings", ReadOnly, Edit },
-               { LFUN_INSET_REFRESH, "", Noop, Hidden },
                { LFUN_NEXT_INSET_TOGGLE, "next-inset-toggle", ReadOnly, Edit },
                { LFUN_INSET_TOGGLE, "", ReadOnly, Hidden },
                { LFUN_ALL_INSETS_TOGGLE, "all-insets-toggle", ReadOnly, Edit },
@@ -1228,6 +1226,13 @@ void LyXAction::init()
                { LFUN_SERVER_GET_LAYOUT, "server-get-layout", ReadOnly, System },
                { LFUN_SERVER_GET_NAME, "server-get-name", ReadOnly, System },
                { LFUN_SERVER_GET_XY, "server-get-xy", ReadOnly, System },
+/*!
+ * \var lyx::kb_action lyx::LFUN_SERVER_GOTO_FILE_ROW
+ * \li Action: Sets the cursor position based on the row number of generated TeX file.
+ * \li Syntax: server-goto-file-row <FILE_NAME> <ROW_NUMBER>
+ * \li Origin: Edmar, 23 Dec 1998
+ * \endvar
+ */
                { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", ReadOnly, System },
                { LFUN_SERVER_NOTIFY, "server-notify", ReadOnly, System },
                { LFUN_SERVER_SET_XY, "server-set-xy", ReadOnly, System },
@@ -1340,8 +1345,14 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_BUFFER_SWITCH, "buffer-switch", NoBuffer | ReadOnly, Buffer },
+/*!
+ * \var lyx::kb_action lyx::LFUN_BUFFER_TOGGLE_READ_ONLY
+ * \li Action: Toggle editing mode of the current document between read/write and read-only.
+ * \li Syntax: buffer-toggle-read-only
+ * \li Origin: Lgb, 27 May 1997
+ * \endvar
+ */
                { LFUN_BUFFER_TOGGLE_READ_ONLY, "buffer-toggle-read-only", ReadOnly, Buffer },
-               { LFUN_BUFFER_UPDATE, "buffer-update", ReadOnly, Buffer },
 /*!
  * \var lyx::kb_action lyx::LFUN_BUFFER_VIEW
  * \li Action: Displays current buffer in chosen format.
@@ -1355,6 +1366,22 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_BUFFER_VIEW, "buffer-view", ReadOnly, Buffer },
+/*!
+ * \var lyx::kb_action lyx::LFUN_BUFFER_UPDATE
+ * \li Action: Exports the current document and put the result into the
+               temporary directory.
+ * \li Notion: In case you are already viewing the exported document (see #LFUN_BUFFER_VIEW)
+               the output will be rewriten - updated. This is useful in case your viewer
+              is able to detect such changes (e.g. ghostview for postscript).
+ * \li Syntax: buffer-update <FORMAT>
+ * \li Params: <FORMAT>: The format to display, where this is one of the
+                         formats defined (in the current GUI) in the
+                         Tools>Preferences>File Formats dialog.
+ * \li Origin: Dekel, 5 Aug 2000
+ * \endvar
+ */
+               { LFUN_BUFFER_UPDATE, "buffer-update", ReadOnly, Buffer },
+
 /*!
  * \var lyx::kb_action lyx::LFUN_BUFFER_WRITE
  * \li Action: Saves the current buffer.