]> git.lyx.org Git - lyx.git/blob - lib/ui/stdcontext.inc
Fix copy&paste bug.
[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://usability.kde.org/hig/)
13
14 Menuset
15
16 #
17 # InsetMath context menu
18 #
19         Menu "context-math"
20                 Item "Equation Label|L" "label-insert"
21                 Item "Toggle Labeling/Numbering|T" "math-number-toggle"
22         End
23
24
25 #
26 # InsetRef context menu
27 #
28         Menu "context-ref"
29                 Item "Next Cross-Reference|N" "reference-next"
30                 Item "Go to Label|G" "label-goto"
31                 Separator
32                 Item "<reference>|r" "next-inset-modify changetype ref"
33                 Item "(<reference>)|e" "next-inset-modify changetype eqref"
34                 Item "<page>|p" "next-inset-modify changetype pageref"
35                 Item "on page <page>|o" "next-inset-modify changetype vpageref"
36                 Item "<reference> on page <page>|f" "next-inset-modify changetype vref"
37                 Item "Formatted reference|t" "next-inset-modify changetype prettyref"
38                 Separator
39                 Item "Settings...|S" "next-inset-toggle"
40         End
41
42         Menu "edit_reftype"
43                 
44         End
45
46 #
47 # InsetLabel context menu
48 #
49         Menu "context-label"
50                 Item "Next Cross-Reference|N" "reference-next"
51                 Item "Go back to Reference|G" "bookmark-goto 0"
52                 Separator
53                 Item "Settings...|S" "next-inset-toggle"
54         End
55
56 #
57 # InsetCollapsable context menu
58 #
59         Menu "context-collapsable"
60                 OptItem "Open Inset|O" "next-inset-toggle open"
61                 OptItem "Close Inset|C" "next-inset-toggle close"
62                 Separator
63                 OptItem "Settings...|S" "inset-settings"
64         End
65
66         Menu "context-conglomerate"
67                 Item "Toggle Label|L" "next-inset-toggle"
68                 Item "Dissolve Inset|D" "inset-dissolve charstyle"
69                 Separator
70                 OptItem "Settings...|S" "inset-settings"
71         End
72
73 #
74 # InsetBox context menu
75 #
76
77         Menu "context-box"
78                 Item "Frameless|l" "next-inset-modify changetype Frameless"
79                 Item "Simple frame|f" "next-inset-modify changetype Boxed"
80                 Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed"
81                 Item "Oval, thin|O" "next-inset-modify changetype ovalbox"
82                 Item "Oval, thick|v" "next-inset-modify changetype Ovalbox"
83                 Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox"
84                 Item "Shaded background|b" "next-inset-modify changetype Shaded"
85                 Item "Double frame|D" "next-inset-modify changetype Doublebox"
86                 Separator
87                 Item "Settings...|S" "inset-settings box"
88         End
89
90 #
91 # InsetNote context menu
92 #
93
94         Menu "context-note"
95                 Item "LyX Note|N" "next-inset-modify note Note Note"
96                 Item "Comment|C" "next-inset-modify note Note Comment"
97                 Item "Greyed Out|G" "next-inset-modify note Note Greyedout"
98         End
99
100
101 #
102 # InsetSpace context menu
103 #
104         Menu "context-space"
105                 Item "Interword Space|w" "next-inset-modify space \space{}"
106                 Item "Protected Space|o" "next-inset-modify space ~"
107                 Item "Thin Space|T" "next-inset-modify space \thinspace{}"
108                 Item "Quad Space|Q" "next-inset-modify space \quad{}"
109                 Item "QQuad Space|u" "next-inset-modify space \qquad{}"
110                 Item "Enspace|E" "next-inset-modify space \enspace{}"
111                 Item "Enskip|k" "next-inset-modify space \enskip{}"
112                 Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
113                 Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
114                 Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
115                 Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"
116                 Item "Horizontal Fill (Rule)|R" "next-inset-modify space \hrulefill{}"
117                 Item "Custom Length|C" "command-sequence next-inset-modify space \hspace{} \length 1in; next-inset-toggle"
118                 Separator
119                 Item "Settings...|S" "next-inset-toggle"
120         End
121
122 #
123 # InsetVSpace context menu
124 #
125         Menu "context-vspace"
126                 Item "DefSkip|D" "next-inset-modify vspace defskip"
127                 Item "SmallSkip|S" "next-inset-modify vspace smallskip"
128                 Item "MedSkip|M" "next-inset-modify vspace medskip"
129                 Item "BigSkip|B" "next-inset-modify vspace bigskip"
130                 Item "VFill|F" "next-inset-modify vspace vfill"
131                 Item "Custom|C" "command-sequence next-inset-modify vspace 1in; next-inset-toggle"
132                 Separator
133                 Item "Settings...|S" "next-inset-toggle"
134         End
135
136         Menu "edit_vspacetype"
137                 
138         End
139
140 #
141 # InsetNewpage context menu
142 #
143         Menu "context-newpage"
144                 Item "New Page|N" "next-inset-modify newpage newpage"
145                 Item "Page Break|a" "next-inset-modify newpage pagebreak"
146                 Item "Clear Page|C" "next-inset-modify newpage clearpage"
147                 Item "Clear Double Page|D" "next-inset-modify newpage cleardoublepage"
148         End
149
150 #
151 # InsetNewline context menu
152 #
153         Menu "context-newline"
154                 Item "Ragged Line Break|R" "next-inset-modify newline newline"
155                 Item "Justified Line Break|J" "next-inset-modify newline linebreak"
156         End
157
158 #
159 # Edit context menu
160 #
161         Menu "context-edit"
162                 Item "Cut" "cut"
163                 Item "Copy" "copy"
164                 Item "Paste" "paste"
165                 Submenu "Paste Recent|e" "edit_pasterecent"
166                 Separator
167                 Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
168                 Separator
169                 Item "Move Paragraph Up|o" "paragraph-move-up"
170                 Item "Move Paragraph Down|v" "paragraph-move-down"
171                 Separator
172                 Item "Apply Last Text Style|A" "font-free-apply"
173                 Submenu "Text Style|S" "edit_textstyles"
174                 Item "Paragraph Settings...|P" "layout-paragraph"
175                 Separator
176                 Item "Fullscreen Mode" "ui-toggle fullscreen"
177         End
178
179 #
180 # Math Macro context menu
181 #
182
183         Menu "context-math-macro-definition"
184                 Item "Append Parameter" "math-macro-add-param"
185                 Item "Remove Last Parameter" "math-macro-remove-param"
186                 Separator
187                 Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
188                 Item "Make Last Optional into Non-Optional Parameter" "math-macro-make-nonoptional"
189                 Item "Insert Optional Parameter" "math-macro-add-optional-param"
190                 Item "Remove Optional Parameter" "math-macro-remove-optional-param"
191                 Separator
192                 Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
193                 Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
194                 Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
195         End
196
197 #
198 # InsetListing context menu
199 #
200
201         Menu "context-listings"
202                 Item "Cut" "cut"
203                 Item "Copy" "copy"
204                 Item "Paste" "paste"
205                 Submenu "Paste Recent|e" "edit_pasterecent"
206                 Separator
207                 Item "Settings...|S" "inset-settings listings"
208         End
209
210 #
211 # InsetGraphics context menu
212 #
213
214         Menu "context-graphics"
215                 Item "Settings...|S" "next-inset-toggle"
216                 Separator
217                 Item "Edit externally...|x" "graphics-edit"
218         End
219
220 #
221 # InsetTabular context menu
222 #
223
224         Menu "context-tabular"
225                 Item "Multicolumn|M" "tabular-feature multicolumn"\r
226                 Separator\r
227                 Item "Top Line|T" "tabular-feature toggle-line-top"\r
228                 Item "Bottom Line|B" "tabular-feature toggle-line-bottom"\r
229                 Item "Left Line|L" "tabular-feature toggle-line-left"\r
230                 Item "Right Line|R" "tabular-feature toggle-line-right"\r
231                 Separator\r
232                 Item "Left|L" "tabular-feature align-left"\r
233                 Item "Center|C" "tabular-feature align-center"\r
234                 Item "Right|R" "tabular-feature align-right"\r
235                 Separator\r
236                 Item "Top|T" "tabular-feature valign-top"\r
237                 Item "Middle|M" "tabular-feature valign-middle"\r
238                 Item "Bottom|B" "tabular-feature valign-bottom"\r
239                 Separator\r
240                 Item "Add Row|A" "tabular-feature append-row"\r
241                 Item "Delete Row|D" "tabular-feature delete-row"\r
242                 Item "Copy Row|o" "tabular-feature copy-row"\r
243                 # Item "Swap Rows|S" "tabular-feature swap-row" # currently broken\r
244                 Separator\r
245                 Item "Add Column|u" "tabular-feature append-column"\r
246                 Item "Delete Column|e" "tabular-feature delete-column"\r
247                 Item "Copy Column|p" "tabular-feature copy-column"\r
248                 # Item "Swap Columns|w" "tabular-feature swap-column" # currently broken\r
249                 Separator
250                 Item "Settings...|S" "inset-settings tabular"
251         End
252
253 End