]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
Make BufferView::singeParUpdate more robust
[lyx.git] / lib / ui / stdcontext.inc
1 # -*- text -*-
2
3 # file stdcontext.inc
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author The LyX Team
8
9 # Full author contact details are available in file CREDITS.
10
11 # The interface is designed (partially) following the KDE Human Interface
12 # Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
13
14 # Casing Rules:
15 # Capitalize all words in the element, with the following exceptions: 
16 # * Articles: a, an, the.
17 # * Conjunctions: and, but, for, not, so, yet ...
18 # * Prepositions of three or fewer letters: at, for, by, in, to ...
19 #   (except when the preposition is part of a verb phrase, such as "Check In")
20 # (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
21
22 Format 5
23
24 Menuset
25
26 #
27 # InsetMath context menu
28 #
29         Menu "insert_math_context"
30                 Item "Array Environment|y" "math-matrix 2 2"
31                 Item "Cases Environment|C" "math-insert \cases"
32                 Item "Aligned Environment|l" "command-sequence math-insert \aligned; tabular-feature append-column"
33                 Item "AlignedAt Environment|v" "command-sequence math-insert \alignedat; tabular-feature append-column"
34                 Item "Gathered Environment|h" "math-insert \gathered"
35                 Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
36                 Separator
37                 Item "Delimiters...|r" "dialog-show mathdelimiter"
38                 Item "Matrix...|x" "dialog-show mathmatrix"
39                 Item "Macro|o" "math-macro newmacroname newcommand"
40         End
41
42         Menu "ams_environment"
43                 Item "AMS align Environment|a" "math-mutate align"
44                 Item "AMS alignat Environment|t" "math-mutate alignat"
45                 Item "AMS flalign Environment|f" "math-mutate flalign"
46                 Item "AMS gather Environment|g" "math-mutate gather"
47                 Item "AMS multline Environment|m" "math-mutate multline"
48         End
49
50         Menu "context-math"
51                 Item "Inline Formula|I" "math-mutate simple"
52                 Item "Displayed Formula|D" "math-mutate equation"
53                 Item "Eqnarray Environment|E" "math-mutate eqnarray"
54                 Submenu "AMS Environment|A" "ams_environment"
55                 Separator
56                 OptItem "Number Whole Formula|N" "math-number-toggle"
57                 OptItem "Number This Line|u" "math-number-line-toggle"
58                 OptItem "Equation Label|L" "label-insert"
59                 OptItem "Copy as Reference|R" "label-copy-as-reference"
60                 Separator
61                 OptItem "Cut" "cut"
62                 OptItem "Copy" "copy"
63                 OptItem "Paste" "paste"
64                 OptSubmenu "Paste Recent|e" "edit_pasterecent"
65                 Separator
66                 Submenu "Insert|s" "insert_math_context"
67                 Separator
68                 Item "Split Cell|C" "cell-split"
69                 OptSubmenu "Rows & Columns| " "edit_tabular_features"
70                 OptItem "Add Line Above|o" "tabular-feature add-hline-above"
71                 OptItem "Add Line Below|B" "tabular-feature add-hline-below"
72                 OptItem "Delete Line Above|v" "tabular-feature delete-hline-above"
73                 OptItem "Delete Line Below|w" "tabular-feature delete-hline-below"
74                 Separator
75                 OptItem "Add Line to Left" "tabular-feature add-vline-left"
76                 OptItem "Add Line to Right" "tabular-feature add-vline-right"
77                 OptItem "Delete Line to Left" "tabular-feature delete-vline-left"
78                 OptItem "Delete Line to Right" "tabular-feature delete-vline-right"
79                 Separator
80                 Item "Show Math Toolbar" "toolbar-toggle math toggle"
81                 Item "Show Math-Panels Toolbar" "toolbar-toggle math_panels toggle"
82                 Item "Show Table Toolbar" "toolbar-toggle table toggle"
83                 Separator
84                 Submenu "Use Computer Algebra System|m" "edit_math_extern"
85         End
86
87
88 #
89 # InsetMathRef context menu
90 #
91         Menu "context-mathref"
92                 Item "Next Cross-Reference|N" "reference-next"
93                 Item "Go to Label|G" "label-goto"
94                 Separator
95                 Item "<Reference>|R" "inset-modify changetype ref"
96                 Item "(<Reference>)|e" "inset-modify changetype eqref"
97                 Item "<Page>|P" "inset-modify changetype pageref"
98                 Item "On Page <Page>|O" "inset-modify changetype vpageref"
99                 Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
100                 Item "Formatted Reference|t" "inset-modify changetype formatted"
101                 Item "Textual Reference|x" "inset-modify changetype nameref"
102                 Item "Label Only|L" "inset-modify changetype labelonly"
103                 Separator
104                 Item "Settings...|S" "inset-settings"
105         End
106
107
108 #
109 # InsetRef context menu
110 #
111         Menu "context-ref"
112                 Item "Next Cross-Reference|N" "reference-next"
113                 Item "Go to Label|G" "label-goto"
114                 Separator
115                 Item "<Reference>|R" "inset-modify changetype ref"
116                 Item "(<Reference>)|e" "inset-modify changetype eqref"
117                 Item "<Page>|P" "inset-modify changetype pageref"
118                 Item "On Page <Page>|O" "inset-modify changetype vpageref"
119                 Item "<Reference> on Page <Page>|f" "inset-modify changetype vref"
120                 Item "Formatted Reference|t" "inset-modify changetype formatted"
121                 Item "Textual Reference|x" "inset-modify changetype nameref"
122                 Item "Label Only|L" "inset-modify changetype labelonly"
123                 Separator
124                 OptItem "Plural|a" "inset-modify ref toggle-plural"
125                 OptItem "Capitalize|C" "inset-modify ref toggle-caps"
126                 OptItem "No Prefix" "inset-modify ref toggle-noprefix"
127                 OptItem "No Hyperlink" "inset-modify ref toggle-nolink"
128                 Separator
129                 Item "Settings...|S" "inset-settings"
130         End
131
132 #
133 # InsetLabel context menu
134 #
135         Menu "context-label"
136                 Item "Next Cross-Reference|N" "reference-next"
137                 Item "Go Back|G" "bookmark-goto 0"
138                 Separator
139                 Item "Copy as Reference|C" "label-copy-as-reference"
140                 Separator
141                 Item "Settings...|S" "inset-settings"
142         End
143
144
145 #
146 # InsetCitation context menu
147 #
148         Menu "context-citation"
149                 CiteStyles
150                 Separator
151                 Item "Settings...|S" "inset-settings"
152                 OptItem "Try to Open Citation Content...|O" "inset-edit"
153         End
154
155
156 #
157 # InsetBibtex context menu
158 #
159         Menu "context-bibtex"
160                 Item "Settings...|S" "inset-settings"
161                 Separator
162                 Item "Edit Database(s) Externally...|x" "inset-edit"
163         End
164
165 #
166 # InsetBibItem context menu
167 #
168         Menu "context-bibitem"
169                 Item "Settings...|S" "inset-settings"
170         End
171
172 #
173 # InsetCollapsible context menu
174 #
175         Menu "context-collapsible"
176                 OptItem "Open Inset|O" "inset-toggle open"
177                 OptItem "Close Inset|C" "inset-toggle close"
178                 Separator
179                 Item "Dissolve Inset|D" "inset-dissolve"
180                 OptItem "Settings...|S" "inset-settings"
181         End
182
183         Menu "context-conglomerate"
184                 Item "Show Label|L" "inset-toggle"
185                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
186                 Separator
187                 OptItem "Settings...|S" "inset-settings"
188         End
189
190 #
191 # InsetArgument context menu
192 #
193
194         Menu "context-argument"
195                 Separator
196                 SwitchArguments
197         End
198
199         Menu "context-argument-conglomerate"
200                 Item "Show Label|L" "inset-toggle"
201                 Item "Dissolve Inset|D" "inset-dissolve"
202                 Separator
203                 SwitchArguments
204         End
205
206 #
207 # InsetBox context menu
208 #
209
210         Menu "context-box"
211                 Item "Frameless|l" "inset-modify changetype Frameless"
212                 Item "Simple Frame|F" "inset-modify changetype Boxed"
213                 Item "Simple Frame, Page Breaks|P" "inset-modify changetype Framed"
214                 Item "Oval, Thin|a" "inset-modify changetype ovalbox"
215                 Item "Oval, Thick|v" "inset-modify changetype Ovalbox"
216                 Item "Drop Shadow|w" "inset-modify changetype Shadowbox"
217                 Item "Shaded Background|B" "inset-modify changetype Shaded"
218                 Item "Double Frame|u" "inset-modify changetype Doublebox"
219         End
220
221
222 #
223 # InsetCaption context menu
224 #
225         Menu "context-caption"
226                 SwitchCaptions
227         End
228
229
230 #
231 # InsetNote context menu
232 #
233
234         Menu "context-note"
235                 Item "LyX Note|N" "inset-modify note Note Note"
236                 Item "Comment|m" "inset-modify note Note Comment"
237                 Item "Greyed Out|y" "inset-modify note Note Greyedout"
238                 Separator
239                 Item "Open All Notes|A" "inset-forall Note inset-toggle open"
240                 Item "Close All Notes|l" "inset-forall Note inset-toggle close"
241         End
242
243 #
244 # InsetPhantom context menu
245 #
246
247         Menu "context-phantom"
248                 Item "Phantom|P" "inset-modify phantom Phantom Phantom"
249                 Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
250                 Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
251         End
252
253
254 #
255 # InsetQuotes context menu
256 #
257         Menu "context-quote"
258                 SwitchQuotes
259         End
260
261 #
262 # InsetSpace context menu
263 #
264         Menu "context-space"
265                 Item "Normal Space|e" "inset-modify space \space{}"
266                 Item "Non-Breaking Normal Space|o" "inset-modify space ~"
267                 Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
268                 Item "Non-Breaking Thin Space (1/6 em)|T" "inset-modify space \thinspace{}"
269                 Item "Non-Breaking Medium Space (3/9 em)|M" "inset-modify space \medspace{}"
270                 Item "Non-Breaking Thick Space (5/18 em)|i" "inset-modify space \thickspace{}"
271                 Item "Non-Breaking Negative Thin Space (-1/6 em)|N" "inset-modify space \negthinspace{}"
272                 Item "Non-Breaking Negative Medium Space (-2/9 em)|v" "inset-modify space \negmedspace{}"
273                 Item "Non-Breaking Negative Thick Space (-5/18 em)|h" "inset-modify space \negthickspace{}"
274                 Item "Half Quad Space (1/2 em)|l" "inset-modify space \enskip{}"
275                 Item "Non-Breaking Half Quad Space (1/2 em)|k" "inset-modify space \enspace{}"
276                 Item "Quad Space (1 em)|Q" "inset-modify space \quad{}"
277                 Item "Double Quad Space (2 em)|u" "inset-modify space \qquad{}"
278                 Item "Horizontal Fill|F" "inset-modify space \hfill{}"
279                 Item "Non-Breaking Horizontal Fill|z" "inset-modify space \hspace*{\fill}"
280                 Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
281                 Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
282                 Item "Horizontal Fill (Left Arrow)|w" "inset-modify space \leftarrowfill{}"
283                 Item "Horizontal Fill (Right Arrow)|g" "inset-modify space \rightarrowfill{}"
284                 Item "Horizontal Fill (Up Brace)|p" "inset-modify space \upbracefill{}"
285                 Item "Horizontal Fill (Down Brace)|B" "inset-modify space \downbracefill{}"
286                 Item "Custom Length|C" "command-sequence inset-modify space \hspace{}; inset-settings"
287                 Separator
288                 Item "Settings...|S" "inset-settings"
289         End
290
291 #
292 # InsetMathSpace context menu
293 #
294         Menu "context-mathspace"
295                 Item "Thin Space|T" "inset-modify mathspace \thinspace{}"
296                 Item "Medium Space|M" "inset-modify mathspace \medspace{}"
297                 Item "Thick Space|i" "inset-modify mathspace \thickspace{}"
298                 Item "Negative Thin Space|N" "inset-modify mathspace \negthinspace{}"
299                 Item "Negative Medium Space|v" "inset-modify mathspace \negmedspace{}"
300                 Item "Negative Thick Space|h" "inset-modify mathspace \negthickspace{}"
301                 Item "Half Quad Space (Enskip)|k" "inset-modify mathspace \enskip{}"
302                 Item "Quad Space|Q" "inset-modify mathspace \quad{}"
303                 Item "Double Quad Space|u" "inset-modify mathspace \qquad{}"
304                 Item "Custom Length|C" "command-sequence inset-modify mathspace \hspace{} \length 1in; inset-settings"
305                 Separator
306                 Item "Settings...|S" "inset-settings"
307         End
308
309 #
310 # InsetVSpace context menu
311 #
312         Menu "context-vspace"
313                 Item "Default Skip|D" "inset-modify vspace defskip"
314                 Item "Small Skip|S" "inset-modify vspace smallskip"
315                 Item "Medium Skip|M" "inset-modify vspace medskip"
316                 Item "Big Skip|B" "inset-modify vspace bigskip"
317                 Item "Half line height|H" "inset-modify vspace halfline"
318                 Item "Line height|L" "inset-modify vspace fullline"
319                 Item "Vertical Fill|F" "inset-modify vspace vfill"
320                 Item "Custom|C" "command-sequence inset-modify vspace custom; inset-settings"
321                 Separator
322                 Item "Settings...|e" "inset-settings"
323         End
324
325 #
326 # InsetInclude context menu
327 #
328         Menu "context-include"
329                 Item "Include|c" "inset-modify changetype include"
330                 Item "Input|p" "inset-modify changetype input"
331                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
332                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
333                 Item "Listing|L" "inset-modify changetype lstinputlisting"
334                 Separator
335                 Item "Settings...|S" "inset-settings"
336                 Separator
337                 Item "Edit Included File...|E" "inset-edit"
338         End
339
340 #
341 # InsetNewpage context menu
342 #
343         Menu "context-newpage"
344                 Item "New Page|N" "inset-modify newpage newpage"
345                 Item "Page Break|a" "inset-modify newpage pagebreak"
346                 Item "No Page Break|g" "inset-modify newpage nopagebreak"
347                 Item "Clear Page|C" "inset-modify newpage clearpage"
348                 Item "Clear Double Page|D" "inset-modify newpage cleardoublepage"
349         End
350
351 #
352 # InsetNewline context menu
353 #
354         Menu "context-newline"
355                 Item "Ragged Line Break|R" "inset-modify newline newline"
356                 Item "Justified Line Break|J" "inset-modify newline linebreak"
357         End
358
359 #
360 # InsetNewline context menu
361 #
362         Menu "context-separator"
363                 Item "Plain Separator|P" "inset-modify separator plain"
364                 Item "Paragraph Break|B" "inset-modify separator parbreak"
365         End
366
367 #
368 # Edit context menu
369 #
370         Menu "context-edit"
371                 spellingsuggestions
372                 Separator
373                 OptItem "Edit Externally..." "inset-edit"
374                 OptItem "End Editing Externally" "inset-end-edit"
375                 Separator
376                 Item "Cut" "cut"
377                 Item "Copy" "copy"
378                 Item "Paste" "paste"
379                 Submenu "Paste Recent|e" "edit_pasterecent"
380                 Separator
381                 OptItem "Split Inset|i" "inset-split"
382                 Separator
383                 Item "Jump Back to Saved Bookmark|B" "bookmark-goto 0"
384                 OptItem "Forward Search|F" "forward-search"
385                 Separator
386                 Item "Move Paragraph Up|h" "paragraph-move-up"
387                 Item "Move Paragraph Down|v" "paragraph-move-down"
388                 Separator
389                 EnvironmentSeparatorsContext
390                 Separator
391                 OptItem "Promote Section|r" "outline-out"
392                 OptItem "Demote Section|m" "outline-in"
393                 OptItem "Move Section Down|D" "outline-down"
394                 OptItem "Move Section Up|U" "outline-up"
395                 Arguments
396                 OptSubmenu "Insert Regular Expression" "context-edit-regexp"
397                 Separator
398                 OptItem "Accept Change|c" "change-accept"
399                 OptItem "Reject Change|j" "change-reject"
400                 Separator
401                 Submenu "Text Properties|x" "edit_textprops"
402                 OptSubmenu "Custom Text Styles|y" "edit_textstyles"
403                 Item "Paragraph Settings...|P" "layout-paragraph"
404                 OptItem "Unify Graphics Groups|U" "graphics-unify"
405                 LanguageSelector
406                 Separator
407                 Item "Fullscreen Mode" "ui-toggle fullscreen"
408                 OptItem "Close Current View" "tab-group-close"
409         End
410
411
412 #
413 # Regular Expression context menu
414 #
415         Menu "context-edit-regexp"
416                 Item "Anything|A" "command-sequence regexp-mode; self-insert .*"
417                 Item "Anything Non-Empty|o" "command-sequence regexp-mode; self-insert .+"
418                 Item "Any Word|W" "command-sequence regexp-mode; self-insert \w+"
419                 Item "Any Number|N" "command-sequence regexp-mode; self-insert [0-9]+"
420                 Item "User Defined|U" "regexp-mode"
421         End
422
423
424 #
425 # Math Macro context menu
426 #
427
428         Menu "context-math-macro-definition"
429                 Item "Append Argument" "math-macro-add-param"
430                 Item "Remove Last Argument" "math-macro-remove-param"
431                 Separator
432                 Item "Make First Non-Optional Into Optional Argument" "math-macro-make-optional"
433                 Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional"
434                 Item "Insert Optional Argument" "math-macro-add-optional-param"
435                 Item "Remove Optional Argument" "math-macro-remove-optional-param"
436                 Separator
437                 Item "Append Argument Eating From the Right" "math-macro-append-greedy-param"
438                 Item "Append Optional Argument Eating From the Right" "math-macro-add-greedy-optional-param"
439                 Item "Remove Last Argument Spitting Out to the Right" "math-macro-remove-greedy-param"
440         End
441
442 #
443 # InsetGraphics context menu
444 #
445
446         Menu "context-graphics"
447                 Item "Settings...|S" "inset-settings"
448                 Item "Reload|R" "graphics-reload"
449                 Separator
450                 Item "Edit Externally...|x" "inset-edit"
451                 Separator
452                 GraphicsGroups
453         End
454
455 #
456 # InsetExternal context menu
457 #
458
459         Menu "context-external"
460                 Item "Settings...|S" "inset-settings"
461                 Separator
462                 Item "Edit Externally...|x" "inset-edit"
463         End
464
465 #
466 # InsetTabular context menu
467 #
468
469         Menu "table-borders"
470                 Item "Top|T" "tabular-feature toggle-line-top"
471                 Item "Bottom|B" "tabular-feature toggle-line-bottom"
472                 Item "Left|L" "tabular-feature toggle-line-left"
473                 Item "Right|R" "tabular-feature toggle-line-right"
474                 OptItem "Reset Formal Defaults|F" "tabular-feature reset-formal-default"
475         End
476
477         Menu "table-alignment"
478                 Item "Left|f" "command-alternatives tabular-feature m-align-left;tabular-feature align-left"
479                 Item "Center|C" "command-alternatives tabular-feature m-align-center;tabular-feature align-center"
480                 Item "Right|h" "command-alternatives tabular-feature m-align-right;tabular-feature align-right"
481                 Item "Decimal" "tabular-feature align-decimal"
482                 Separator
483                 Item "Top" "tabular-feature valign-top"
484                 Item "Middle" "tabular-feature valign-middle"
485                 Item "Bottom" "tabular-feature valign-bottom"
486         End
487
488         Menu "table-cols-rows"
489                 Item "Multicolumn|u" "tabular-feature multicolumn"
490                 Item "Multirow|w" "tabular-feature multirow"
491                 Separator
492                 Item "Append Row|A" "tabular-feature append-row"
493                 Item "Delete Row|D" "tabular-feature delete-row"
494                 Item "Copy Row|o" "tabular-feature copy-row"
495                 Item "Move Row Up" "tabular-feature move-row-up"
496                 Item "Move Row Down" "tabular-feature move-row-down"
497                 Separator
498                 Item "Append Column|p" "tabular-feature append-column"
499                 Item "Delete Column|e" "tabular-feature delete-column"
500                 Item "Copy Column|y" "tabular-feature copy-column"
501                 Item "Move Column Right|v" "tabular-feature move-column-right"
502                 Item "Move Column Left" "tabular-feature move-column-left"
503         End
504
505         Menu "context-tabular"
506                 Item "Multi-page Table|g" "tabular-feature toggle-longtabular"
507                 Item "Formal Style|m" "tabular-feature toggle-booktabs"
508                 Separator
509                 Submenu "Borders|d" "table-borders"
510                 Submenu "Alignment|i" "table-alignment"
511                 Submenu "Columns/Rows|C" "table-cols-rows"
512                 Separator
513                 Item "Settings...|S" "inset-settings tabular"
514         End
515
516 #
517 # InsetInfo context menu
518 #
519
520         Menu "context-info"
521                 InfoArguments
522                 Separator
523                 Item "Transform Field to Static Text|T" "inset-dissolve"
524                 Item "Copy Text|o" "inset-copy-as"
525                 Item "Settings...|S" "inset-settings info"
526         End
527
528 #
529 # InsetBranch context menu
530 #
531
532         Menu "context-branch"
533                 OptItem "Activate Branch|A" "branch-activate"
534                 OptItem "Deactivate Branch|e" "branch-deactivate"
535                 OptItem "Activate Branch in Master|M" "branch-master-activate"
536                 OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
537                 OptItem "Invert Inset|I" "branch-invert"
538                 OptItem "Add Unknown Branch|w" "branch-add"
539         End
540
541 #
542 # Toc Labels and References context menu
543 #
544
545         Menu "context-toc-label"
546                 OptItem "Copy as Reference|C" "label-copy-as-reference"
547                 OptItem "Insert Reference at Cursor Position|I" "label-insert-as-reference"
548                 Separator
549                 Item "Settings...|S" "inset-settings"
550         End
551
552 #
553 # Toc Branches context menu
554 #
555
556         Menu "context-toc-branch"
557                 OptItem "Activate Branch|A" "branch-activate"
558                 OptItem "Deactivate Branch|e" "branch-deactivate"
559                 Separator
560                 Item "Settings...|S" "inset-settings"
561         End
562
563 #
564 # Toc Graphics context menu
565 #
566
567         Menu "context-toc-graphics"
568                 Item "Settings...|S" "inset-settings"
569                 Separator
570                 Item "Edit Externally...|x" "inset-edit"
571         End
572
573 #
574 # Toc Citation context menu
575 #
576
577         Menu "context-toc-citation"
578                 Item "Settings...|S" "inset-settings"
579         End
580
581 #
582 # Toc Figures context menu
583 #
584
585         Menu "context-toc-figure"
586                 Item "Settings...|S" "inset-settings"
587         End
588
589 #
590 # Toc Listings context menu
591 #
592
593         Menu "context-toc-listing"
594                 Item "Settings...|S" "inset-settings"
595         End
596
597 #
598 # Toc Tables context menu
599 #
600
601         Menu "context-toc-table"
602                 Item "Settings...|S" "inset-settings"
603         End
604
605 #
606 # Toc Childs context menu
607 #
608         Menu "context-toc-child"
609                 Item "Include|c" "inset-modify changetype include"
610                 Item "Input|p" "inset-modify changetype input"
611                 Item "Verbatim|V" "inset-modify changetype verbatiminput"
612                 Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
613                 Item "Listing|L" "inset-modify changetype lstinputlisting"
614                 Separator
615                 Item "Settings...|S" "inset-settings"
616                 Separator
617                 Item "Edit Included File...|E" "inset-edit"
618         End
619
620 #
621 # Toc Indices context menu
622 #
623
624         Menu "context-toc-index"
625                 OptItem "Insert Copy at Cursor Position|I" "inset-insert-copy"
626                 Separator
627                 OptItem "Settings...|S" "inset-settings"
628         End
629
630 #
631 # Index context menu
632 #
633
634         Menu "context-index"
635                 IndicesContext
636                 Separator
637                 Item "Index All Occurrences of this Word|W" "index-tag-all"
638                 Separator
639                 OptItem "Single Page (No Page Range)|P" "inset-modify changeparam range none"
640                 OptItem "Start Page Range|t" "inset-modify changeparam range start"
641                 OptItem "End Page Range|E" "inset-modify changeparam range end"
642                 Separator
643                 OptItem "No Page Formatting|N" "inset-modify changeparam pagefmt default"
644                 OptItem "Bold Page Formatting|B" "inset-modify changeparam pagefmt textbf"
645                 OptItem "Italic Page Formatting|I" "inset-modify changeparam pagefmt textit"
646                 OptItem "Emphasized Page Formatting|z" "inset-modify changeparam pagefmt emph"
647                 OptItem "Custom Page Formatting...|u" "inset-modify changeparam pagefmt custom"
648         End
649         
650         Menu "context-edit-index"
651                 OptItem "Insert Subentry|n" "indexmacro-insert subentry"
652                 OptItem "Insert Sortkey|k" "indexmacro-insert sortkey"
653                 OptItem "Insert See Reference|cf" "indexmacro-insert see"
654                 OptItem "Insert See also Reference|a" "indexmacro-insert seealso"
655         End
656
657 #
658 # IndexMacro context menu
659 #
660
661         Menu "context-indexmacro"
662                 OptItem "See|e" "inset-modify changetype see"
663                 OptItem "See also|a" "inset-modify changetype seealso"
664         End
665
666
667 #
668 # Index Lists context menu
669 #
670
671         Menu "context-indexprint"
672                 Item "All Indexes|A" "inset-modify check-printindex*"
673                 IndicesListsContext
674                 Separator
675                 Item "Subindex|b" "inset-modify toggle-subindex"
676                 Separator
677                 OptItem "Settings...|S" "inset-settings"
678         End
679
680 #
681 # Nomencl List context menu
682 #
683
684         Menu "context-nomenclprint"
685                 OptItem "Settings...|S" "inset-settings"
686         End
687
688
689 # InsetPreview context menu
690 #
691
692         Menu "context-preview"
693                 Item "Dissolve Inset|D" "inset-dissolve"
694         End
695
696
697 #
698 # Toc Changes context menu
699 #
700
701         Menu "context-toc-change"
702                 Item "Accept Change|c" "change-accept"
703                 Item "Reject Change|R" "change-reject"
704         End
705         
706 #
707 # Toc Table of Context context menu
708 #
709
710         Menu "context-toc-tableofcontents"
711                 Item "Promote Section|P" "outline-out"
712                 Item "Demote Section|D" "outline-in"
713                 Item "Move Section Up|U" "outline-up"
714                 Item "Move Section Down|w" "outline-down"
715                 Separator
716                 Item "Select Section|S" "section-select"
717         End
718
719 #
720 # InsetERT context menu
721 #
722         Menu "context-ert"
723                 # repeat 1 is added as a work-around to not indicate this action as toggable
724                 Item "Wrap by Preview|y" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
725                 OptItem "Edit Externally..." "inset-edit"
726                 OptItem "End Editing Externally" "inset-end-edit"
727         End
728
729 #
730 # InsetHyperlink context menu
731 #
732         Menu "context-hyperlink"
733                 Item "Settings...|S" "inset-settings"
734                 Separator
735                 Item "Open Target...|O" "inset-edit"
736         End
737
738 #
739 # InsetCounter context menu
740 #
741         Menu "context-counter"
742                 Item "Settings...|S" "inset-settings"
743         End
744
745 #
746 # Toolbar context menu
747 #
748         Menu "context-toolbars"
749                 Toolbars
750                 Separator
751                 Item "Lock Toolbars|L" "toolbar-movable *"
752                 Separator
753                 Item "Small-sized Icons" "icon-size small"
754                 Item "Normal-sized Icons" "icon-size normal"
755                 Item "Big-sized Icons" "icon-size big"
756                 Item "Huge-sized Icons" "icon-size huge"
757                 Item "Giant-sized Icons" "icon-size giant"
758         End
759
760 #
761 # Status bar zoom context menu
762 #
763         Menu "context-zoom"
764                 ZoomOptions
765         End
766
767 #
768 # Status bar context menu
769 #
770         Menu "context-statusbar"
771                 Item "Zoom Level|Z" "ui-toggle zoomlevel"
772                 Item "Zoom Slider|S" "ui-toggle zoomslider"
773                 Separator
774                 Item "Word Count|W" "ui-toggle statistics-w"
775                 Item "Character Count|C" "ui-toggle statistics-cb"
776                 Item "Character Count (No Blanks)|h" "ui-toggle statistics-c"
777                 Item "Start Statistics Relative to Current Count|R" "statistics-reference-clamp"
778                 OptItem "Reset to Absolute Statistics Count|A" "statistics-reference-clamp reset"
779         End
780
781 End