X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fui%2Fstdtoolbars.inc;h=2c7ad20b459272a2e708ba53b9f8ed487e501801;hb=dd60e2d9f4bdf091d38590f83546147610eca9a1;hp=d375afad14b6b4907ec9ad67a9da2306bed27efa;hpb=647b4efb1eee97922421f60018c65829f601571e;p=lyx.git diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index d375afad14..2c7ad20b45 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -62,7 +62,7 @@ # # This is the default toolbar: -Format 4 +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,7 +145,8 @@ 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 @@ -149,13 +161,15 @@ ToolbarSet Item "Move row down" "tabular-feature move-row-down" Item "Move column right" "tabular-feature move-column-right" Separator - Item "Set top line" "tabular-feature toggle-line-top" - Item "Set bottom line" "tabular-feature toggle-line-bottom" - Item "Set left line" "tabular-feature toggle-line-left" - Item "Set right line" "tabular-feature toggle-line-right" + 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 tabular-feature m-align-left;tabular-feature align-left" Item "Align center" "command-alternatives tabular-feature m-align-center;tabular-feature align-center" @@ -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"