File Coverage

lib/Kephra/Config/Default/CommandList.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 11 72.7


line stmt bran cond sub pod time code
1             package Kephra::Config::Default::CommandList;
2             our $VERSION = '0.05';
3            
4 1     1   1405 use strict;
  1         3  
  1         36  
5 1     1   6 use warnings;
  1         3  
  1         2559  
6            
7             sub get {
8             return {
9 0     0 0   call => {
10             app => {
11             exit => 'Kephra::App::exit()',
12             'exit-unsaved' => 'Kephra::App::exit_unsaved()',
13             },
14             file => {
15             new => 'Kephra::File::new()',
16             open => 'Kephra::File::open()',
17             'open-dir' => 'Kephra::File::open_all_of_dir()',
18             reload => 'Kephra::File::reload_current()',
19             'reload-all' => 'Kephra::File::reload_all()',
20             insert => 'Kephra::File::insert()',
21             save => {
22             current => 'Kephra::File::save_current()',
23             all => 'Kephra::File::save_all()',
24             as => 'Kephra::File::save_as()',
25             'copy-as' => 'Kephra::File::save_copy_as()',
26             },
27             rename => 'Kephra::File::rename()',
28             print => 'Kephra::File::print()',
29             close => {
30             current => 'Kephra::File::close()',
31             all => 'Kephra::File::close_all()',
32             other => 'Kephra::File::close_other()',
33             unsaved => 'Kephra::File::close_unsaved()',
34             'all-unsaved' => 'Kephra::File::close_all_unsaved()',
35             'other-unsaved' => 'Kephra::File::close_other_unsaved()',
36             },
37             session => {
38             open => 'Kephra::File::Session::restore_from()',
39             add => 'Kephra::File::Session::add_from()',
40             save => 'Kephra::File::Session::save_as()',
41             import => 'Kephra::File::Session::import_scite()',
42             export => 'Kephra::File::Session::export_scite()',
43             'backup-open' => 'Kephra::File::Session::load_backup()',
44             'backup-save' => 'Kephra::File::Session::save_backup()',
45             'history-open-all' => 'Kephra::File::History::open_all()',
46             },
47             },
48             edit => {
49             changes => {
50             undo => 'Kephra::Edit::History::undo()',
51             redo => 'Kephra::Edit::History::redo()',
52             'undo-several' => 'Kephra::Edit::History::undo_several()',
53             'redo-several' => 'Kephra::Edit::History::redo_several()',
54             'goto-begin' => 'Kephra::Edit::History::undo_begin()',
55             'goto-end' => 'Kephra::Edit::History::redo_end()',
56             delete => 'Kephra::Edit::History::clear_history()',
57             },
58             cut => 'Kephra::Edit::cut()',
59             copy => 'Kephra::Edit::copy()',
60             paste => 'Kephra::Edit::paste()',
61             replace => 'Kephra::Edit::replace()',
62             delete => 'Kephra::Edit::clear()',
63             'delete-tab' => 'Kephra::Edit::del_back_tab()',
64             line => {
65             cut => 'Kephra::Edit::cut_current_line()',
66             copy => 'Kephra::Edit::copy_current_line()',
67             duplicate => 'Kephra::Edit::double_current_line()',
68             replace => 'Kephra::Edit::replace_current_line()',
69             delete => 'Kephra::Edit::del_current_line()',
70             'delete-left' => 'Kephra::Edit::del_line_left()',
71             'delete-right' => 'Kephra::Edit::del_line_right()',
72             move => {
73             'line-up' => 'Kephra::Edit::selection_move_up()',
74             'line-down' => 'Kephra::Edit::selection_move_down()',
75             'page-up' => 'Kephra::Edit::selection_move_page_up()',
76             'page-down' => 'Kephra::Edit::selection_move_page_down()',
77             }
78             },
79             selection => {
80             convert => {
81             uppercase => 'Kephra::Edit::Convert::upper_case()',
82             lowercase => 'Kephra::Edit::Convert::lower_case()',
83             titlecase => 'Kephra::Edit::Convert::title_case()',
84             sentencecase => 'Kephra::Edit::Convert::sentence_case()',
85             spaces2tabs => 'Kephra::Edit::Convert::spaces2tabs()',
86             tabs2spaces => 'Kephra::Edit::Convert::tabs2spaces()',
87             spaces2entities => 'Kephra::Edit::Convert::spaces2entities()',
88             entities2spaces => 'Kephra::Edit::Convert::entities2spaces()',
89             chars2entities => 'Kephra::Edit::Convert::chars2entities()',
90             entities2chars => 'Kephra::Edit::Convert::entities2chars()',
91             },
92             comment => {
93             'add-perl' => "Kephra::Edit::Comment::add_script()",
94             'del-perl' => "Kephra::Edit::Comment::sub_script()",
95             'toggle-perl' => "Kephra::Edit::Comment::toggle_script()",
96             'add-c' => "Kephra::Edit::Comment::add_c( )",
97             'del-c' => "Kephra::Edit::Comment::sub_c( )",
98             'add-xml' => "Kephra::Edit::Comment::add_xml( )",
99             'del-xml' => "Kephra::Edit::Comment::remove_xml( )",
100             },
101             format => {
102             'align-on-begin' => 'Kephra::Edit::Format::align_indent()',
103             'block-on-right-margin' => 'Kephra::Edit::Format::blockformat_LLI()',
104             'block-on-width' => 'Kephra::Edit::Format::blockformat_custom()',
105             'linewrap-on-right-margin' => 'Kephra::Edit::Format::linebreak_LLI()',
106             'linewrap-on-width' => 'Kephra::Edit::Format::linebreak_custom()',
107             'indent-char' => 'Kephra::Edit::Format::indent_space()',
108             'dedent-char' => 'Kephra::Edit::Format::dedent_space()',
109             'indent-tab' => 'Kephra::Edit::Format::indent_tab()',
110             'dedent-tab' => 'Kephra::Edit::Format::dedent_tab()',
111             'del-trailing-whitespace' => 'Kephra::Edit::Format::del_trailing_spaces()',
112             'join-lines' => 'Kephra::Edit::Format::join_lines()',
113             },
114             move => {
115             'char-left' => 'Kephra::Edit::selection_move_left()',
116             'char-right' => 'Kephra::Edit::selection_move_right()',
117             'line-up' => 'Kephra::Edit::selection_move_up()',
118             'line-down' => 'Kephra::Edit::selection_move_down()',
119             'page-up' => 'Kephra::Edit::selection_move_page_up()',
120             'page-down' => 'Kephra::Edit::selection_move_page_down()',
121             },
122             },
123             document => {
124             convert => {
125             indent2spaces => 'Kephra::Document::convert_indent2spaces()',
126             indent2tabs => 'Kephra::Document::convert_indent2tabs()',
127             spaces2tabs => 'Kephra::Document::convert_spaces2tabs()',
128             tabs2spaces => 'Kephra::Document::convert_tabs2spaces()',
129             },
130             format => {
131             'del-trailing-whitespace' => 'Kephra::Document::del_trailing_spaces()',
132             },
133             },
134             },
135             select => {
136             document => 'Kephra::Edit::Select::document()',
137             'toggle-simple' => 'Kephra::Edit::Select::toggle_simple()',
138             'toggle-content' => 'Kephra::Edit::Select::toggle_content()',
139             'to-block-begin' => 'Kephra::Edit::Select::to_block_begin()',
140             'to-block-end' => 'Kephra::Edit::Select::to_block_end()',
141             },
142             search => {
143             attribute => {
144             'autowrap-switch' => "Kephra::Edit::Search::switch_attribute('auto_wrap')",
145             'incremental-switch' => "Kephra::Edit::Search::switch_attribute('incremental')",
146             'regex-switch' => "Kephra::Edit::Search::switch_attribute('match_regex')",
147             match => {
148             'case-switch' => "Kephra::Edit::Search::switch_attribute('match_case')",
149             'whole-word-switch' => "Kephra::Edit::Search::switch_attribute('match_whole_word')",
150             'word-begin-switch' => "Kephra::Edit::Search::switch_attribute('match_word_begin')",
151             },
152             },
153             range => {
154             selection => "Kephra::Edit::Search::set_range('selection')",
155             document => "Kephra::Edit::Search::set_range('document')",
156             'open-docs' => "Kephra::Edit::Search::set_range('open_docs')",
157             },
158             },
159             find => {
160             prev => 'Kephra::Edit::Search::find_prev()',
161             next => 'Kephra::Edit::Search::find_next()',
162             first => 'Kephra::Edit::Search::find_first()',
163             last => 'Kephra::Edit::Search::find_last()',
164             selection => 'Kephra::Edit::Search::set_selection_as_find_item()',
165             },
166             replace => {
167             prev => 'Kephra::Edit::Search::replace_back()',
168             next => 'Kephra::Edit::Search::replace_fore()',
169             all => 'Kephra::Edit::Search::replace_all()',
170             'with-confirm' => 'Kephra::Edit::Search::replace_confirm()',
171             selection => 'Kephra::Edit::Search::set_selection_as_replace_item()',
172             },
173             goto => {
174             block => {
175             down => 'Kephra::Edit::Goto::next_block()',
176             up => 'Kephra::Edit::Goto::prev_block()',
177             },
178             brace => {
179             down => 'Kephra::Edit::Goto::next_related_brace()',
180             left => 'Kephra::Edit::Goto::prev_brace()',
181             right => 'Kephra::Edit::Goto::next_brace()',
182             up => 'Kephra::Edit::Goto::prev_related_brace()',
183             },
184             'last-edit' => 'Kephra::Edit::Goto::last_edit()',
185             line => 'Kephra::Edit::Goto::line()',
186             },
187             bookmark => {
188             goto => {
189             1 => 'Kephra::Edit::Marker::goto_bookmark(1)',
190             2 => 'Kephra::Edit::Marker::goto_bookmark(2)',
191             3 => 'Kephra::Edit::Marker::goto_bookmark(3)',
192             4 => 'Kephra::Edit::Marker::goto_bookmark(4)',
193             5 => 'Kephra::Edit::Marker::goto_bookmark(5)',
194             6 => 'Kephra::Edit::Marker::goto_bookmark(6)',
195             7 => 'Kephra::Edit::Marker::goto_bookmark(7)',
196             8 => 'Kephra::Edit::Marker::goto_bookmark(8)',
197             9 => 'Kephra::Edit::Marker::goto_bookmark(9)',
198             0 => 'Kephra::Edit::Marker::goto_bookmark(0)',
199             },
200             toggle => {
201             1 => 'Kephra::Edit::Marker::toggle_bookmark(1)',
202             2 => 'Kephra::Edit::Marker::toggle_bookmark(2)',
203             3 => 'Kephra::Edit::Marker::toggle_bookmark(3)',
204             4 => 'Kephra::Edit::Marker::toggle_bookmark(4)',
205             5 => 'Kephra::Edit::Marker::toggle_bookmark(5)',
206             6 => 'Kephra::Edit::Marker::toggle_bookmark(6)',
207             7 => 'Kephra::Edit::Marker::toggle_bookmark(7)',
208             8 => 'Kephra::Edit::Marker::toggle_bookmark(8)',
209             9 => 'Kephra::Edit::Marker::toggle_bookmark(9)',
210             0 => 'Kephra::Edit::Marker::toggle_bookmark(0)',
211             },
212             'delete-doc' => 'Kephra::Edit::Marker::delete_all_bookmarks_in_doc()',
213             'delete-all' => 'Kephra::Edit::Marker::delete_all_bookmarks()',
214             },
215             marker => {
216             'goto-prev-doc' => 'Kephra::Edit::Marker::goto_prev_marker_in_doc()',
217             'goto-next-doc' => 'Kephra::Edit::Marker::goto_next_marker_in_doc()',
218             'goto-prev-all' => 'Kephra::Edit::Marker::goto_prev_marker()',
219             'goto-next-all' => 'Kephra::Edit::Marker::goto_next_marker()',
220             'toggle-here' => '&Kephra::Edit::Marker::toggle_marker',
221             'delete-doc' => 'Kephra::Edit::Marker::delete_all_marker_in_doc()',
222             'delete-all' => 'Kephra::Edit::Marker::delete_all_marker()',
223             },
224             tool => {
225             'interpreter-run-document' => 'Kephra::App::Panel::Output::run()',
226             'interpreter-stop-document' => 'Kephra::App::Panel::Output::stop()',
227             'output' => {
228             'inc' => 'Kephra::App::Panel::Output::display_inc()',
229             'env' => 'Kephra::App::Panel::Output::display_env()',
230             'selection-dec' => 'Kephra::App::Panel::Output::display_selection_dec()',
231             'selection-hex' => 'Kephra::App::Panel::Output::display_selection_hex()',
232             },
233             note => 'Kephra::App::Panel::Notepad::note()',
234             'note-selection' => 'Kephra::App::Panel::Notepad::append_selection()',
235             'choose-color' => 'Kephra::Dialog::choose_color()',
236             'insert-time-date' => 'Kephra::Edit::::Special::insert_time_date()',
237             perl => {
238             'insert-last-var' => 'Kephra::Edit::::Special::insert_last_perl_var()',
239             'copy-string' => 'Kephra::Edit::::Special::copy_surrounding_string()',
240             },
241             'auto-indention' => 'Kephra::App::EditPanel::switch_autoindention()',
242             'brace-indention' => 'Kephra::App::EditPanel::switch_braceindention()',
243             'brace-completion' => 'Kephra::App::EditPanel::switch_bracecompletion()',
244             },
245             document => {
246             'auto-indention' => 'Kephra::Document::Property::switch_autoindention()',
247             'brace-indention' => 'Kephra::Document::Property::switch_braceindention()',
248             change => {
249             back => 'Kephra::Document::Change::switch_back()',
250             prev => 'Kephra::Document::Change::tab_left()',
251             next => 'Kephra::Document::Change::tab_right()',
252             },
253             EOL => {
254             'auto' => "Kephra::Document::Property::convert_EOL('auto')",
255             'cr+lf' => "Kephra::Document::Property::convert_EOL('cr+lf')",
256             cr => "Kephra::Document::Property::convert_EOL('cr')",
257             lf => "Kephra::Document::Property::convert_EOL('lf')",
258             },
259             encoding => {
260             'ascii' => "Kephra::Document::Property::set_codepage('ascii')",
261             'latin1' => "Kephra::Document::Property::set_codepage('latin1')",
262             'utf8' => "Kephra::Document::Property::set_codepage('utf8')",
263             },
264             move => {
265             left => 'Kephra::Document::Change::move_left()',
266             right => 'Kephra::Document::Change::move_right()',
267             },
268             readonly => {
269             'as-attr' => "Kephra::Document::Property::set_readonly('protect')",
270             on => "Kephra::Document::Property::set_readonly('on')",
271             off => "Kephra::Document::Property::set_readonly('off')",
272             },
273             syntaxmode => {
274             auto => "Kephra::Document::SyntaxMode::set('auto')",
275             none => "Kephra::Document::SyntaxMode::set('none')",
276             ada => "Kephra::Document::SyntaxMode::set('ada')",
277             as => "Kephra::Document::SyntaxMode::set('as')",
278             asm => "Kephra::Document::SyntaxMode::set('asm')",
279             ave => "Kephra::Document::SyntaxMode::set('ave')",
280             baan => "Kephra::Document::SyntaxMode::set('baan')",
281             batch => "Kephra::Document::SyntaxMode::set('batch')",
282             c => "Kephra::Document::SyntaxMode::set('cpp')",
283             conf => "Kephra::Document::SyntaxMode::set('conf')",
284             context => "Kephra::Document::SyntaxMode::set('context')",
285             cs => "Kephra::Document::SyntaxMode::set('cs')",
286             css => "Kephra::Document::SyntaxMode::set('css')",
287             diff => "Kephra::Document::SyntaxMode::set('diff')",
288             eiffel => "Kephra::Document::SyntaxMode::set('eiffel')",
289             err => "Kephra::Document::SyntaxMode::set('err')",
290             forth => "Kephra::Document::SyntaxMode::set('forth')",
291             fortran => "Kephra::Document::SyntaxMode::set('fortran')",
292             html => "Kephra::Document::SyntaxMode::set('html')",
293             idl => "Kephra::Document::SyntaxMode::set('idl')",
294             java => "Kephra::Document::SyntaxMode::set('java')",
295             js => "Kephra::Document::SyntaxMode::set('js')",
296             latex => "Kephra::Document::SyntaxMode::set('latex')",
297             lisp => "Kephra::Document::SyntaxMode::set('lisp')",
298             lua => "Kephra::Document::SyntaxMode::set('lua')",
299             make => "Kephra::Document::SyntaxMode::set('make')",
300             matlab => "Kephra::Document::SyntaxMode::set('matlab')",
301             nsis => "Kephra::Document::SyntaxMode::set('nsis')",
302             pascal => "Kephra::Document::SyntaxMode::set('pascal')",
303             perl => "Kephra::Document::SyntaxMode::set('perl')",
304             php => "Kephra::Document::SyntaxMode::set('php')",
305             property => "Kephra::Document::SyntaxMode::set('property')",
306             ps => "Kephra::Document::SyntaxMode::set('ps')",
307             python => "Kephra::Document::SyntaxMode::set('python')",
308             ruby => "Kephra::Document::SyntaxMode::set('ruby')",
309             scheme => "Kephra::Document::SyntaxMode::set('scheme')",
310             sh => "Kephra::Document::SyntaxMode::set('sh')",
311             sql => "Kephra::Document::SyntaxMode::set('sql')",
312             tcl => "Kephra::Document::SyntaxMode::set('tcl')",
313             tex => "Kephra::Document::SyntaxMode::set('tex')",
314             vb => "Kephra::Document::SyntaxMode::set('vb')",
315             vbs => "Kephra::Document::SyntaxMode::set('vbs')",
316             xml => "Kephra::Document::SyntaxMode::set('xml')",
317             yaml => "Kephra::Document::SyntaxMode::set('yaml')",
318             },
319             tabs => {
320             hard => 'Kephra::Document::Property::set_tabs_hard()',
321             soft => 'Kephra::Document::Property::set_tabs_soft()',
322             use => 'Kephra::Document::Property::switch_tab_mode()',
323             width => {
324             1 => 'Kephra::Document::Property::set_tab_size(1)',
325             2 => 'Kephra::Document::Property::set_tab_size(2)',
326             3 => 'Kephra::Document::Property::set_tab_size(3)',
327             4 => 'Kephra::Document::Property::set_tab_size(4)',
328             5 => 'Kephra::Document::Property::set_tab_size(5)',
329             6 => 'Kephra::Document::Property::set_tab_size(6)',
330             8 => 'Kephra::Document::Property::set_tab_size(8)',
331             },
332             },
333             },
334             view => {
335             dialog => {
336             config => 'Kephra::Dialog::config()',
337             find => 'Kephra::Dialog::find()',
338             replace => 'Kephra::Dialog::replace()',
339             info => 'Kephra::Dialog::info()',
340             keymap => 'Kephra::Help::keyboard_map()',
341             },
342             documentation => {
343             'advanced-tour' => 'Kephra::Help::advanced_tour()',
344             credits => 'Kephra::Help::credits()',
345             'feature-list' => 'Kephra::Help::feature_tour()',
346             'navigation-guide' => 'Kephra::Help::navigation_guide',
347             welcome => 'Kephra::Help::welcome()',
348             'this-version' => 'Kephra::Help::version_text()',
349             },
350             editpanel => {
351             contextmenu => {
352             custom => "Kephra::App::EditPanel::set_contextmenu('custom')",
353             no => "Kephra::App::EditPanel::set_contextmenu('none')",
354             default => "Kephra::App::EditPanel::set_contextmenu('default')",
355             },
356             indicator => {
357             EOL => 'Kephra::App::EditPanel::Indicator::switch_EOL_visibility()',
358             'brace-light' => 'Kephra::App::EditPanel::Indicator::switch_bracelight()',
359             'caret-line' => 'Kephra::App::EditPanel::Indicator::switch_caret_line_visibility()',
360             'indention-guide' => 'Kephra::App::EditPanel::Indicator::switch_indention_guide_visibility()',
361             'right-margin' => 'Kephra::App::EditPanel::Indicator::switch_LLI_visibility()',
362             whitespace => 'Kephra::App::EditPanel::Indicator::switch_whitespace_visibility()',
363             },
364             font => 'Kephra::App::EditPanel::change_font()',
365             'line-wrap' => 'Kephra::App::EditPanel::switch_autowrap_mode()',
366             margin => {
367             contexmenu => 'Kephra::App::EditPanel::Margin::switch_contextmenu_visibility()',
368             'line-number' => 'Kephra::App::EditPanel::Margin::switch_line_number()',
369             marker => 'Kephra::App::EditPanel::Margin::switch_marker()',
370             'text-fold' => 'Kephra::App::EditPanel::Margin::switch_fold()',
371             text => {
372             0 => 'Kephra::App::EditPanel::Margin::set_text_width(0)',
373             1 => 'Kephra::App::EditPanel::Margin::set_text_width(1)',
374             2 => 'Kephra::App::EditPanel::Margin::set_text_width(2)',
375             3 => 'Kephra::App::EditPanel::Margin::set_text_width(3)',
376             4 => 'Kephra::App::EditPanel::Margin::set_text_width(4)',
377             6 => 'Kephra::App::EditPanel::Margin::set_text_width(6)',
378             8 => 'Kephra::App::EditPanel::Margin::set_text_width(8)',
379             10 => 'Kephra::App::EditPanel::Margin::set_text_width(10)',
380             12 => 'Kephra::App::EditPanel::Margin::set_text_width(12)',
381             },
382             },
383             'fold-toggle' => {
384             all => 'Kephra::App::EditPanel::Fold::toggle_all()',
385             here => 'Kephra::App::EditPanel::Fold::toggle_here()',
386             level => 'Kephra::App::EditPanel::Fold::toggle_level()',
387             recursively => 'Kephra::App::EditPanel::Fold::toggle_recursively()',
388             },
389             maximize => 'Kephra::App::Window::switch_max_editpanel_mode()',
390             zoom => {
391             in => 'Kephra::App::EditPanel::zoom_in()',
392             normal => 'Kephra::App::EditPanel::zoom_normal()',
393             out => 'Kephra::App::EditPanel::zoom_out()',
394             },
395             },
396             panel => {
397             notepad => 'Kephra::App::Panel::Notepad::switch_visibility()',
398             output => 'Kephra::App::Panel::Output::switch_visibility()',
399             },
400             menubar => 'Kephra::App::MenuBar::switch_visibility()',
401             searchbar => 'Kephra::App::SearchBar::switch_visibility()',
402             'searchbar-goto' => 'Kephra::App::SearchBar::enter_focus()',
403             'searchbar-contexmenu' => 'Kephra::App::SearchBar::switch_contextmenu_visibility()',
404             statusbar => 'Kephra::App::StatusBar::switch_visibility()',
405             'statusbar-contexmenu' => 'Kephra::App::StatusBar::switch_contextmenu_visibility()',
406             'statusbar-info' => {
407             date => "Kephra::App::StatusBar::set_info_msg_nr(2)",
408             length => "Kephra::App::StatusBar::set_info_msg_nr(1)",
409             none => "Kephra::App::StatusBar::set_info_msg_nr('0')",
410             },
411             tabbar => 'Kephra::App::TabBar::switch_visibility()',
412             'tabbar-contexmenu' => 'Kephra::App::TabBar::switch_contextmenu_visibility()',
413             toolbar => 'Kephra::App::MainToolBar::switch_visibility()',
414             webpage => {
415             'bug-tracker' => 'Kephra::Help::bug_tracker()',
416             documentation => 'Kephra::Help::online_documentation()',
417             'feature-wish' => 'Kephra::Help::feature_wish()',
418             forum => 'Kephra::Help::forum_site()',
419             },
420             window => {
421             fullscreen => 'Kephra::App::Window::switch_fullscreen_mode()',
422             restore => 'Kephra::App::Window::restore_normal_mode()',
423             'stay-on-top' => 'Kephra::App::Window::switch_on_top_mode()',
424             transparent => 'Kephra::App::Window::switch_transparency_mode()',
425             'top-transparent' => 'Kephra::App::Window::switch_top_and_transparency_mode()',
426             },
427             },
428             config => {
429             file => {
430             global => {
431             open => 'Kephra::Config::Global::open_current_file()',
432             reload => 'Kephra::Config::Global::reload_current()',
433             'load-from' => 'Kephra::Config::Global::load_from()',
434             'load-backup' => 'Kephra::Config::Global::load_backup_file()',
435             'load-defaults' => 'Kephra::Config::Global::load_defaults()',
436             merge => 'Kephra::Config::Global::merge_with()',
437             save => 'Kephra::Config::Global::save()',
438             'save-as' => 'Kephra::Config::Global::save_as()',
439             },
440             interface => {
441             commandlist => "Kephra::Config::Interface::open_file('commandlist')",
442             menubar => "Kephra::Config::Interface::open_file('menubar')",
443             contextmenu => "Kephra::Config::Interface::open_file('contextmenu')",
444             toolbar => "Kephra::Config::Interface::open_file('toolbar')",
445             maintoolbar => "Kephra::Config::Interface::open_file('maintoolbar')",
446             searchbar => "Kephra::Config::Interface::open_file('searchbar')",
447             statusbar => "Kephra::Config::Interface::open_file('statusbar')",
448             },
449             syntaxmode => {
450             ada => "Kephra::Document::SyntaxMode::open_file('ada')",
451             as => "Kephra::Document::SyntaxMode::open_file('as')",
452             asm => "Kephra::Document::SyntaxMode::open_file('asm')",
453             ave => "Kephra::Document::SyntaxMode::open_file('ave')",
454             baan => "Kephra::Document::SyntaxMode::open_file('baan')",
455             batch => "Kephra::Document::SyntaxMode::open_file('batch')",
456             c => "Kephra::Document::SyntaxMode::open_file('cpp')",
457             conf => "Kephra::Document::SyntaxMode::open_file('conf')",
458             context => "Kephra::Document::SyntaxMode::open_file('context')",
459             cs => "Kephra::Document::SyntaxMode::open_file('cs')",
460             css => "Kephra::Document::SyntaxMode::open_file('css')",
461             diff => "Kephra::Document::SyntaxMode::open_file('diff')",
462             eiffel => "Kephra::Document::SyntaxMode::open_file('eiffel')",
463             err => "Kephra::Document::SyntaxMode::open_file('err')",
464             forth => "Kephra::Document::SyntaxMode::open_file('forth')",
465             fortran => "Kephra::Document::SyntaxMode::open_file('fortran')",
466             html => "Kephra::Document::SyntaxMode::open_file('html')",
467             idl => "Kephra::Document::SyntaxMode::open_file('idl')",
468             java => "Kephra::Document::SyntaxMode::open_file('java')",
469             js => "Kephra::Document::SyntaxMode::open_file('js')",
470             latex => "Kephra::Document::SyntaxMode::open_file('latex')",
471             lisp => "Kephra::Document::SyntaxMode::open_file('lisp')",
472             lua => "Kephra::Document::SyntaxMode::open_file('lua')",
473             make => "Kephra::Document::SyntaxMode::open_file('make')",
474             matlab => "Kephra::Document::SyntaxMode::open_file('matlab')",
475             nsis => "Kephra::Document::SyntaxMode::open_file('nsis')",
476             pascal => "Kephra::Document::SyntaxMode::open_file('pascal')",
477             perl => "Kephra::Document::SyntaxMode::open_file('perl')",
478             php => "Kephra::Document::SyntaxMode::open_file('php')",
479             property => "Kephra::Document::SyntaxMode::open_file('property')",
480             ps => "Kephra::Document::SyntaxMode::open_file('ps')",
481             python => "Kephra::Document::SyntaxMode::open_file('python')",
482             ruby => "Kephra::Document::SyntaxMode::open_file('ruby')",
483             scheme => "Kephra::Document::SyntaxMode::open_file('scheme')",
484             sh => "Kephra::Document::SyntaxMode::open_file('sh')",
485             sql => "Kephra::Document::SyntaxMode::open_file('sql')",
486             tcl => "Kephra::Document::SyntaxMode::open_file('tcl')",
487             tex => "Kephra::Document::SyntaxMode::open_file('tex')",
488             vb => "Kephra::Document::SyntaxMode::open_file('vb')",
489             vbs => "Kephra::Document::SyntaxMode::open_file('vbs')",
490             xml => "Kephra::Document::SyntaxMode::open_file('xml')",
491             yaml => "Kephra::Document::SyntaxMode::open_file('yaml')",
492             },
493             templates => 'Kephra::Config::Global::open_templates_file()',
494             },
495             },
496             },
497             enable => {
498             file => {
499             'save-current' => 'Kephra::File::can_save()',
500             'save-all' => 'Kephra::File::can_save_all()',
501             },
502             edit => {
503             changes => {
504             undo => 'Kephra::Edit::History::can_undo()',
505             redo => 'Kephra::Edit::History::can_redo()',
506             'undo-several' => 'Kephra::Edit::History::can_undo()',
507             'redo-several' => 'Kephra::Edit::History::can_redo()',
508             'goto-begin' => 'Kephra::Edit::History::can_undo()',
509             'goto-end' => 'Kephra::Edit::History::can_redo()',
510             delete => 'Kephra::Edit::History::can_undo() or Kephra::Edit::History::can_redo()',
511             },
512             cut => 'Kephra::Edit::can_copy()',
513             copy => 'Kephra::Edit::can_copy()',
514             paste => 'Kephra::Edit::can_paste()',
515             replace => 'Kephra::Edit::can_copy()',
516             delete => 'Kephra::Edit::can_copy()',
517             'line-replace' => 'Kephra::Edit::can_paste()',
518             selection => {
519             move => {
520             'char-left' => 'Kephra::Edit::can_copy()',
521             'char-right' => 'Kephra::Edit::can_copy()',
522             'line-up' => 'Kephra::Edit::can_copy()',
523             'line-down' => 'Kephra::Edit::can_copy()',
524             'page-up' => 'Kephra::Edit::can_copy()',
525             'page-down' => 'Kephra::Edit::can_copy()',
526             },
527             },
528             },
529             find => {
530             prev => 'Kephra::Edit::Search::item_findable()',
531             next => 'Kephra::Edit::Search::item_findable()',
532             first => 'Kephra::Edit::Search::item_findable()',
533             last => 'Kephra::Edit::Search::item_findable()',
534             selection => 'Kephra::Edit::can_copy()',
535             },
536             replace => {
537             prev => 'Kephra::Edit::Search::_exist_find_item()',
538             next => 'Kephra::Edit::Search::_exist_find_item()',
539             all => 'Kephra::Edit::Search::_exist_find_item()',
540             'with-confirm' => 'Kephra::Edit::Search::_exist_find_item()',
541             selection => 'Kephra::Edit::can_copy()',
542             },
543             'tool-interpreter' => {
544             'run-document' => '! Kephra::App::Panel::Output::is_running()',
545             'stop-document' => 'Kephra::App::Panel::Output::is_running()',
546             },
547             },
548             enable_event => {
549             'file-save-current' => 'document.savepoint',
550             'file-save-all' => 'document.savepoint',
551             edit => {
552             changes => {
553             undo => 'document.savepoint',
554             redo => 'document.savepoint,document.text.change',
555             },
556             cut => 'document.text.select',
557             copy => 'document.text.select',
558             paste => 'document.text.select',
559             replace => 'document.text.select',
560             delete => 'document.text.select',
561             },
562             find => {
563             prev => 'find.item.changed',
564             next => 'find.item.changed',
565             first => 'find.item.changed',
566             last => 'find.item.changed',
567             selection => 'document.text.select',
568             },
569             replace => {
570             prev => 'find.item.changed',
571             next => 'find.item.changed',
572             all => 'find.item.changed',
573             'with-confirm' => 'find.item.changed',
574             selection => 'document.text.select',
575             },
576             'tool-interpreter' => {
577             'run-document' => 'panel.output.run',
578             'stop-document' => 'panel.output.run',
579             },
580             },
581             state => {
582             search => {
583             attribute => {
584             'autowrap-switch' => "Kephra::Edit::Search::get_attribute('auto_wrap');",
585             'incremental-switch' => "Kephra::Edit::Search::get_attribute('incremental');",
586             'regex-switch' => "Kephra::Edit::Search::get_attribute('match_regex');",
587             match => {
588             'case-switch' => "Kephra::Edit::Search::get_attribute('match_case');",
589             'whole-word-switch' => "Kephra::Edit::Search::get_attribute('match_whole_word');",
590             'word-begin-switch' => "Kephra::Edit::Search::get_attribute('match_word_begin');",
591             },
592             },
593             range => {
594             selection => "Kephra::Edit::Search::get_range() eq 'selection';",
595             document => "Kephra::Edit::Search::get_range() eq 'document';",
596             'open-docs' => "Kephra::Edit::Search::get_range() eq 'open_docs';",
597             },
598             },
599             bookmark => {
600             goto => {
601             1 => 'Kephra::Edit::Marker::bookmark_is_set(1)',
602             2 => 'Kephra::Edit::Marker::bookmark_is_set(2)',
603             3 => 'Kephra::Edit::Marker::bookmark_is_set(3)',
604             4 => 'Kephra::Edit::Marker::bookmark_is_set(4)',
605             5 => 'Kephra::Edit::Marker::bookmark_is_set(5)',
606             6 => 'Kephra::Edit::Marker::bookmark_is_set(6)',
607             7 => 'Kephra::Edit::Marker::bookmark_is_set(7)',
608             8 => 'Kephra::Edit::Marker::bookmark_is_set(8)',
609             9 => 'Kephra::Edit::Marker::bookmark_is_set(9)',
610             0 => 'Kephra::Edit::Marker::bookmark_is_set(0)',
611             },
612             },
613             tool => {
614             'auto-indention' => 'Kephra::App::EditPanel::get_autoindention()',
615             'brace-indention' => 'Kephra::App::EditPanel::get_braceindention()',
616             'brace-completion' => 'Kephra::App::EditPanel::get_bracecompletion()',
617             },
618             document => {
619             EOL => {
620             'cr+lf' => "Kephra::Document::Property::get_EOL_mode() eq 'cr+lf'",
621             cr => "Kephra::Document::Property::get_EOL_mode() eq 'cr'",
622             lf => "Kephra::Document::Property::get_EOL_mode() eq 'lf'",
623             },
624             encoding => {
625             'ascii' => "Kephra::Document::Property::get_codepage() eq 'ascii'",
626             'utf8' => "Kephra::Document::Property::get_codepage() eq 'utf8'",
627             },
628             readonly => {
629             'as-attr' => "Kephra::Document::Property::get_readonly() eq 'protect';",
630             on => "Kephra::Document::Property::get_readonly() eq 'on';",
631             off => "Kephra::Document::Property::get_readonly() eq 'off';",
632             },
633             syntaxmode => {
634             none => "Kephra::Document::SyntaxMode::_ID() eq 'none';",
635             ada => "Kephra::Document::SyntaxMode::_ID() eq 'ada';",
636             as => "Kephra::Document::SyntaxMode::_ID() eq 'as';",
637             asm => "Kephra::Document::SyntaxMode::_ID() eq 'asm';",
638             ave => "Kephra::Document::SyntaxMode::_ID() eq 'ave';",
639             baan => "Kephra::Document::SyntaxMode::_ID() eq 'baan';",
640             batch => "Kephra::Document::SyntaxMode::_ID() eq 'batch';",
641             c => "Kephra::Document::SyntaxMode::_ID() eq 'cpp';",
642             conf => "Kephra::Document::SyntaxMode::_ID() eq 'conf';",
643             context => "Kephra::Document::SyntaxMode::_ID() eq 'context';",
644             cs => "Kephra::Document::SyntaxMode::_ID() eq 'cs';",
645             css => "Kephra::Document::SyntaxMode::_ID() eq 'css';",
646             diff => "Kephra::Document::SyntaxMode::_ID() eq 'diff';",
647             eiffel => "Kephra::Document::SyntaxMode::_ID() eq 'eiffel';",
648             err => "Kephra::Document::SyntaxMode::_ID() eq 'err';",
649             forth => "Kephra::Document::SyntaxMode::_ID() eq 'forth';",
650             fortran => "Kephra::Document::SyntaxMode::_ID() eq 'fortran';",
651             html => "Kephra::Document::SyntaxMode::_ID() eq 'html';",
652             idl => "Kephra::Document::SyntaxMode::_ID() eq 'idl';",
653             java => "Kephra::Document::SyntaxMode::_ID() eq 'java';",
654             js => "Kephra::Document::SyntaxMode::_ID() eq 'js';",
655             latex => "Kephra::Document::SyntaxMode::_ID() eq 'latex';",
656             lisp => "Kephra::Document::SyntaxMode::_ID() eq 'lisp';",
657             lua => "Kephra::Document::SyntaxMode::_ID() eq 'lua';",
658             make => "Kephra::Document::SyntaxMode::_ID() eq 'make';",
659             matlab => "Kephra::Document::SyntaxMode::_ID() eq 'matlab';",
660             nsis => "Kephra::Document::SyntaxMode::_ID() eq 'nsis';",
661             pascal => "Kephra::Document::SyntaxMode::_ID() eq 'pascal';",
662             perl => "Kephra::Document::SyntaxMode::_ID() eq 'perl';",
663             php => "Kephra::Document::SyntaxMode::_ID() eq 'php';",
664             property => "Kephra::Document::SyntaxMode::_ID() eq 'property';",
665             ps => "Kephra::Document::SyntaxMode::_ID() eq 'ps';",
666             python => "Kephra::Document::SyntaxMode::_ID() eq 'python';",
667             ruby => "Kephra::Document::SyntaxMode::_ID() eq 'ruby';",
668             scheme => "Kephra::Document::SyntaxMode::_ID() eq 'scheme';",
669             sh => "Kephra::Document::SyntaxMode::_ID() eq 'sh';",
670             sql => "Kephra::Document::SyntaxMode::_ID() eq 'sql';",
671             tcl => "Kephra::Document::SyntaxMode::_ID() eq 'tcl';",
672             tex => "Kephra::Document::SyntaxMode::_ID() eq 'tex';",
673             vb => "Kephra::Document::SyntaxMode::_ID() eq 'vb';",
674             vbs => "Kephra::Document::SyntaxMode::_ID() eq 'vbs';",
675             xml => "Kephra::Document::SyntaxMode::_ID() eq 'xml';",
676             yaml => "Kephra::Document::SyntaxMode::_ID() eq 'yaml';",
677             },
678             tabs => {
679             soft => 'Kephra::Document::Property::get_tab_mode() == 0',
680             hard => 'Kephra::Document::Property::get_tab_mode() == 1',
681             use => 'Kephra::Document::Property::get_tab_mode()',
682             width => {
683             1 => 'Kephra::Document::Property::get_tab_size() == 1',
684             2 => 'Kephra::Document::Property::get_tab_size() == 2',
685             3 => 'Kephra::Document::Property::get_tab_size() == 3',
686             4 => 'Kephra::Document::Property::get_tab_size() == 4',
687             5 => 'Kephra::Document::Property::get_tab_size() == 5',
688             6 => 'Kephra::Document::Property::get_tab_size() == 6',
689             8 => 'Kephra::Document::Property::get_tab_size() == 8',
690             },
691             },
692             },
693             view => {
694             editpanel => {
695             indicator => {
696             EOL => 'Kephra::App::EditPanel::Indicator::EOL_visible()',
697             'brace-light' => 'Kephra::App::EditPanel::Indicator::bracelight_visible()',
698             'caret-line' => 'Kephra::App::EditPanel::Indicator::caret_line_visible()',
699             'indention-guide' => 'Kephra::App::EditPanel::Indicator::indention_guide_visible()',
700             'right-margin' => 'Kephra::App::EditPanel::Indicator::LLI_visible()',
701             whitespace => 'Kephra::App::EditPanel::Indicator::whitespace_visible()',
702             },
703             'line-wrap' => 'Kephra::App::EditPanel::get_autowrap_mode()',
704             contextmenu => {
705             custom => "Kephra::App::EditPanel::get_contextmenu() eq 'custom';",
706             no => "Kephra::App::EditPanel::get_contextmenu() eq 'none';",
707             default => "Kephra::App::EditPanel::get_contextmenu() eq 'default';",
708             },
709             margin => {
710             contexmenu => 'Kephra::App::EditPanel::Margin::get_contextmenu_visibility()',
711             'line-number' => 'Kephra::App::EditPanel::Margin::line_number_visible()',
712             marker => 'Kephra::App::EditPanel::Margin::marker_visible()',
713             'text-fold' => 'Kephra::App::EditPanel::Margin::fold_visible()',
714             text => {
715             0 => 'Kephra::App::EditPanel::Margin::get_text_width() == 0',
716             1 => 'Kephra::App::EditPanel::Margin::get_text_width() == 1',
717             2 => 'Kephra::App::EditPanel::Margin::get_text_width() == 2',
718             3 => 'Kephra::App::EditPanel::Margin::get_text_width() == 3',
719             4 => 'Kephra::App::EditPanel::Margin::get_text_width() == 4',
720             6 => 'Kephra::App::EditPanel::Margin::get_text_width() == 6',
721             8 => 'Kephra::App::EditPanel::Margin::get_text_width() == 8',
722             10 => 'Kephra::App::EditPanel::Margin::get_text_width() == 10',
723             12 => 'Kephra::App::EditPanel::Margin::get_text_width() == 12',
724             },
725             },
726             maximize => 'Kephra::App::Window::get_max_editpanel_mode()',
727             },
728             panel => {
729             notepad => 'Kephra::App::Panel::Notepad::get_visibility()',
730             output => 'Kephra::App::Panel::Output::get_visibility()',
731             },
732             menubar => 'Kephra::App::MenuBar::get_visibility()',
733             statusbar => 'Kephra::App::StatusBar::get_visibility()',
734             'statusbar-contexmenu' => 'Kephra::App::StatusBar::get_contextmenu_visibility()',
735             'statusbar-info' => {
736             date => 'Kephra::App::StatusBar::info_msg_nr() == 2',
737             length => 'Kephra::App::StatusBar::info_msg_nr() == 1',
738             none => 'Kephra::App::StatusBar::info_msg_nr() == 0',
739             },
740             'searchbar' => 'Kephra::App::SearchBar::get_visibility()',
741             'searchbar-contexmenu' => 'Kephra::App::SearchBar::get_contextmenu_visibility()',
742             tabbar => 'Kephra::App::TabBar::get_visibility()',
743             'tabbar-contexmenu' => 'Kephra::App::TabBar::get_contextmenu_visibility()',
744             'toolbar' => 'Kephra::App::MainToolBar::get_visibility()',
745             window => {
746             fullscreen => 'Kephra::App::Window::get_fullscreen_mode()',
747             'stay-on-top' => 'Kephra::App::Window::get_on_top_mode()',
748             transparent => 'Kephra::App::Window::get_transparency_mode()',
749             },
750             },
751             },
752             state_event => {
753             view => {
754             'editpanel-line-wrap' => 'editpanel.autowrap',
755             'window-stay-on-top' => 'app.window.ontop',
756             },
757             },
758             icon => {
759             'app-exit' => 'app-exit.xpm',
760             file => {
761             new => 'file-new.xpm',
762             open => 'file-open.xpm',
763             'save-current' => 'file-save.xpm',
764             'save-all' => 'file-save-all.xpm',
765             print => 'file-print.xpm',
766             'close-current' => 'file-close.xpm',
767             },
768             edit => {
769             changes => {
770             undo => 'edit-undo.xpm',
771             redo => 'edit-redo.xpm',
772             },
773             cut => 'edit-cut.xpm',
774             copy => 'edit-copy.xpm',
775             paste => 'edit-paste.xpm',
776             replace => 'edit-replace.xpm',
777             delete => 'edit-delete.xpm',
778             },
779             find => {
780             prev => 'find-previous.xpm',
781             next => 'find-next.xpm',
782             },
783             goto => {
784             'last-edit' => 'goto-last-edit.xpm',
785             line => 'goto-line.xpm',
786             },
787             marker => {
788             'goto-prev-all' => 'marker-previous.xpm',
789             'goto-next-all' => 'marker-next.xpm',
790             'toggle-here' => 'marker.xpm',
791             },
792             'bookmark-goto' => {
793             1 => 'bookmark1.xpm',
794             2 => 'bookmark2.xpm',
795             3 => 'bookmark3.xpm',
796             4 => 'bookmark4.xpm',
797             5 => 'bookmark5.xpm',
798             6 => 'bookmark6.xpm',
799             7 => 'bookmark7.xpm',
800             8 => 'bookmark8.xpm',
801             9 => 'bookmark9.xpm',
802             0 => 'bookmark0.xpm',
803             },
804             'bookmark-toggle' => {
805             1 => 'bookmark1.xpm',
806             2 => 'bookmark2.xpm',
807             3 => 'bookmark3.xpm',
808             4 => 'bookmark4.xpm',
809             5 => 'bookmark5.xpm',
810             6 => 'bookmark6.xpm',
811             7 => 'bookmark7.xpm',
812             8 => 'bookmark8.xpm',
813             9 => 'bookmark9.xpm',
814             0 => 'bookmark0.xpm',
815             },
816             tool => {
817             'interpreter-run-document' => 'run-skript.xpm',
818             'choose-color' => 'colorpicker.xpm',
819             },
820             view => {
821             dialog => {
822             config => 'config-preferences.xpm',
823             find => 'find-start.xpm',
824             info => 'help-info.xpm',
825             keymap => 'help-keyboard.xpm',
826             replace => 'find-start.xpm',
827             },
828             'editpanel-line-wrap' => 'line-wrap.xpm',
829             'panel-notepad' => 'note.xpm',
830             'panel-output' => 'output-panel.xpm',
831             'searchbar' => 'panel-close.xpm',
832             'window-stay-on-top' => 'stay-on-top.xpm',
833             },
834             },
835             key => {
836             'app-exit' => 'alt+q',
837             file => {
838             new => 'ctrl+n',
839             open => 'ctrl+o',
840             reload => 'ctrl+shift+o',
841             'reload-all' => 'ctrl+alt+o',
842             insert => 'ctrl+shift+i',
843             'save-current' => 'ctrl+s',
844             'save-all' => 'ctrl+alt+s',
845             'save-as' => 'ctrl+shift+s',
846             'save-copy-as' => 'alt+shift+s',
847             rename => 'ctrl+alt+shift+s',
848             print => 'ctrl+p',
849             close => {
850             current => 'ctrl+q',
851             other => 'ctrl+shift+q',
852             },
853             },
854             edit => {
855             changes => {
856             undo => 'ctrl+z',
857             redo => 'ctrl+shift+z',
858             'undo-several' => 'alt+z',
859             'redo-several' => 'alt+shift+z',
860             'goto-begin' => 'ctrl+alt+z',
861             'goto-end' => 'ctrl+alt+shift+z',
862             },
863             cut => 'ctrl+x',
864             copy => 'ctrl+c',
865             paste => 'ctrl+v',
866             replace => 'ctrl+w',
867             delete => 'del',
868             'delete-tab' => 'shift+back',
869             line => {
870             cut => 'ctrl+shift+x',
871             copy => 'ctrl+shift+c',
872             duplicate => 'ctrl+shift+d',
873             replace => 'ctrl+shift+w',
874             delete => 'ctrl+shift+del',
875             'delete-left' => 'ctrl+shift+l',
876             'delete-right' => 'ctrl+shift+r',
877             move => {
878             'line-up' => 'ctrl+alt+up',
879             'line-down' => 'ctrl+alt+down',
880             'page-up' => 'ctrl+alt+pgup',
881             'page-down' => 'ctrl+alt+pgdn',
882             },
883             },
884             selection => {
885             comment => {
886             'add-perl' => 'ctrl+k',
887             'del-perl' => 'ctrl+shift+k',
888             'toggle-perl' => 'ctrl+alt+k',
889             'add-xml' => 'ctrl+i',
890             'del-xml' => 'ctrl+shift+i',
891             },
892             format => {
893             'block-on-right-margin' => 'ctrl+shift+b',
894             'dedent-char' => 'ctrl+shift+space',
895             'dedent-tab' => 'ctrl+shift+tab',
896             'indent-char' => 'ctrl+space',
897             'indent-tab' => 'ctrl+tab',
898             'join-lines' => 'ctrl+shift+j',
899             },
900             move => {
901             'char-left' => 'ctrl+alt+left',
902             'char-right' => 'ctrl+alt+right',
903             'line-up' => 'ctrl+alt+up',
904             'line-down' => 'ctrl+alt+down',
905             'page-up' => 'ctrl+alt+pgup',
906             'page-down' => 'ctrl+alt+pgdn',
907             },
908             },
909             },
910             select => {
911             document => 'ctrl+a',
912             'toggle-simple' => 'ctrl+y',
913             'toggle-content' => 'ctrl+shift+y',
914             'to-block-begin' => 'alt+shift+pgup',
915             'to-block-end' => 'alt+shift+pgdn',
916             },
917             find => {
918             prev => 'shift+f3',
919             next => 'f3',
920             first => 'ctrl+alt+f3',
921             last => 'ctrl+alt+shift+f3',
922             selection => 'ctrl+f3',
923             },
924             replace => {
925             prev => 'alt+shift+f3',
926             next => 'alt+f3',
927             all => 'ctrl+alt+r',
928             'with-confirm' => 'ctrl+alt+shift+r',
929             selection => 'ctrl+shift+f3',
930             },
931             goto => {
932             block => {
933             down => 'alt+pgdn',
934             up => 'alt+pgup',
935             },
936             brace => {
937             down => 'alt+down',
938             left => 'alt+left',
939             right => 'alt+right',
940             up => 'alt+up',
941             },
942             'last-edit' => 'ctrl+shift+g',
943             line => 'ctrl+g',
944             },
945             marker => {
946             'goto-prev-doc' => 'shift+f2',
947             'goto-next-doc' => 'f2',
948             'goto-prev-all' => 'alt+shift+f2',
949             'goto-next-all' => 'alt+f2',
950             'toggle-here' => 'ctrl+f2',
951             'delete-doc' => 'ctrl+shift+f2',
952             'delete-all' => 'ctrl+alt+shift+f2',
953             },
954             bookmark => {
955             goto => {
956             1 => 'ctrl+1',
957             2 => 'ctrl+2',
958             3 => 'ctrl+3',
959             4 => 'ctrl+4',
960             5 => 'ctrl+5',
961             6 => 'ctrl+6',
962             7 => 'ctrl+7',
963             8 => 'ctrl+8',
964             9 => 'ctrl+9',
965             0 => 'ctrl+0',
966             },
967             toggle => {
968             1 => 'ctrl+shift+1',
969             2 => 'ctrl+shift+2',
970             3 => 'ctrl+shift+3',
971             4 => 'ctrl+shift+4',
972             5 => 'ctrl+shift+5',
973             6 => 'ctrl+shift+6',
974             7 => 'ctrl+shift+7',
975             8 => 'ctrl+shift+8',
976             9 => 'ctrl+shift+9',
977             0 => 'ctrl+shift+0',
978             },
979             },
980             tool => {
981             note => 'f12',
982             'note-selection' => 'shift+f12',
983             'interpreter-run-document' => 'f5',
984             'interpreter-stop-document' => 'shift+f5',
985             'output-selection-dec' => 'ctrl+shift+f5',
986             'output-selection-hex' => 'alt+shift+f5',
987             'perl-insert-last-var' => 'ctrl+shift+v',
988             'perl-copy-string' => 'alt+shift+c',
989             },
990             document => {
991             change => {
992             back => 'ctrl+shift+back',
993             prev => 'ctrl+pgup',
994             next => 'ctrl+pgdn',
995             },
996             move => {
997             left => 'ctrl+shift+pgup',
998             right => 'ctrl+shift+pgdn',
999             },
1000             },
1001             view => {
1002             'searchbar-goto' => 'ctrl+f',
1003             dialog => {
1004             config => 'alt+shift+c',
1005             find => 'ctrl+shift+f',
1006             replace => 'ctrl+r',
1007             info => 'alt+shift+i',
1008             keymap => 'alt+shift+k',
1009             },
1010             editpanel => {
1011             'fold-toggle' => {
1012             all => 'alt+shift+plus',
1013             here => 'ctrl+plus',
1014             level => 'alt+plus',
1015             recursively => 'ctrl+shift+plus',
1016             },
1017             maximize => 'shift+f11',
1018             zoom => {
1019             in => 'ctrl+shift+plus',
1020             normal => 'ctrl+shift+pound',
1021             out => 'ctrl+shift+minus',
1022             },
1023             },
1024             'panel-notepad' => 'ctrl+f12',
1025             'panel-output' => 'ctrl+f5',
1026             tabbar => 'ctrl+alt+t',
1027             window => {
1028             fullscreen => 'f11',
1029             restore => 'esc',
1030             'stay-on-top' => 'ctrl+f11',
1031             'top-transparent' => 'ctrl+alt+f11',
1032             transparent => 'alt+f11',
1033             },
1034             },
1035             },
1036             },
1037             }
1038            
1039             1;