]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdcontext.inc
first include config.h
[lyx.git] / lib / ui / stdcontext.inc
index d73aeaf89c6afdbe31366e99ca2a738f78b19ba8..42445ca5eecafebf41c876dc1ddedfa46df85fe5 100644 (file)
@@ -62,8 +62,8 @@ Menuset
                Separator
                OptItem "Add Line Above|o" "inset-modify tabular add-hline-above"
                OptItem "Add Line Below|B" "inset-modify tabular add-hline-below"
-               OptItem "Delete Line Above|D" "inset-modify tabular delete-hline-above"
-               OptItem "Delete Line Below|e" "inset-modify tabular delete-hline-below"
+               OptItem "Delete Line Above|v" "inset-modify tabular delete-hline-above"
+               OptItem "Delete Line Below|w" "inset-modify tabular delete-hline-below"
                Separator
                OptItem "Add Line to Left" "inset-modify tabular add-vline-left"
                OptItem "Add Line to Right" "inset-modify tabular add-vline-right"
@@ -90,7 +90,8 @@ Menuset
                Item "<Page>|P" "inset-modify changetype pageref"
                Item "On Page <Page>|O" "inset-modify changetype vpageref"
                Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
-               Item "Formatted Reference|t" "inset-modify changetype prettyref"
+               Item "Formatted Reference|t" "inset-modify changetype formatted"
+               Item "Textual Reference|x" "inset-modify changetype nameref"
                Separator
                Item "Settings...|S" "inset-settings"
        End
@@ -179,8 +180,8 @@ Menuset
                OptItem "Open Inset|O" "inset-toggle open"
                OptItem "Close Inset|C" "inset-toggle close"
                Separator
-               Item "Open All Notes|A" "all-insets-toggle open note"
-               Item "Close All Notes|l" "all-insets-toggle close note"
+               Item "Open All Notes|A" "inset-forall Note inset-toggle open"
+               Item "Close All Notes|l" "inset-forall Note inset-toggle close"
                Separator
                Item "Dissolve Inset|D" "inset-dissolve"
        End
@@ -299,6 +300,7 @@ Menuset
                Submenu "Paste Recent|e" "edit_pasterecent"
                Separator
                Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
+               OptItem "Forward search|F" "forward-search"
                Separator
                Item "Move Paragraph Up|o" "paragraph-move-up"
                Item "Move Paragraph Down|v" "paragraph-move-down"
@@ -307,7 +309,8 @@ Menuset
                OptItem "Demote Section|m" "outline-in"
                OptItem "Move Section Down|D" "outline-down"
                OptItem "Move Section Up|U" "outline-up"
-               OptItem "Insert Short Title|T" "optional-insert"
+               OptItem "Insert Short Title|T" "argument-insert"
+               OptSubMenu "Insert Regular Expression..." "context-edit-regexp"
                Separator
                OptItem "Accept Change|c" "change-accept"
                OptItem "Reject Change|j" "change-reject"
@@ -320,6 +323,19 @@ Menuset
                Item "Fullscreen Mode" "ui-toggle fullscreen"
        End
 
+
+#
+# Regular Expression context menu
+#
+       Menu "context-edit-regexp"
+               Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
+               Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
+               Item "Any Word|W" "command-sequence regexp-mode; self-insert [a-z]+"
+               Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
+               Item "User Defined|U" "regexp-mode"
+       End
+
+
 #
 # Math Macro context menu
 #
@@ -383,11 +399,11 @@ Menuset
 #
 
        Menu "context-tabular"
-               Item "Multicolumn|M" "inset-modify tabular multicolumn"
-               Item "Multirow|i" "inset-modify tabular multirow"
+               Item "Multicolumn|u" "inset-modify tabular multicolumn"
+               Item "Multirow|w" "inset-modify tabular multirow"
                Separator
-               Item "Top Line|T" "inset-modify tabular toggle-line-top"
-               Item "Bottom Line|B" "inset-modify tabular toggle-line-bottom"
+               Item "Top Line|n" "inset-modify tabular toggle-line-top"
+               Item "Bottom Line|i" "inset-modify tabular toggle-line-bottom"
                Item "Left Line|L" "inset-modify tabular toggle-line-left"
                Item "Right Line|R" "inset-modify tabular toggle-line-right"
                Separator
@@ -396,28 +412,49 @@ Menuset
                Item "Right|h" "inset-modify tabular align-right"
                Separator
                Item "Top|T" "inset-modify tabular valign-top"
-               Item "Middle|d" "inset-modify tabular valign-middle"
+               Item "Middle|M" "inset-modify tabular valign-middle"
                Item "Bottom|B" "inset-modify tabular valign-bottom"
                Separator
-               Item "Add Row|A" "inset-modify tabular append-row"
+               Item "Append Row|A" "inset-modify tabular append-row"
                Item "Delete Row|D" "inset-modify tabular delete-row"
                Item "Copy Row|o" "inset-modify tabular copy-row"
                # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken
                Separator
-               Item "Add Column|u" "inset-modify tabular append-column"
+               Item "Append Column|p" "inset-modify tabular append-column"
                Item "Delete Column|e" "inset-modify tabular delete-column"
-               Item "Copy Column|p" "inset-modify tabular copy-column"
+               Item "Copy Column|y" "inset-modify tabular copy-column"
                # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken
                Separator
                Item "Settings...|g" "inset-settings tabular"
        End
 
+#
+# InsetInfo context menu
+#
+
+       Menu "buffer-info"
+               Item "File|F" "inset-modify buffer name"
+               Item "Path|P" "inset-modify buffer path"
+               Item "Class|C" "inset-modify buffer class"
+               Separator
+               Item "File Revision|R" "inset-modify buffer vcs-revision"
+               Item "Tree Revision|T" "inset-modify buffer vcs-tree-revision"
+               Item "Revision Author|A" "inset-modify buffer vcs-author"
+               Item "Revision Date|D" "inset-modify buffer vcs-date"
+               Item "Revision Time|i" "inset-modify buffer vcs-time"
+               Separator
+               Item "LyX Version|X" "inset-modify lyxinfo version"
+       End
+
 
 #
 # InsetInfo context menu
 #
 
        Menu "context-info"
+               Submenu "Document Info|D" "buffer-info"
+               Separator
+               Item "Copy Text|o" "inset-copy-as"
                Item "Settings...|S" "inset-settings info"
        End
 
@@ -560,6 +597,14 @@ Menuset
        End
 
 
+# InsetPreview context menu
+#
+
+       Menu "context-preview"
+               Item "Dissolve Inset|D" "inset-dissolve"
+       End
+
+
 #
 # Toc Changes context menu
 #
@@ -582,4 +627,26 @@ Menuset
                Item "Select Section|S" "section-select"
        End     
 
+#
+# InsetERT context menu
+#
+       Menu "context-ert"
+               OptItem "Open Inset|O" "inset-toggle open"
+               OptItem "Close Inset|C" "inset-toggle close"
+               Separator
+               Item "Wrap by Preview|P" "command-sequence inset-begin;char-backward;char-forward-select;preview-insert"
+               Separator
+               Item "Dissolve Inset|D" "inset-dissolve"
+               OptItem "Settings...|S" "inset-settings"
+       End
+
+#
+# InsetHyperlink context menu
+#
+       Menu "context-hyperlink"
+               Item "Settings...|S" "inset-settings"
+               Separator
+               Item "Open Target...|O" "inset-edit"
+       End
+
 End