line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Kephra::Config::Default::ContextMenus;
|
2
|
|
|
|
|
|
|
our $VERSION = '0.03';
|
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
1100
|
use strict;
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
38
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
385
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub get {
|
8
|
|
|
|
|
|
|
return {
|
9
|
0
|
|
|
0
|
0
|
|
'editpanel_contextmenu' => [
|
10
|
|
|
|
|
|
|
'item edit-changes-undo',
|
11
|
|
|
|
|
|
|
'item edit-changes-redo',
|
12
|
|
|
|
|
|
|
undef,
|
13
|
|
|
|
|
|
|
'item edit-paste',
|
14
|
|
|
|
|
|
|
'item select-document',
|
15
|
|
|
|
|
|
|
undef,
|
16
|
|
|
|
|
|
|
'item goto-last-edit',
|
17
|
|
|
|
|
|
|
'item view-dialog-find',
|
18
|
|
|
|
|
|
|
undef,
|
19
|
|
|
|
|
|
|
'item file-save-current',
|
20
|
|
|
|
|
|
|
'item file-open',
|
21
|
|
|
|
|
|
|
undef,
|
22
|
|
|
|
|
|
|
'item file-close-current',
|
23
|
|
|
|
|
|
|
],
|
24
|
|
|
|
|
|
|
'textselection_contextmenu' => [
|
25
|
|
|
|
|
|
|
'item edit-copy',
|
26
|
|
|
|
|
|
|
'item edit-paste',
|
27
|
|
|
|
|
|
|
'item edit-replace',
|
28
|
|
|
|
|
|
|
'item edit-cut',
|
29
|
|
|
|
|
|
|
'item edit-delete',
|
30
|
|
|
|
|
|
|
undef,
|
31
|
|
|
|
|
|
|
'item find-selection',
|
32
|
|
|
|
|
|
|
'item replace-selection',
|
33
|
|
|
|
|
|
|
'item tool-note-selection',
|
34
|
|
|
|
|
|
|
undef, |
35
|
|
|
|
|
|
|
'item edit-selection-comment-toggle-perl', |
36
|
|
|
|
|
|
|
undef,
|
37
|
|
|
|
|
|
|
'item edit-selection-convert-uppercase',
|
38
|
|
|
|
|
|
|
'item edit-selection-convert-lowercase',
|
39
|
|
|
|
|
|
|
],
|
40
|
|
|
|
|
|
|
'markermargin_contextmenu' => [
|
41
|
|
|
|
|
|
|
{'menu marker' => [
|
42
|
|
|
|
|
|
|
'item marker-toggle-here',
|
43
|
|
|
|
|
|
|
'item marker-goto-prev-doc',
|
44
|
|
|
|
|
|
|
'item marker-goto-next-doc',
|
45
|
|
|
|
|
|
|
'item marker-goto-prev-all',
|
46
|
|
|
|
|
|
|
'item marker-goto-next-all',
|
47
|
|
|
|
|
|
|
'item marker-delete-doc',
|
48
|
|
|
|
|
|
|
'item marker-delete-all',
|
49
|
|
|
|
|
|
|
],},
|
50
|
|
|
|
|
|
|
undef,
|
51
|
|
|
|
|
|
|
{'menu bookmark_toggle' => [
|
52
|
|
|
|
|
|
|
'item bookmark-toggle-1',
|
53
|
|
|
|
|
|
|
'item bookmark-toggle-2',
|
54
|
|
|
|
|
|
|
'item bookmark-toggle-3',
|
55
|
|
|
|
|
|
|
'item bookmark-toggle-4',
|
56
|
|
|
|
|
|
|
'item bookmark-toggle-5',
|
57
|
|
|
|
|
|
|
'item bookmark-toggle-6',
|
58
|
|
|
|
|
|
|
'item bookmark-toggle-7',
|
59
|
|
|
|
|
|
|
'item bookmark-toggle-8',
|
60
|
|
|
|
|
|
|
'item bookmark-toggle-9',
|
61
|
|
|
|
|
|
|
'item bookmark-toggle-0',
|
62
|
|
|
|
|
|
|
],},
|
63
|
|
|
|
|
|
|
{'menu bookmark_goto' => [
|
64
|
|
|
|
|
|
|
'item bookmark-goto-1',
|
65
|
|
|
|
|
|
|
'item bookmark-goto-2',
|
66
|
|
|
|
|
|
|
'item bookmark-goto-3',
|
67
|
|
|
|
|
|
|
'item bookmark-goto-4',
|
68
|
|
|
|
|
|
|
'item bookmark-goto-5',
|
69
|
|
|
|
|
|
|
'item bookmark-goto-6',
|
70
|
|
|
|
|
|
|
'item bookmark-goto-7',
|
71
|
|
|
|
|
|
|
'item bookmark-goto-8',
|
72
|
|
|
|
|
|
|
'item bookmark-goto-9',
|
73
|
|
|
|
|
|
|
'item bookmark-goto-0',
|
74
|
|
|
|
|
|
|
],},
|
75
|
|
|
|
|
|
|
'item bookmark-delete-doc',
|
76
|
|
|
|
|
|
|
'item bookmark-delete-all',
|
77
|
|
|
|
|
|
|
undef,
|
78
|
|
|
|
|
|
|
'item goto-line',
|
79
|
|
|
|
|
|
|
undef,
|
80
|
|
|
|
|
|
|
{'menu view_text_fold' => [
|
81
|
|
|
|
|
|
|
'item view-editpanel-fold-toggle-here',
|
82
|
|
|
|
|
|
|
'item view-editpanel-fold-toggle-recursively',
|
83
|
|
|
|
|
|
|
'item view-editpanel-fold-toggle-level',
|
84
|
|
|
|
|
|
|
'item view-editpanel-fold-toggle-all',
|
85
|
|
|
|
|
|
|
],},
|
86
|
|
|
|
|
|
|
undef,
|
87
|
|
|
|
|
|
|
'checkitem view-editpanel-margin-marker',
|
88
|
|
|
|
|
|
|
'checkitem view-editpanel-margin-line-number',
|
89
|
|
|
|
|
|
|
'checkitem view-editpanel-margin-text-fold',
|
90
|
|
|
|
|
|
|
{'menu view_textmargin' => [
|
91
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-0',
|
92
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-1',
|
93
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-2',
|
94
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-3',
|
95
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-4',
|
96
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-6',
|
97
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-8',
|
98
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-10',
|
99
|
|
|
|
|
|
|
'radioitem view-editpanel-margin-text-12',
|
100
|
|
|
|
|
|
|
],},
|
101
|
|
|
|
|
|
|
],
|
102
|
|
|
|
|
|
|
'searchbar_contextmenu' => [
|
103
|
|
|
|
|
|
|
'checkitem search-attribute-incremental-switch',
|
104
|
|
|
|
|
|
|
'checkitem search-attribute-autowrap-switch',
|
105
|
|
|
|
|
|
|
undef,
|
106
|
|
|
|
|
|
|
'checkitem search-attribute-regex-switch',
|
107
|
|
|
|
|
|
|
'checkitem search-attribute-match-whole-word-switch',
|
108
|
|
|
|
|
|
|
'checkitem search-attribute-match-word-begin-switch',
|
109
|
|
|
|
|
|
|
'checkitem search-attribute-match-case-switch',
|
110
|
|
|
|
|
|
|
undef,
|
111
|
|
|
|
|
|
|
'radioitem search-range-selection',
|
112
|
|
|
|
|
|
|
'radioitem search-range-document',
|
113
|
|
|
|
|
|
|
'radioitem search-range-open-docs',
|
114
|
|
|
|
|
|
|
],
|
115
|
|
|
|
|
|
|
'status_syntaxstyle_contextmenu' => [
|
116
|
|
|
|
|
|
|
'radioitem document-syntaxmode-c',
|
117
|
|
|
|
|
|
|
'radioitem document-syntaxmode-conf',
|
118
|
|
|
|
|
|
|
'radioitem document-syntaxmode-css',
|
119
|
|
|
|
|
|
|
'radioitem document-syntaxmode-html',
|
120
|
|
|
|
|
|
|
'radioitem document-syntaxmode-js',
|
121
|
|
|
|
|
|
|
'radioitem document-syntaxmode-perl',
|
122
|
|
|
|
|
|
|
'radioitem document-syntaxmode-xml',
|
123
|
|
|
|
|
|
|
'radioitem document-syntaxmode-yaml',
|
124
|
|
|
|
|
|
|
undef,
|
125
|
|
|
|
|
|
|
'item document-syntaxmode-auto',
|
126
|
|
|
|
|
|
|
'checkitem document-syntaxmode-none',
|
127
|
|
|
|
|
|
|
],
|
128
|
|
|
|
|
|
|
'status_whitespace_contextmenu' => [
|
129
|
|
|
|
|
|
|
'checkitem tool-auto-indention',
|
130
|
|
|
|
|
|
|
'checkitem tool-brace-indention',
|
131
|
|
|
|
|
|
|
undef,
|
132
|
|
|
|
|
|
|
'checkitem view-editpanel-whitespace',
|
133
|
|
|
|
|
|
|
{'menu document_tab_width' => [
|
134
|
|
|
|
|
|
|
'checkitem document-tabs-width-1',
|
135
|
|
|
|
|
|
|
'checkitem document-tabs-width-2',
|
136
|
|
|
|
|
|
|
'checkitem document-tabs-width-3',
|
137
|
|
|
|
|
|
|
'checkitem document-tabs-width-4',
|
138
|
|
|
|
|
|
|
'checkitem document-tabs-width-5',
|
139
|
|
|
|
|
|
|
'checkitem document-tabs-width-6',
|
140
|
|
|
|
|
|
|
'checkitem document-tabs-width-8',
|
141
|
|
|
|
|
|
|
],},
|
142
|
|
|
|
|
|
|
{'menu document_convert' => [
|
143
|
|
|
|
|
|
|
'item edit-document-convert-tabs2spaces',
|
144
|
|
|
|
|
|
|
'item edit-document-convert-spaces2tabs',
|
145
|
|
|
|
|
|
|
'',
|
146
|
|
|
|
|
|
|
'item edit-document-convert-indent2spaces',
|
147
|
|
|
|
|
|
|
'item edit-document-convert-indent2tabs',
|
148
|
|
|
|
|
|
|
'',
|
149
|
|
|
|
|
|
|
'item edit-document-format-del-trailing-whitespace',
|
150
|
|
|
|
|
|
|
],},
|
151
|
|
|
|
|
|
|
undef,
|
152
|
|
|
|
|
|
|
'radioitem document-tabs-soft',
|
153
|
|
|
|
|
|
|
'radioitem document-tabs-hard',
|
154
|
|
|
|
|
|
|
],
|
155
|
|
|
|
|
|
|
'status_lineendchar_contextmenu' => [
|
156
|
|
|
|
|
|
|
'checkitem view-editpanel-indicator-EOL',
|
157
|
|
|
|
|
|
|
undef,
|
158
|
|
|
|
|
|
|
'item document-EOL-auto',
|
159
|
|
|
|
|
|
|
undef,
|
160
|
|
|
|
|
|
|
'radioitem document-EOL-lf',
|
161
|
|
|
|
|
|
|
'radioitem document-EOL-cr',
|
162
|
|
|
|
|
|
|
'radioitem document-EOL-cr+lf',
|
163
|
|
|
|
|
|
|
],
|
164
|
|
|
|
|
|
|
'status_info_contexmenu' => [
|
165
|
|
|
|
|
|
|
'radioitem view-statusbar-info-none',
|
166
|
|
|
|
|
|
|
'radioitem view-statusbar-info-length',
|
167
|
|
|
|
|
|
|
'radioitem view-statusbar-info-date',
|
168
|
|
|
|
|
|
|
]
|
169
|
|
|
|
|
|
|
}
|
170
|
|
|
|
|
|
|
}
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
1;
|