]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.C
several changes and some new insets, read the Changelog
[features.git] / src / LyXAction.C
index aabe0801ebb886671ac8ef1af0bdc44a90639ce4..0f6caa20e955755521bb51666ee9560b5e4b3c44 100644 (file)
@@ -67,7 +67,7 @@ void LyXAction::init()
        // instead of calling newFunc numerous times because of compilation
        // times. Since the array is not static we get back the memory it
        // occupies after the init is completed. It compiles several
-       //magnitudes faster.
+       // magnitudes faster.
        
        static bool init = false;
        if (init) return;
@@ -106,7 +106,8 @@ void LyXAction::init()
                { LFUN_BREAKPARAGRAPHKEEPLAYOUT, "break-paragraph-keep-layout",
                  "", Noop },
                { LFUN_BREAKPARAGRAPH_SKIP, "break-paragraph-skip", "", Noop },
-               { LFUN_BUILDPROG, "build-program", _("Build program"), Noop },
+               { LFUN_BUILDPROG, "build-program", 
+                 N_("Build program"), ReadOnly },
                { LFUN_AUTOSAVE, "buffer-auto-save", N_("Autosave"), Noop },
                { LFUN_BEGINNINGBUF, "buffer-begin",
                  N_("Go to beginning of document"), ReadOnly },
@@ -127,6 +128,10 @@ void LyXAction::init()
                  N_("Import document"), NoBuffer },
                { LFUN_BUFFERBULLETSSELECT, "buffer-itemize-bullets-select",
                  "", Noop },
+               { LFUN_BUFFER_PRINT, "buffer-print-xtl", N_("Print"),
+                 ReadOnly },
+               { LFUN_PRINTER_PARAMS_GET, "printer-params-get",
+                 N_("Get the printer parameters"), ReadOnly },
                { LFUN_MENUNEW, "buffer-new", N_("New document") , NoBuffer },
                { LFUN_MENUNEWTMPLT,"buffer-new-template",
                  N_("New document from template"), NoBuffer },
@@ -182,6 +187,8 @@ void LyXAction::init()
                  N_("Remove all error boxes"), ReadOnly },
                { LFUN_INSET_ERT, "ert-inset-insert",
                  N_("Insert a new ERT Inset"), Noop },
+               { LFUN_INSET_EXTERNAL, "external-inset-insert",
+                 N_("Insert a new external inset"), Noop },
                { LFUN_FIGURE, "figure-insert", N_("Insert Figure"), Noop },
                { LFUN_INSERT_GRAPHICS, "graphics-insert",
                  N_("Insert Graphics"), Noop },
@@ -211,10 +218,14 @@ void LyXAction::init()
                  Noop },
                { LFUN_INSET_FOOTNOTE, "footnote-inset-insert",
                  N_("Insert Footnote"), Noop },
+               { LFUN_INSET_MARGINAL, "marginalnote-inset-insert",
+                 N_("Insert Marginalnote"), Noop },
                { LFUN_RIGHTSEL, "forward-select", N_("Select next char"),
                  ReadOnly },
                { LFUN_HFILL, "hfill-insert",
                  N_("Insert horizontal fill"), Noop },
+               { LFUN_HELP_COPYRIGHT, "help-copyright",
+                 N_("Display copyright information"), NoBuffer },
                { LFUN_HTMLURL, "html-insert", "", Noop },
                { LFUN_HYPHENATION, "hyphenation-point-insert",
                  N_("Insert hyphenation point"), Noop },
@@ -298,8 +309,6 @@ void LyXAction::init()
                { LFUN_META_FAKE, "meta-prefix", "", NoBuffer },
                { LFUN_INSERT_NOTE, "note-insert", "", Noop },
                { LFUN_GOTONOTE, "note-next", "", ReadOnly },
-               { LFUN_INSET_NUMBER , "number-inset-insert",
-                 N_("Insert a new Number Inset"), Noop },
                { LFUN_OPENSTUFF, "open-stuff", "", ReadOnly },
                { LFUN_DOWN_PARAGRAPH, "paragraph-down",
                  N_("Go one paragraph down"), ReadOnly },
@@ -323,7 +332,7 @@ void LyXAction::init()
                { LFUN_REFBACK, "reference-back", "", ReadOnly },
                { LFUN_REFGOTO, "reference-goto", "", ReadOnly },
                { LFUN_INSERT_REF, "reference-insert",
-                 N_("Insert cross reference"), Noop },
+                 N_("Insert cross reference"), ReadOnly },
                { LFUN_REFTOGGLE, "reference-toggle", "", Noop },
                { LFUN_NEXT, "screen-down", "", ReadOnly },
                { LFUN_NEXTSEL, "screen-down-select", "", ReadOnly },
@@ -343,6 +352,7 @@ void LyXAction::init()
                { LFUN_SETXY, "server-set-xy", "", ReadOnly },
                { LFUN_SPELLCHECK, "spellchecker", "", Noop },
                { LFUN_INSERT_MATH, "symbol-insert", "", Noop },
+               { LFUN_SHIFT_TAB, "tab-backward", "", Noop },
                { LFUN_TAB, "tab-forward", "", Noop },
                { LFUN_TABINSERT, "tab-insert", "", Noop },
                { LFUN_TABLE, "table-insert", N_("Insert Table"), Noop },
@@ -385,6 +395,10 @@ void LyXAction::init()
                { LFUN_UPCASE_WORD, "word-upcase", "", Noop },
                { LFUN_DATE_INSERT, "date-insert", "", Noop },
                { LFUN_PARAGRAPH_SPACING, "paragraph-spacing", "", Noop },
+               { LFUN_SET_COLOR, "set-color", "", Noop },
+               { LFUN_INSET_MINIPAGE, "minipage-inset-insert", "", Noop },
+               { LFUN_INSET_FLOAT, "float-inset-insert", "", Noop },
+               { LFUN_INSET_LIST, "list-inset-insert", "", Noop },
                { LFUN_NOACTION, "", "", Noop }
        };