X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdtoolbars.inc;h=2c7ad20b459272a2e708ba53b9f8ed487e501801;hb=dd60e2d9f4bdf091d38590f83546147610eca9a1;hp=c8ffe77124ce18006e041663dbdf714108c947ad;hpb=8e9f2d648c9a5e1b75a597f745621b17436e036a;p=lyx.git diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index c8ffe77124..2c7ad20b45 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -62,7 +62,7 @@ # # This is the default toolbar: -Format 2 +Format 5 ToolbarSet @@ -79,22 +79,24 @@ ToolbarSet Item "Redo" "redo" Item "Cut" "cut" Item "Copy" "copy" - Item "Paste" "paste" + DynamicMenu "paste" "Paste" Item "Find and replace" "dialog-show findreplace" Item "Find and replace (advanced)" "dialog-toggle findreplaceadv" Item "Navigate back" "bookmark-goto 0" Separator Item "Toggle emphasis" "font-emph" Item "Toggle noun" "font-noun" - Item "Apply last" "textstyle-apply" + DynamicMenu "dynamic-char-styles" "Custom text styles" Separator Item "Insert math" "math-mode on" Item "Insert graphics" "dialog-show-new-inset graphics" TableInsert "Insert table" + DynamicMenu "dynamic-custom-insets" "Custom insets" Separator Item "Toggle outline" "dialog-toggle toc" Item "Toggle math toolbar" "toolbar-toggle math" Item "Toggle table toolbar" "toolbar-toggle table" + Item "Toggle review toolbar" "toolbar-toggle review" End Toolbar "view/update" "View/Update" @@ -102,6 +104,7 @@ ToolbarSet Item "Update" "buffer-update" Item "View master document" "master-buffer-view" Item "Update master document" "master-buffer-update" +# Item "Cancel export" "export-cancel" Item "Enable Forward/Reverse Search" "buffer-toggle-output-sync" Separator StickyPopupMenu "view-others" "View other formats" @@ -110,12 +113,20 @@ ToolbarSet Toolbar "extra" "Extra" Item "Default" "layout" - Item "Numbered list" "layout Enumerate" - Item "Itemized list" "layout Itemize" - Item "List" "layout List" - Item "Description" "layout Description" - Item "Increase depth" "depth-increment" - Item "Decrease depth" "depth-decrement" + # The bidi function is used here to select a different + # icon depending on the direction of the current text. + Item "Numbered list" "bidi ltr layout-toggle Enumerate" + Item "Numbered list" "bidi rtl layout-toggle Enumerate" + Item "Itemized list" "bidi ltr layout-toggle Itemize" + Item "Itemized list" "bidi rtl layout-toggle Itemize" + Item "List" "bidi ltr layout-toggle List" + Item "List" "bidi rtl layout-toggle List" + Item "Description" "bidi ltr layout-toggle Description" + Item "Description" "bidi rtl layout-toggle Description" + Item "Increase depth" "bidi ltr depth-increment" + Item "Increase depth" "bidi rtl depth-increment" + Item "Decrease depth" "bidi ltr depth-decrement" + Item "Decrease depth" "bidi rtl depth-decrement" Separator Item "Insert figure float" "float-insert figure" Item "Insert table float" "float-insert table" @@ -134,42 +145,45 @@ ToolbarSet Item "Insert math macro" "math-macro newmacroname newcommand" Item "Include file" "dialog-show-new-inset include" Separator - Item "Text style" "dialog-show character" + Item "Text properties" "dialog-show character" + DynamicMenu "textstyle-apply" "Apply recent text properties" Item "Paragraph settings" "layout-paragraph" Item "Thesaurus" "thesaurus-entry" End Toolbar "table" "Table" - Item "Add row" "inset-modify tabular append-row" - Item "Add column" "inset-modify tabular append-column" - Item "Delete row" "inset-modify tabular delete-row" - Item "Delete column" "inset-modify tabular delete-column" - Item "Move row up" "inset-modify tabular move-row-up" - Item "Move column left" "inset-modify tabular move-column-left" - Item "Move row down" "inset-modify tabular move-row-down" - Item "Move column right" "inset-modify tabular move-column-right" + Item "Add row" "tabular-feature append-row" + Item "Add column" "tabular-feature append-column" + Item "Delete row" "tabular-feature delete-row" + Item "Delete column" "tabular-feature delete-column" + Item "Move row up" "tabular-feature move-row-up" + Item "Move column left" "tabular-feature move-column-left" + Item "Move row down" "tabular-feature move-row-down" + Item "Move column right" "tabular-feature move-column-right" Separator - Item "Set top line" "inset-modify tabular toggle-line-top" - Item "Set bottom line" "inset-modify tabular toggle-line-bottom" - Item "Set left line" "inset-modify tabular toggle-line-left" - Item "Set right line" "inset-modify tabular toggle-line-right" - Item "Set border lines" "inset-modify tabular set-border-lines" - Item "Set all lines" "inset-modify tabular set-all-lines" - Item "Unset all lines" "inset-modify tabular unset-all-lines" + Item "Toggle top line" "tabular-feature toggle-line-top" + Item "Toggle bottom line" "tabular-feature toggle-line-bottom" + Item "Toggle left line" "tabular-feature toggle-line-left" + Item "Toggle right line" "tabular-feature toggle-line-right" + Item "Set border lines" "tabular-feature set-border-lines" + Item "Set all lines" "tabular-feature set-all-lines" + Item "Set inner lines" "tabular-feature set-inner-lines" + Item "Unset all lines" "tabular-feature unset-all-lines" + Item "Reset formal default lines" "tabular-feature reset-formal-default" Separator - Item "Align left" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left" - Item "Align center" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center" - Item "Align right" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right" - Item "Align on decimal" "inset-modify tabular align-decimal" + Item "Align left" "command-alternatives tabular-feature m-align-left;tabular-feature align-left" + Item "Align center" "command-alternatives tabular-feature m-align-center;tabular-feature align-center" + Item "Align right" "command-alternatives tabular-feature m-align-right;tabular-feature align-right" + Item "Align on decimal" "tabular-feature align-decimal" Separator - Item "Align top" "command-alternatives inset-modify tabular m-valign-top;inset-modify tabular valign-top" - Item "Align middle" "command-alternatives inset-modify tabular m-valign-middle;inset-modify tabular valign-middle" - Item "Align bottom" "command-alternatives inset-modify tabular m-valign-bottom;inset-modify tabular valign-bottom" + Item "Align top" "command-alternatives tabular-feature m-valign-top;tabular-feature valign-top" + Item "Align middle" "command-alternatives tabular-feature m-valign-middle;tabular-feature valign-middle" + Item "Align bottom" "command-alternatives tabular-feature m-valign-bottom;tabular-feature valign-bottom" Separator - Item "Rotate cell by 90 degrees or unset rotation" "inset-modify tabular toggle-rotate-cell" - Item "Rotate table by 90 degrees or unset rotation" "inset-modify tabular toggle-rotate-tabular" - Item "Set multi-column" "inset-modify tabular multicolumn" - Item "Set multi-row" "inset-modify tabular multirow" + Item "Rotate cell by 90 degrees or unset rotation" "tabular-feature toggle-rotate-cell" + Item "Rotate table by 90 degrees or unset rotation" "tabular-feature toggle-rotate-tabular" + Item "Set multi-column" "tabular-feature multicolumn" + Item "Set multi-row" "tabular-feature multirow" End Toolbar "math" "Math" @@ -191,10 +205,10 @@ ToolbarSet Separator Item "Insert matrix" "dialog-show mathmatrix" Item "Insert cases environment" "math-insert \cases" - Item "Add row" "inset-modify tabular append-row" - Item "Add column" "inset-modify tabular append-column" - Item "Delete row" "inset-modify tabular delete-row" - Item "Delete column" "inset-modify tabular delete-column" + Item "Add row" "tabular-feature append-row" + Item "Add column" "tabular-feature append-column" + Item "Delete row" "tabular-feature delete-row" + Item "Delete column" "tabular-feature delete-column" Separator Item "Toggle math panels" "toolbar-toggle math_panels" End @@ -286,7 +300,7 @@ ToolbarSet Item "Revert changes" "vc-revert" Item "Compare with older revision" "vc-compare" Item "Compare with last revision" "vc-compare 0" - Item "Insert Version Info" "info-insert buffer vcs-revision" + Item "Insert Version Info" "info-insert vcs revision" Separator Item "Use SVN file locking property" "vc-locking-toggle" Separator @@ -295,7 +309,7 @@ ToolbarSet Toolbar "math_panels" "Math Panels" PopupMenu "space" "Math spacings" - PopupMenu "style" "Styles" + PopupMenu "style" "Styles & classes" PopupMenu "frac-square" "Fractions" PopupMenu "font" "Fonts" PopupMenu "functions" "Functions" @@ -361,12 +375,12 @@ ToolbarSet Item "Phantom \\phantom" "math-insert \phantom" Item "Horizontal phantom \\hphantom" "math-insert \hphantom" Item "Vertical phantom \\vphantom" "math-insert \vphantom" - Item "Smash \\smash" "math-insert \smash" - Item "Top smash \\smasht" "math-insert \smasht" - Item "Bottom smash \\smashb" "math-insert \smashb" - Item "Left overlap \\mathllap" "math-insert \mathllap" - Item "Center overlap \\mathclap" "math-insert \mathclap" - Item "Right overlap \\mathrlap" "math-insert \mathrlap" + Item "Smash \\smash" "math-insert \smash" + Item "Top smash \\smasht" "math-insert \smasht" + Item "Bottom smash \\smashb" "math-insert \smashb" + Item "Left overlap \\mathllap" "math-insert \mathllap" + Item "Center overlap \\mathclap" "math-insert \mathclap" + Item "Right overlap \\mathrlap" "math-insert \mathrlap" End Toolbar "sqrt-square" "Roots" @@ -374,11 +388,15 @@ ToolbarSet Item "Other root \\root" "math-insert \root" End - Toolbar "style" "Styles" + Toolbar "style" "Styles & Classes" Item "Display style \\displaystyle" "math-size \displaystyle" Item "Normal text style \\textstyle" "math-size \textstyle" Item "Script (small) style \\scriptstyle" "math-size \scriptstyle" Item "Scriptscript (smaller) style \\scriptscriptstyle" "math-size \scriptscriptstyle" + Item "Relation class \\mathrel" "math-insert \mathrel" + Item "Binary operator class \\mathbin" "math-insert \mathbin" + Item "Large operator class \\mathop" "math-insert \mathop" + Item "Ordinary class \\mathord" "math-insert \mathord" End Toolbar "frac-square" "Fractions" @@ -460,10 +478,10 @@ ToolbarSet Item "bcancel" "math-insert \bcancel" Item "xcancel" "math-insert \xcancel" Item "cancelto" "math-insert \cancelto" - Item "Insert left/right side scripts" "math-insert \sideset" - Item "Insert right side scripts" "math-insert \sidesetr" - Item "Insert left side scripts" "math-insert \sidesetl" - Item "Insert side scripts" "math-insert \sidesetn" + Item "Insert left/right side scripts (sideset)" "math-insert \sideset" + Item "Insert right side scripts (sidesetr)" "math-insert \sidesetr" + Item "Insert left side scripts (sidesetl)" "math-insert \sidesetl" + Item "Insert side scripts (sidesetn)" "math-insert \sidesetn" Item "overset" "math-insert \overset" Item "underset" "math-insert \underset" Item "stackrel" "math-insert \stackrel"