From 6e55710432acfa51c5ec68ab4eb61d5d564158f5 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 16 Jun 2018 13:57:32 -0700 Subject: [PATCH] Miscellanious improvements --- 4coder_base_commands.cpp | 43 +- 4coder_default_framework_variables.cpp | 2 + 4coder_experiments.cpp | 24 +- 4coder_generated/command_metadata.h | 638 +++++++++++++------------ 4coder_project_commands.cpp | 157 +++--- 4coder_project_commands.h | 7 + 4coder_search.cpp | 2 +- 4ed_gui.cpp | 26 +- meta/4ed_build.cpp | 14 +- 9 files changed, 521 insertions(+), 392 deletions(-) diff --git a/4coder_base_commands.cpp b/4coder_base_commands.cpp index bdb0087d..008d571a 100644 --- a/4coder_base_commands.cpp +++ b/4coder_base_commands.cpp @@ -605,7 +605,7 @@ CUSTOM_COMMAND_SIG(search); CUSTOM_COMMAND_SIG(reverse_search); static void -isearch(Application_Links *app, int32_t start_reversed, String query_init){ +isearch(Application_Links *app, bool32 start_reversed, String query_init, bool32 on_the_query_init_string){ View_Summary view = get_active_view(app, AccessProtected); Buffer_Summary buffer = get_buffer(app, view.buffer_id, AccessProtected); if (!buffer.exists) return; @@ -626,7 +626,7 @@ isearch(Application_Links *app, int32_t start_reversed, String query_init){ char bar_string_space[256]; bar.string = make_fixed_width_string(bar_string_space); - copy_ss(&bar.string, query_init); + copy(&bar.string, query_init); String isearch_str = make_lit_string("I-Search: "); String rsearch_str = make_lit_string("Reverse-I-Search: "); @@ -650,7 +650,6 @@ isearch(Application_Links *app, int32_t start_reversed, String query_init){ bool32 backspace = false; if (!first_step){ - //in = get_user_input(app, EventOnAnyKey, EventOnEsc | EventOnButton); in = get_user_input(app, EventOnAnyKey, EventOnEsc); if (in.abort) break; @@ -662,15 +661,32 @@ isearch(Application_Links *app, int32_t start_reversed, String query_init){ bool32 made_change = false; if (in.key.keycode == '\n' || in.key.keycode == '\t'){ - break; + if (in.key.modifiers[MDFR_CONTROL_INDEX]){ + copy(&bar.string, previous_isearch_query); + } + else{ + String previous_isearch_query_str = make_fixed_width_string(previous_isearch_query); + append(&previous_isearch_query_str, bar.string); + terminate_with_null(&previous_isearch_query_str); + break; + } } else if (length != 0 && key_is_unmodified(&in.key)){ - append_ss(&bar.string, make_string(character, length)); + append(&bar.string, make_string(character, length)); made_change = true; } else if (in.key.keycode == key_back){ - made_change = backspace_utf8(&bar.string); - backspace = true; + if (key_is_unmodified(&in.key)){ + made_change = backspace_utf8(&bar.string); + backspace = true; + } + else if (in.key.modifiers[MDFR_CONTROL_INDEX]){ + if (bar.string.size > 0){ + made_change = true; + bar.string.size = 0; + backspace = true; + } + } } if ((in.command.command == search) || in.key.keycode == key_page_down || in.key.keycode == key_down){ @@ -682,7 +698,7 @@ isearch(Application_Links *app, int32_t start_reversed, String query_init){ } } else{ - if (bar.string.size != 0){ + if (query_init.size != 0 && on_the_query_init_string){ step_backward = true; } first_step = false; @@ -745,6 +761,9 @@ isearch(Application_Links *app, int32_t start_reversed, String query_init){ view_set_highlight(app, &view, 0, 0, false); if (in.abort){ + String previous_isearch_query_str = make_fixed_width_string(previous_isearch_query); + append(&previous_isearch_query_str, bar.string); + terminate_with_null(&previous_isearch_query_str); view_set_cursor(app, &view, seek_pos(first_pos), true); return; } @@ -756,14 +775,14 @@ CUSTOM_COMMAND_SIG(search) CUSTOM_DOC("Begins an incremental search down through the current buffer for a user specified string.") { String query = {0}; - isearch(app, false, query); + isearch(app, false, query, false); } CUSTOM_COMMAND_SIG(reverse_search) CUSTOM_DOC("Begins an incremental search up through the current buffer for a user specified string.") { String query = {0}; - isearch(app, true, query); + isearch(app, true, query, false); } CUSTOM_COMMAND_SIG(search_identifier) @@ -774,7 +793,7 @@ CUSTOM_DOC("Begins an incremental search down through the current buffer for the char space[256]; String query = read_identifier_at_pos(app, &buffer, view.cursor.pos, space, sizeof(space), 0); - isearch(app, false, query); + isearch(app, false, query, true); } CUSTOM_COMMAND_SIG(reverse_search_identifier) @@ -785,7 +804,7 @@ CUSTOM_DOC("Begins an incremental search up through the current buffer for the w char space[256]; String query = read_identifier_at_pos(app, &buffer, view.cursor.pos, space, sizeof(space), 0); - isearch(app, true, query); + isearch(app, true, query, true); } CUSTOM_COMMAND_SIG(replace_in_range) diff --git a/4coder_default_framework_variables.cpp b/4coder_default_framework_variables.cpp index 44d544d4..c4b2a04f 100644 --- a/4coder_default_framework_variables.cpp +++ b/4coder_default_framework_variables.cpp @@ -45,4 +45,6 @@ static ID_Based_Jump_Location prev_location = {0}; static Config_Data global_config = {0}; +static char previous_isearch_query[256] = {0}; + // BOTTOM \ No newline at end of file diff --git a/4coder_experiments.cpp b/4coder_experiments.cpp index 80b20d4b..e24800d0 100644 --- a/4coder_experiments.cpp +++ b/4coder_experiments.cpp @@ -4,9 +4,6 @@ // TOP -#if !defined(FCODER_EXPERIMENTS_CPP) -#define FCODER_EXPERIMENTS_CPP - #include "4coder_default_include.cpp" #include "4coder_miblo_numbers.cpp" @@ -740,7 +737,7 @@ replace_all_occurrences_parameters(Application_Links *app, General_Memory *gener match.found_match; match = search_next_match(app, &set, &iter)){ - Replace_Target *new_target= push_array(part, Replace_Target, 1); + Replace_Target *new_target = push_array(part, Replace_Target, 1); if (new_target != 0){ new_target->buffer_id = match.buffer.buffer_id; new_target->start_pos = match.start; @@ -758,10 +755,19 @@ replace_all_occurrences_parameters(Application_Links *app, General_Memory *gener } // Use replacement list to do replacements - for (int32_t i = 0; i < target_count; ++i){ - Replace_Target *target = &targets[i]; - Buffer_Summary buffer= get_buffer(app, target->buffer_id, AccessOpen); - buffer_replace_range(app, &buffer, target->start_pos, target->start_pos + target_string.size, new_string.str, new_string.size); + int32_t shift_per_replacement = new_string.size - target_string.size; + int32_t current_offset = 0; + int32_t current_buffer_id = 0; + Replace_Target *target = targets; + for (int32_t i = 0; i < target_count; ++i, ++target){ + if (target->buffer_id != current_buffer_id){ + current_buffer_id = target->buffer_id; + current_offset = 0; + } + Buffer_Summary buffer = get_buffer(app, target->buffer_id, AccessOpen); + int32_t pos = target->start_pos + current_offset; + buffer_replace_range(app, &buffer, pos, pos + target_string.size, new_string.str, new_string.size); + current_offset += shift_per_replacement; } end_temp_memory(temp); @@ -842,7 +848,5 @@ get_bindings(void *data, int32_t size){ return(result); } -#endif - // BOTTOM diff --git a/4coder_generated/command_metadata.h b/4coder_generated/command_metadata.h index b6ce9770..9302f5b9 100644 --- a/4coder_generated/command_metadata.h +++ b/4coder_generated/command_metadata.h @@ -2,7 +2,7 @@ #define command_id(c) (fcoder_metacmd_ID_##c) #define command_metadata(c) (&fcoder_metacmd_table[command_id(c)]) #define command_metadata_by_id(id) (&fcoder_metacmd_table[id]) -#define command_one_past_last_id 184 +#define command_one_past_last_id 196 #if defined(CUSTOM_COMMAND_SIG) #define PROC_LINKS(x,y) x #else @@ -78,6 +78,7 @@ CUSTOM_COMMAND_SIG(interactive_open); CUSTOM_COMMAND_SIG(interactive_open_or_new); CUSTOM_COMMAND_SIG(interactive_switch_buffer); CUSTOM_COMMAND_SIG(kill_buffer); +CUSTOM_COMMAND_SIG(kill_rect); CUSTOM_COMMAND_SIG(left_adjust_view); CUSTOM_COMMAND_SIG(list_all_functions_current_buffer); CUSTOM_COMMAND_SIG(list_all_locations); @@ -92,6 +93,12 @@ CUSTOM_COMMAND_SIG(list_all_substring_locations); CUSTOM_COMMAND_SIG(list_all_substring_locations_case_insensitive); CUSTOM_COMMAND_SIG(load_project); CUSTOM_COMMAND_SIG(make_directory_query); +CUSTOM_COMMAND_SIG(miblo_decrement_basic); +CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp); +CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp_minute); +CUSTOM_COMMAND_SIG(miblo_increment_basic); +CUSTOM_COMMAND_SIG(miblo_increment_time_stamp); +CUSTOM_COMMAND_SIG(miblo_increment_time_stamp_minute); CUSTOM_COMMAND_SIG(move_down); CUSTOM_COMMAND_SIG(move_down_10); CUSTOM_COMMAND_SIG(move_down_textual); @@ -101,6 +108,7 @@ CUSTOM_COMMAND_SIG(move_line_up); CUSTOM_COMMAND_SIG(move_right); CUSTOM_COMMAND_SIG(move_up); CUSTOM_COMMAND_SIG(move_up_10); +CUSTOM_COMMAND_SIG(multi_line_edit); CUSTOM_COMMAND_SIG(newline_or_goto_position_direct); CUSTOM_COMMAND_SIG(newline_or_goto_position_same_panel_direct); CUSTOM_COMMAND_SIG(newline_or_goto_position_same_panel_sticky); @@ -131,7 +139,9 @@ CUSTOM_COMMAND_SIG(query_replace_selection); CUSTOM_COMMAND_SIG(redo); CUSTOM_COMMAND_SIG(remap_interactive); CUSTOM_COMMAND_SIG(rename_file_query); +CUSTOM_COMMAND_SIG(rename_parameter); CUSTOM_COMMAND_SIG(reopen); +CUSTOM_COMMAND_SIG(replace_all_occurrences); CUSTOM_COMMAND_SIG(replace_in_range); CUSTOM_COMMAND_SIG(reverse_search); CUSTOM_COMMAND_SIG(reverse_search_identifier); @@ -188,6 +198,8 @@ CUSTOM_COMMAND_SIG(word_complete); CUSTOM_COMMAND_SIG(write_and_auto_tab); CUSTOM_COMMAND_SIG(write_block); CUSTOM_COMMAND_SIG(write_character); +CUSTOM_COMMAND_SIG(write_explicit_enum_flags); +CUSTOM_COMMAND_SIG(write_explicit_enum_values); CUSTOM_COMMAND_SIG(write_hack); CUSTOM_COMMAND_SIG(write_note); CUSTOM_COMMAND_SIG(write_todo); @@ -204,191 +216,203 @@ char *source_name; int32_t source_name_len; int32_t line_number; }; -static Command_Metadata fcoder_metacmd_table[184] = { -{ PROC_LINKS(allow_mouse, 0), "allow_mouse", 11, "Shows the mouse and causes all mouse input to be processed normally.", 68, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32629 }, -{ PROC_LINKS(auto_tab_line_at_cursor, 0), "auto_tab_line_at_cursor", 23, "Auto-indents the line on which the cursor sits.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36256 }, -{ PROC_LINKS(auto_tab_range, 0), "auto_tab_range", 14, "Auto-indents the range between the cursor and the mark.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36267 }, -{ PROC_LINKS(auto_tab_whole_file, 0), "auto_tab_whole_file", 19, "Audo-indents the entire current buffer.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36246 }, -{ PROC_LINKS(backspace_char, 0), "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34109 }, -{ PROC_LINKS(backspace_word, 0), "backspace_word", 14, "Delete characters between the cursor position and the first alphanumeric boundary to the left.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34014 }, -{ PROC_LINKS(basic_change_active_panel, 0), "basic_change_active_panel", 25, "Change the currently active panel, moving to the panel with the next highest view_id. Will not skipe the build panel if it is open.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34475 }, -{ PROC_LINKS(build_in_build_panel, 0), "build_in_build_panel", 20, "Looks for a build.bat, build.sh, or makefile in the current and parent directories. Runs the first that it finds and prints the output to *compilation*. Puts the *compilation* buffer in a panel at the footer of the current view.", 230, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38811 }, -{ PROC_LINKS(build_search, 0), "build_search", 12, "Looks for a build.bat, build.sh, or makefile in the current and parent directories. Runs the first that it finds and prints the output to *compilation*.", 153, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38777 }, -{ PROC_LINKS(center_view, 0), "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34162 }, -{ PROC_LINKS(change_active_panel, 0), "change_active_panel", 19, "Change the currently active panel, moving to the panel with the next highest view_id.", 85, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32571 }, -{ PROC_LINKS(change_active_panel_backwards, 0), "change_active_panel_backwards", 29, "Change the currently active panel, moving to the panel with the next lowest view_id.", 84, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32581 }, -{ PROC_LINKS(change_to_build_panel, 0), "change_to_build_panel", 21, "If the special build panel is open, makes the build panel the active panel.", 75, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38833 }, -{ PROC_LINKS(clean_all_lines, 0), "clean_all_lines", 15, "Removes trailing whitespace from all lines in the current buffer.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34410 }, -{ PROC_LINKS(click_set_cursor, 0), "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34216 }, -{ PROC_LINKS(click_set_mark, 0), "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34229 }, -{ PROC_LINKS(close_all_code, 0), "close_all_code", 14, "Closes any buffer with a filename ending with an extension configured to be recognized as a code file type.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39857 }, -{ PROC_LINKS(close_build_panel, 0), "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38827 }, -{ PROC_LINKS(close_panel, 0), "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34483 }, -{ PROC_LINKS(copy, 0), "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38459 }, -{ PROC_LINKS(cursor_mark_swap, 0), "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34137 }, -{ PROC_LINKS(cut, 0), "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38468 }, -{ PROC_LINKS(decrease_face_size, 0), "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34573 }, -{ PROC_LINKS(decrease_line_wrap, 0), "decrease_line_wrap", 18, "Decrases the current buffer's width for line wrapping.", 54, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34550 }, -{ PROC_LINKS(delete_char, 0), "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34091 }, -{ PROC_LINKS(delete_current_scope, 0), "delete_current_scope", 20, "Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41136 }, -{ PROC_LINKS(delete_file_query, 0), "delete_file_query", 17, "Deletes the file of the current buffer if 4coder has the appropriate access rights. Will ask the user for confirmation first.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35035 }, -{ PROC_LINKS(delete_line, 0), "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35285 }, -{ PROC_LINKS(delete_range, 0), "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34149 }, -{ PROC_LINKS(delete_word, 0), "delete_word", 11, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34020 }, -{ PROC_LINKS(duplicate_line, 0), "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35263 }, -{ PROC_LINKS(eol_dosify, 0), "eol_dosify", 10, "Puts the buffer in DOS line ending mode.", 40, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34603 }, -{ PROC_LINKS(eol_nixify, 0), "eol_nixify", 10, "Puts the buffer in NIX line ending mode.", 40, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34611 }, -{ PROC_LINKS(execute_any_cli, 0), "execute_any_cli", 15, "Queries for an output buffer name and system command, runs the system command as a CLI and prints the output to the specified buffer.", 133, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38601 }, -{ PROC_LINKS(execute_arbitrary_command, 0), "execute_arbitrary_command", 25, "Execute a 'long form' command.", 30, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41593 }, -{ PROC_LINKS(execute_previous_cli, 0), "execute_previous_cli", 20, "If the command execute_any_cli has already been used, this will execute a CLI reusing the most recent buffer name and command.", 126, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38585 }, -{ PROC_LINKS(exit_4coder, 0), "exit_4coder", 11, "Attempts to close 4coder.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34619 }, -{ PROC_LINKS(goto_beginning_of_file, 0), "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33935 }, -{ PROC_LINKS(goto_end_of_file, 0), "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33942 }, -{ PROC_LINKS(goto_first_jump_direct, 0), "goto_first_jump_direct", 22, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37778 }, -{ PROC_LINKS(goto_first_jump_same_panel_sticky, 0), "goto_first_jump_same_panel_sticky", 33, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer and views the buffer in the panel where the jump list was.", 153, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38361 }, -{ PROC_LINKS(goto_first_jump_sticky, 0), "goto_first_jump_sticky", 22, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38343 }, -{ PROC_LINKS(goto_jump_at_cursor_direct, 0), "goto_jump_at_cursor_direct", 26, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in another view and changes the active panel to the view containing the jump.", 187, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37702 }, -{ PROC_LINKS(goto_jump_at_cursor_same_panel_direct, 0), "goto_jump_at_cursor_same_panel_direct", 37, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in this view, losing the compilation output or jump list..", 168, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37723 }, -{ PROC_LINKS(goto_jump_at_cursor_same_panel_sticky, 0), "goto_jump_at_cursor_same_panel_sticky", 37, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in this view, losing the compilation output or jump list.", 167, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38193 }, -{ PROC_LINKS(goto_jump_at_cursor_sticky, 0), "goto_jump_at_cursor_sticky", 26, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in another view and changes the active panel to the view containing the jump.", 187, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38165 }, -{ PROC_LINKS(goto_line, 0), "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34627 }, -{ PROC_LINKS(goto_next_jump_direct, 0), "goto_next_jump_direct", 21, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37742 }, -{ PROC_LINKS(goto_next_jump_no_skips_direct, 0), "goto_next_jump_no_skips_direct", 30, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, and does not skip sub jump locations.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37760 }, -{ PROC_LINKS(goto_next_jump_no_skips_sticky, 0), "goto_next_jump_no_skips_sticky", 30, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, and does not skip sub jump locations.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38312 }, -{ PROC_LINKS(goto_next_jump_sticky, 0), "goto_next_jump_sticky", 21, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38282 }, -{ PROC_LINKS(goto_prev_jump_direct, 0), "goto_prev_jump_direct", 21, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37751 }, -{ PROC_LINKS(goto_prev_jump_no_skips_direct, 0), "goto_prev_jump_no_skips_direct", 30, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, and does not skip sub jump locations.", 136, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37769 }, -{ PROC_LINKS(goto_prev_jump_no_skips_sticky, 0), "goto_prev_jump_no_skips_sticky", 30, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, and does not skip sub jump locations.", 136, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38328 }, -{ PROC_LINKS(goto_prev_jump_sticky, 0), "goto_prev_jump_sticky", 21, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38298 }, -{ PROC_LINKS(hide_filebar, 0), "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34513 }, -{ PROC_LINKS(hide_scrollbar, 0), "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34499 }, -{ PROC_LINKS(highlight_next_scope_absolute, 0), "highlight_next_scope_absolute", 29, "Finds the first scope started by '{' after the cursor and puts the cursor and mark on the '{' and '}'.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41012 }, -{ PROC_LINKS(highlight_prev_scope_absolute, 0), "highlight_prev_scope_absolute", 29, "Finds the first scope started by '{' before the cursor and puts the cursor and mark on the '{' and '}'.", 103, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41031 }, -{ PROC_LINKS(highlight_surrounding_scope, 0), "highlight_surrounding_scope", 27, "Finds the scope enclosed by '{' '}' surrounding the cursor and puts the cursor and mark on the '{' and '}'.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40990 }, -{ PROC_LINKS(if0_off, 0), "if0_off", 7, "Surround the range between the cursor and mark with an '#if 0' and an '#endif'", 78, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41546 }, -{ PROC_LINKS(increase_face_size, 0), "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34561 }, -{ PROC_LINKS(increase_line_wrap, 0), "increase_line_wrap", 18, "Increases the current buffer's width for line wrapping.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34539 }, -{ PROC_LINKS(interactive_kill_buffer, 0), "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35491 }, -{ PROC_LINKS(interactive_new, 0), "interactive_new", 15, "Interactively creates a new file.", 33, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35467 }, -{ PROC_LINKS(interactive_open, 0), "interactive_open", 16, "Interactively opens a file.", 27, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35473 }, -{ PROC_LINKS(interactive_open_or_new, 0), "interactive_open_or_new", 23, "Interactively opens or creates a new file.", 42, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35479 }, -{ PROC_LINKS(interactive_switch_buffer, 0), "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35485 }, -{ PROC_LINKS(kill_buffer, 0), "kill_buffer", 11, "Kills the current buffer.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35509 }, -{ PROC_LINKS(left_adjust_view, 0), "left_adjust_view", 16, "Sets the left size of the view near the x position of the cursor.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34177 }, -{ PROC_LINKS(list_all_functions_current_buffer, 0), "list_all_functions_current_buffer", 33, "Creates a jump list of lines of the current buffer that appear to define or declare functions.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40637 }, -{ PROC_LINKS(list_all_locations, 0), "list_all_locations", 18, "Queries the user for a string and lists all exact case-sensitive matches found in all open buffers.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37042 }, -{ PROC_LINKS(list_all_locations_case_insensitive, 0), "list_all_locations_case_insensitive", 35, "Queries the user for a string and lists all exact case-insensitive matches found in all open buffers.", 101, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37054 }, -{ PROC_LINKS(list_all_locations_of_identifier, 0), "list_all_locations_of_identifier", 32, "Reads a token or word under the cursor and lists all exact case-sensitive mathces in all open buffers.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37066 }, -{ PROC_LINKS(list_all_locations_of_identifier_case_insensitive, 0), "list_all_locations_of_identifier_case_insensitive", 49, "Reads a token or word under the cursor and lists all exact case-insensitive mathces in all open buffers.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37072 }, -{ PROC_LINKS(list_all_locations_of_selection, 0), "list_all_locations_of_selection", 31, "Reads the string in the selected range and lists all exact case-sensitive mathces in all open buffers.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37078 }, -{ PROC_LINKS(list_all_locations_of_selection_case_insensitive, 0), "list_all_locations_of_selection_case_insensitive", 48, "Reads the string in the selected range and lists all exact case-insensitive mathces in all open buffers.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37084 }, -{ PROC_LINKS(list_all_locations_of_type_definition, 0), "list_all_locations_of_type_definition", 37, "Queries user for string, lists all locations of strings that appear to define a type whose name matches the input string.", 121, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37090 }, -{ PROC_LINKS(list_all_locations_of_type_definition_of_identifier, 0), "list_all_locations_of_type_definition_of_identifier", 51, "Reads a token or word under the cursor and lists all locations of strings that appear to define a type whose name matches it.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37101 }, -{ PROC_LINKS(list_all_substring_locations, 0), "list_all_substring_locations", 28, "Queries the user for a string and lists all case-sensitive substring matches found in all open buffers.", 103, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37048 }, -{ PROC_LINKS(list_all_substring_locations_case_insensitive, 0), "list_all_substring_locations_case_insensitive", 45, "Queries the user for a string and lists all case-insensitive substring matches found in all open buffers.", 105, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37060 }, -{ PROC_LINKS(load_project, 0), "load_project", 12, "Looks for a project.4coder file in the current directory and tries to load it. Looks in parent directories until a project file is found or there are no more parents.", 167, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39880 }, -{ PROC_LINKS(make_directory_query, 0), "make_directory_query", 20, "Queries the user for a name and creates a new directory with the given name.", 76, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35143 }, -{ PROC_LINKS(move_down, 0), "move_down", 9, "Moves the cursor down one line.", 31, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34292 }, -{ PROC_LINKS(move_down_10, 0), "move_down_10", 12, "Moves the cursor down ten lines.", 32, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34304 }, -{ PROC_LINKS(move_down_textual, 0), "move_down_textual", 17, "Moves down to the next line of actual text, regardless of line wrapping.", 72, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34310 }, -{ PROC_LINKS(move_left, 0), "move_left", 9, "Moves the cursor one character to the left.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34341 }, -{ PROC_LINKS(move_line_down, 0), "move_line_down", 14, "Swaps the line under the cursor with the line below it, and moves the cursor down with it.", 90, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35240 }, -{ PROC_LINKS(move_line_up, 0), "move_line_up", 12, "Swaps the line under the cursor with the line above it, and moves the cursor up with it.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35176 }, -{ PROC_LINKS(move_right, 0), "move_right", 10, "Moves the cursor one character to the right.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34350 }, -{ PROC_LINKS(move_up, 0), "move_up", 7, "Moves the cursor up one line.", 29, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34286 }, -{ PROC_LINKS(move_up_10, 0), "move_up_10", 10, "Moves the cursor up ten lines.", 30, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34298 }, -{ PROC_LINKS(newline_or_goto_position_direct, 0), "newline_or_goto_position_direct", 31, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37795 }, -{ PROC_LINKS(newline_or_goto_position_same_panel_direct, 0), "newline_or_goto_position_same_panel_direct", 42, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37810 }, -{ PROC_LINKS(newline_or_goto_position_same_panel_sticky, 0), "newline_or_goto_position_same_panel_sticky", 42, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38399 }, -{ PROC_LINKS(newline_or_goto_position_sticky, 0), "newline_or_goto_position_sticky", 31, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38384 }, -{ PROC_LINKS(open_all_code, 0), "open_all_code", 13, "Open all code in the current directory. File types are determined by extensions. An extension is considered code based on the extensions specified in 4coder.config.", 164, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39864 }, -{ PROC_LINKS(open_all_code_recursive, 0), "open_all_code_recursive", 23, "Works as open_all_code but also runs in all subdirectories.", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39871 }, -{ PROC_LINKS(open_color_tweaker, 0), "open_color_tweaker", 18, "Opens the 4coder colors and fonts selector menu.", 48, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35515 }, -{ PROC_LINKS(open_file_in_quotes, 0), "open_file_in_quotes", 19, "Reads a filename from surrounding '\"' characters and attempts to open the corresponding file.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35362 }, -{ PROC_LINKS(open_in_other, 0), "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35523 }, -{ PROC_LINKS(open_long_braces, 0), "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41522 }, -{ PROC_LINKS(open_long_braces_break, 0), "open_long_braces_break", 22, "At the cursor, insert a '{' and '}break;' separated by a blank line.", 68, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41538 }, -{ PROC_LINKS(open_long_braces_semicolon, 0), "open_long_braces_semicolon", 26, "At the cursor, insert a '{' and '};' separated by a blank line.", 63, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41530 }, -{ PROC_LINKS(open_matching_file_cpp, 0), "open_matching_file_cpp", 22, "If the current file is a *.cpp or *.h, attempts to open the corresponding *.h or *.cpp file in the other view.", 110, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35398 }, -{ PROC_LINKS(open_panel_hsplit, 0), "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32600 }, -{ PROC_LINKS(open_panel_vsplit, 0), "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32591 }, -{ PROC_LINKS(page_down, 0), "page_down", 9, "Scrolls the view down one view height and moves the cursor down one view height.", 80, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34330 }, -{ PROC_LINKS(page_up, 0), "page_up", 7, "Scrolls the view up one view height and moves the cursor up one view height.", 76, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34321 }, -{ PROC_LINKS(paste, 0), "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38479 }, -{ PROC_LINKS(paste_and_indent, 0), "paste_and_indent", 16, "Paste from the top of clipboard and run auto-indent on the newly pasted text.", 77, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38561 }, -{ PROC_LINKS(paste_next, 0), "paste_next", 10, "If the previous command was paste or paste_next, replaces the paste range with the next text down on the clipboard, otherwise operates as the paste command.", 156, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38517 }, -{ PROC_LINKS(paste_next_and_indent, 0), "paste_next_and_indent", 21, "Paste the next item on the clipboard and run auto-indent on the newly pasted text.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38568 }, -{ PROC_LINKS(place_in_scope, 0), "place_in_scope", 14, "Wraps the code contained in the range between cursor and mark with a new curly brace scope.", 91, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41130 }, -{ PROC_LINKS(project_fkey_command, 0), "project_fkey_command", 20, "Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command.", 175, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39887 }, -{ PROC_LINKS(project_go_to_root_directory, 0), "project_go_to_root_directory", 28, "Changes 4coder's hot directory to the root directory of the currently loaded project. With no loaded project nothing hapepns.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39912 }, -{ PROC_LINKS(query_replace, 0), "query_replace", 13, "Queries the user for two strings, and incrementally replaces every occurence of the first string with the second string.", 120, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34935 }, -{ PROC_LINKS(query_replace_identifier, 0), "query_replace_identifier", 24, "Queries the user for a string, and incrementally replace every occurence of the word or token found at the cursor with the specified string.", 140, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34955 }, -{ PROC_LINKS(query_replace_selection, 0), "query_replace_selection", 23, "Queries the user for a string, and incrementally replace every occurence of the string found in the selected range with the specified string.", 141, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34973 }, -{ PROC_LINKS(redo, 0), "redo", 4, "Advances forewards through the undo history.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35461 }, -{ PROC_LINKS(remap_interactive, 0), "remap_interactive", 17, "Switch to a named key binding map.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32649 }, -{ PROC_LINKS(rename_file_query, 0), "rename_file_query", 17, "Queries the user for a new name and renames the file of the current buffer, altering the buffer's name too.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35101 }, -{ PROC_LINKS(reopen, 0), "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35497 }, -{ PROC_LINKS(replace_in_range, 0), "replace_in_range", 16, "Queries the user for two strings, and replaces all occurences of the first string in the range between the cursor and the mark with the second string.", 150, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34833 }, -{ PROC_LINKS(reverse_search, 0), "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34804 }, -{ PROC_LINKS(reverse_search_identifier, 0), "reverse_search_identifier", 25, "Begins an incremental search up through the current buffer for the word or token under the cursor.", 98, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34822 }, -{ PROC_LINKS(save, 0), "save", 4, "Saves the current buffer.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35503 }, -{ PROC_LINKS(save_all_dirty_buffers, 0), "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35000 }, -{ PROC_LINKS(save_to_query, 0), "save_to_query", 13, "Queries the user for a name and saves the contents of the current buffer, altering the buffer's name too.", 105, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35061 }, -{ PROC_LINKS(scope_absorb_down, 0), "scope_absorb_down", 17, "If a scope is currently selected, and a statement or block statement is present below the current scope, the statement is moved into the scope.", 143, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41387 }, -{ PROC_LINKS(search, 0), "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34797 }, -{ PROC_LINKS(search_identifier, 0), "search_identifier", 17, "Begins an incremental search down through the current buffer for the word or token under the cursor.", 100, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34811 }, -{ PROC_LINKS(seek_alphanumeric_left, 0), "seek_alphanumeric_left", 22, "Seek left for boundary between alphanumeric characters and non-alphanumeric characters.", 87, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33994 }, -{ PROC_LINKS(seek_alphanumeric_or_camel_left, 0), "seek_alphanumeric_or_camel_left", 31, "Seek left for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34006 }, -{ PROC_LINKS(seek_alphanumeric_or_camel_right, 0), "seek_alphanumeric_or_camel_right", 32, "Seek right for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34000 }, -{ PROC_LINKS(seek_alphanumeric_right, 0), "seek_alphanumeric_right", 23, "Seek right for boundary between alphanumeric characters and non-alphanumeric characters.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33988 }, -{ PROC_LINKS(seek_beginning_of_line, 0), "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33893 }, -{ PROC_LINKS(seek_beginning_of_textual_line, 0), "seek_beginning_of_textual_line", 30, "Seeks the cursor to the beginning of the line across all text.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33875 }, -{ PROC_LINKS(seek_end_of_line, 0), "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33904 }, -{ PROC_LINKS(seek_end_of_textual_line, 0), "seek_end_of_textual_line", 24, "Seeks the cursor to the end of the line across all text.", 56, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33884 }, -{ PROC_LINKS(seek_token_left, 0), "seek_token_left", 15, "Seek left for the next beginning of a token.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33970 }, -{ PROC_LINKS(seek_token_right, 0), "seek_token_right", 16, "Seek right for the next end of a token.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33964 }, -{ PROC_LINKS(seek_white_or_token_left, 0), "seek_white_or_token_left", 24, "Seek left for the next end of a token or boundary between whitespace and non-whitespace.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33982 }, -{ PROC_LINKS(seek_white_or_token_right, 0), "seek_white_or_token_right", 25, "Seek right for the next end of a token or boundary between whitespace and non-whitespace.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33976 }, -{ PROC_LINKS(seek_whitespace_down, 0), "seek_whitespace_down", 20, "Seeks the cursor down to the next blank line.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33866 }, -{ PROC_LINKS(seek_whitespace_down_end_line, 0), "seek_whitespace_down_end_line", 29, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33925 }, -{ PROC_LINKS(seek_whitespace_left, 0), "seek_whitespace_left", 20, "Seek left for the next boundary between whitespace and non-whitespace.", 70, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33958 }, -{ PROC_LINKS(seek_whitespace_right, 0), "seek_whitespace_right", 21, "Seek right for the next boundary between whitespace and non-whitespace.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33952 }, -{ PROC_LINKS(seek_whitespace_up, 0), "seek_whitespace_up", 18, "Seeks the cursor up to the next blank line.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33857 }, -{ PROC_LINKS(seek_whitespace_up_end_line, 0), "seek_whitespace_up_end_line", 27, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33915 }, -{ PROC_LINKS(select_all, 0), "select_all", 10, "Puts the cursor at the top of the file, and the mark at the bottom of the file.", 79, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34359 }, -{ PROC_LINKS(set_bindings_choose, 0), "set_bindings_choose", 19, "Remap keybindings using the 'choose' mapping rule.", 50, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43277 }, -{ PROC_LINKS(set_bindings_default, 0), "set_bindings_default", 20, "Remap keybindings using the 'default' mapping rule.", 51, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43291 }, -{ PROC_LINKS(set_bindings_mac_default, 0), "set_bindings_mac_default", 24, "Remap keybindings using the 'mac-default' mapping rule.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43305 }, -{ PROC_LINKS(set_mark, 0), "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34128 }, -{ PROC_LINKS(setup_build_bat, 0), "setup_build_bat", 15, "Queries the user for several configuration options and initializes a new build batch script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40297 }, -{ PROC_LINKS(setup_build_bat_and_sh, 0), "setup_build_bat_and_sh", 22, "Queries the user for several configuration options and initializes a new build batch script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40309 }, -{ PROC_LINKS(setup_build_sh, 0), "setup_build_sh", 14, "Queries the user for several configuration options and initializes a new build shell script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40303 }, -{ PROC_LINKS(setup_new_project, 0), "setup_new_project", 17, "Queries the user for several configuration options and initializes a new 4coder project with build scripts for every OS.", 120, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40290 }, -{ PROC_LINKS(show_filebar, 0), "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34506 }, -{ PROC_LINKS(show_scrollbar, 0), "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34492 }, -{ PROC_LINKS(snipe_token_or_word, 0), "snipe_token_or_word", 19, "Delete a single, whole token on or to the left of the cursor and post it to the clipboard.", 90, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34026 }, -{ PROC_LINKS(snipe_token_or_word_right, 0), "snipe_token_or_word_right", 25, "Delete a single, whole token on or to the right of the cursor and post it to the clipboard.", 91, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34032 }, -{ PROC_LINKS(suppress_mouse, 0), "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32623 }, -{ PROC_LINKS(swap_buffers_between_panels, 0), "swap_buffers_between_panels", 27, "Set the other non-active panel to view the buffer that the active panel views, and switch to that panel.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35422 }, -{ PROC_LINKS(to_lowercase, 0), "to_lowercase", 12, "Converts all ascii text in the range between the cursor and the mark to lowercase.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34390 }, -{ PROC_LINKS(to_uppercase, 0), "to_uppercase", 12, "Converts all ascii text in the range between the cursor and the mark to uppercase.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34370 }, -{ PROC_LINKS(toggle_filebar, 0), "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34520 }, -{ PROC_LINKS(toggle_fullscreen, 0), "toggle_fullscreen", 17, "Toggle fullscreen mode on or off. The change(s) do not take effect until the next frame.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32641 }, -{ PROC_LINKS(toggle_line_wrap, 0), "toggle_line_wrap", 16, "Toggles the current buffer's line wrapping status.", 50, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34529 }, -{ PROC_LINKS(toggle_mouse, 0), "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 32635 }, -{ PROC_LINKS(toggle_show_whitespace, 0), "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34596 }, -{ PROC_LINKS(toggle_virtual_whitespace, 0), "toggle_virtual_whitespace", 25, "Toggles the current buffer's virtual whitespace status.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34585 }, -{ PROC_LINKS(undo, 0), "undo", 4, "Advances backwards through the undo history.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35455 }, -{ PROC_LINKS(view_buffer_other_panel, 0), "view_buffer_other_panel", 23, "Set the other non-active panel to view the buffer that the active panel views, and switch to that panel.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35412 }, -{ PROC_LINKS(word_complete, 0), "word_complete", 13, "Iteratively tries completing the word to the left of the cursor with other words in open buffers that have the same prefix string.", 130, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37121 }, -{ PROC_LINKS(write_and_auto_tab, 0), "write_and_auto_tab", 18, "Inserts a character and auto-indents the line on which the cursor sits.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36279 }, -{ PROC_LINKS(write_block, 0), "write_block", 11, "At the cursor, insert a block comment.", 38, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41570 }, -{ PROC_LINKS(write_character, 0), "write_character", 15, "Inserts whatever character was used to trigger this command.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34075 }, -{ PROC_LINKS(write_hack, 0), "write_hack", 10, "At the cursor, insert a '// HACK' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41558 }, -{ PROC_LINKS(write_note, 0), "write_note", 10, "At the cursor, insert a '// NOTE' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41564 }, -{ PROC_LINKS(write_todo, 0), "write_todo", 10, "At the cursor, insert a '// TODO' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41552 }, -{ PROC_LINKS(write_underscore, 0), "write_underscore", 16, "Inserts an underscore.", 22, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34084 }, -{ PROC_LINKS(write_zero_struct, 0), "write_zero_struct", 17, "At the cursor, insert a ' = {0};'.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41576 }, +static Command_Metadata fcoder_metacmd_table[196] = { +{ PROC_LINKS(allow_mouse, 0), "allow_mouse", 11, "Shows the mouse and causes all mouse input to be processed normally.", 68, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33224 }, +{ PROC_LINKS(auto_tab_line_at_cursor, 0), "auto_tab_line_at_cursor", 23, "Auto-indents the line on which the cursor sits.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36870 }, +{ PROC_LINKS(auto_tab_range, 0), "auto_tab_range", 14, "Auto-indents the range between the cursor and the mark.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36881 }, +{ PROC_LINKS(auto_tab_whole_file, 0), "auto_tab_whole_file", 19, "Audo-indents the entire current buffer.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36860 }, +{ PROC_LINKS(backspace_char, 0), "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34704 }, +{ PROC_LINKS(backspace_word, 0), "backspace_word", 14, "Delete characters between the cursor position and the first alphanumeric boundary to the left.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34609 }, +{ PROC_LINKS(basic_change_active_panel, 0), "basic_change_active_panel", 25, "Change the currently active panel, moving to the panel with the next highest view_id. Will not skipe the build panel if it is open.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35070 }, +{ PROC_LINKS(build_in_build_panel, 0), "build_in_build_panel", 20, "Looks for a build.bat, build.sh, or makefile in the current and parent directories. Runs the first that it finds and prints the output to *compilation*. Puts the *compilation* buffer in a panel at the footer of the current view.", 230, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39425 }, +{ PROC_LINKS(build_search, 0), "build_search", 12, "Looks for a build.bat, build.sh, or makefile in the current and parent directories. Runs the first that it finds and prints the output to *compilation*.", 153, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39391 }, +{ PROC_LINKS(center_view, 0), "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34757 }, +{ PROC_LINKS(change_active_panel, 0), "change_active_panel", 19, "Change the currently active panel, moving to the panel with the next highest view_id.", 85, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33166 }, +{ PROC_LINKS(change_active_panel_backwards, 0), "change_active_panel_backwards", 29, "Change the currently active panel, moving to the panel with the next lowest view_id.", 84, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33176 }, +{ PROC_LINKS(change_to_build_panel, 0), "change_to_build_panel", 21, "If the special build panel is open, makes the build panel the active panel.", 75, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39447 }, +{ PROC_LINKS(clean_all_lines, 0), "clean_all_lines", 15, "Removes trailing whitespace from all lines in the current buffer.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35005 }, +{ PROC_LINKS(click_set_cursor, 0), "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34811 }, +{ PROC_LINKS(click_set_mark, 0), "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34824 }, +{ PROC_LINKS(close_all_code, 0), "close_all_code", 14, "Closes any buffer with a filename ending with an extension configured to be recognized as a code file type.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40516 }, +{ PROC_LINKS(close_build_panel, 0), "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39441 }, +{ PROC_LINKS(close_panel, 0), "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35078 }, +{ PROC_LINKS(copy, 0), "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39073 }, +{ PROC_LINKS(cursor_mark_swap, 0), "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34732 }, +{ PROC_LINKS(cut, 0), "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39082 }, +{ PROC_LINKS(decrease_face_size, 0), "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35168 }, +{ PROC_LINKS(decrease_line_wrap, 0), "decrease_line_wrap", 18, "Decrases the current buffer's width for line wrapping.", 54, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35145 }, +{ PROC_LINKS(delete_char, 0), "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34686 }, +{ PROC_LINKS(delete_current_scope, 0), "delete_current_scope", 20, "Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41795 }, +{ PROC_LINKS(delete_file_query, 0), "delete_file_query", 17, "Deletes the file of the current buffer if 4coder has the appropriate access rights. Will ask the user for confirmation first.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35649 }, +{ PROC_LINKS(delete_line, 0), "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35899 }, +{ PROC_LINKS(delete_range, 0), "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34744 }, +{ PROC_LINKS(delete_word, 0), "delete_word", 11, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34615 }, +{ PROC_LINKS(duplicate_line, 0), "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35877 }, +{ PROC_LINKS(eol_dosify, 0), "eol_dosify", 10, "Puts the buffer in DOS line ending mode.", 40, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35198 }, +{ PROC_LINKS(eol_nixify, 0), "eol_nixify", 10, "Puts the buffer in NIX line ending mode.", 40, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35206 }, +{ PROC_LINKS(execute_any_cli, 0), "execute_any_cli", 15, "Queries for an output buffer name and system command, runs the system command as a CLI and prints the output to the specified buffer.", 133, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39215 }, +{ PROC_LINKS(execute_arbitrary_command, 0), "execute_arbitrary_command", 25, "Execute a 'long form' command.", 30, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42252 }, +{ PROC_LINKS(execute_previous_cli, 0), "execute_previous_cli", 20, "If the command execute_any_cli has already been used, this will execute a CLI reusing the most recent buffer name and command.", 126, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39199 }, +{ PROC_LINKS(exit_4coder, 0), "exit_4coder", 11, "Attempts to close 4coder.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35214 }, +{ PROC_LINKS(goto_beginning_of_file, 0), "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34530 }, +{ PROC_LINKS(goto_end_of_file, 0), "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34537 }, +{ PROC_LINKS(goto_first_jump_direct, 0), "goto_first_jump_direct", 22, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38392 }, +{ PROC_LINKS(goto_first_jump_same_panel_sticky, 0), "goto_first_jump_same_panel_sticky", 33, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer and views the buffer in the panel where the jump list was.", 153, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38975 }, +{ PROC_LINKS(goto_first_jump_sticky, 0), "goto_first_jump_sticky", 22, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38957 }, +{ PROC_LINKS(goto_jump_at_cursor_direct, 0), "goto_jump_at_cursor_direct", 26, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in another view and changes the active panel to the view containing the jump.", 187, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38316 }, +{ PROC_LINKS(goto_jump_at_cursor_same_panel_direct, 0), "goto_jump_at_cursor_same_panel_direct", 37, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in this view, losing the compilation output or jump list..", 168, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38337 }, +{ PROC_LINKS(goto_jump_at_cursor_same_panel_sticky, 0), "goto_jump_at_cursor_same_panel_sticky", 37, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in this view, losing the compilation output or jump list.", 167, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38807 }, +{ PROC_LINKS(goto_jump_at_cursor_sticky, 0), "goto_jump_at_cursor_sticky", 26, "If the cursor is found to be on a jump location, parses the jump location and brings up the file and position in another view and changes the active panel to the view containing the jump.", 187, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38779 }, +{ PROC_LINKS(goto_line, 0), "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35222 }, +{ PROC_LINKS(goto_next_jump_direct, 0), "goto_next_jump_direct", 21, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38356 }, +{ PROC_LINKS(goto_next_jump_no_skips_direct, 0), "goto_next_jump_no_skips_direct", 30, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, and does not skip sub jump locations.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38374 }, +{ PROC_LINKS(goto_next_jump_no_skips_sticky, 0), "goto_next_jump_no_skips_sticky", 30, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, and does not skip sub jump locations.", 132, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38926 }, +{ PROC_LINKS(goto_next_jump_sticky, 0), "goto_next_jump_sticky", 21, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38896 }, +{ PROC_LINKS(goto_prev_jump_direct, 0), "goto_prev_jump_direct", 21, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38365 }, +{ PROC_LINKS(goto_prev_jump_no_skips_direct, 0), "goto_prev_jump_no_skips_direct", 30, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, and does not skip sub jump locations.", 136, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38383 }, +{ PROC_LINKS(goto_prev_jump_no_skips_sticky, 0), "goto_prev_jump_no_skips_sticky", 30, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, and does not skip sub jump locations.", 136, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38942 }, +{ PROC_LINKS(goto_prev_jump_sticky, 0), "goto_prev_jump_sticky", 21, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38912 }, +{ PROC_LINKS(hide_filebar, 0), "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35108 }, +{ PROC_LINKS(hide_scrollbar, 0), "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35094 }, +{ PROC_LINKS(highlight_next_scope_absolute, 0), "highlight_next_scope_absolute", 29, "Finds the first scope started by '{' after the cursor and puts the cursor and mark on the '{' and '}'.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41671 }, +{ PROC_LINKS(highlight_prev_scope_absolute, 0), "highlight_prev_scope_absolute", 29, "Finds the first scope started by '{' before the cursor and puts the cursor and mark on the '{' and '}'.", 103, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41690 }, +{ PROC_LINKS(highlight_surrounding_scope, 0), "highlight_surrounding_scope", 27, "Finds the scope enclosed by '{' '}' surrounding the cursor and puts the cursor and mark on the '{' and '}'.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41649 }, +{ PROC_LINKS(if0_off, 0), "if0_off", 7, "Surround the range between the cursor and mark with an '#if 0' and an '#endif'", 78, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42205 }, +{ PROC_LINKS(increase_face_size, 0), "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35156 }, +{ PROC_LINKS(increase_line_wrap, 0), "increase_line_wrap", 18, "Increases the current buffer's width for line wrapping.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35134 }, +{ PROC_LINKS(interactive_kill_buffer, 0), "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36105 }, +{ PROC_LINKS(interactive_new, 0), "interactive_new", 15, "Interactively creates a new file.", 33, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36081 }, +{ PROC_LINKS(interactive_open, 0), "interactive_open", 16, "Interactively opens a file.", 27, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36087 }, +{ PROC_LINKS(interactive_open_or_new, 0), "interactive_open_or_new", 23, "Interactively opens or creates a new file.", 42, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36093 }, +{ PROC_LINKS(interactive_switch_buffer, 0), "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36099 }, +{ PROC_LINKS(kill_buffer, 0), "kill_buffer", 11, "Kills the current buffer.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36123 }, +{ PROC_LINKS(kill_rect, 0), "kill_rect", 9, "Delete characters in a rectangular region. Range testing is done by unwrapped-xy coordinates.", 93, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44514 }, +{ PROC_LINKS(left_adjust_view, 0), "left_adjust_view", 16, "Sets the left size of the view near the x position of the cursor.", 65, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34772 }, +{ PROC_LINKS(list_all_functions_current_buffer, 0), "list_all_functions_current_buffer", 33, "Creates a jump list of lines of the current buffer that appear to define or declare functions.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41296 }, +{ PROC_LINKS(list_all_locations, 0), "list_all_locations", 18, "Queries the user for a string and lists all exact case-sensitive matches found in all open buffers.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37656 }, +{ PROC_LINKS(list_all_locations_case_insensitive, 0), "list_all_locations_case_insensitive", 35, "Queries the user for a string and lists all exact case-insensitive matches found in all open buffers.", 101, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37668 }, +{ PROC_LINKS(list_all_locations_of_identifier, 0), "list_all_locations_of_identifier", 32, "Reads a token or word under the cursor and lists all exact case-sensitive mathces in all open buffers.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37680 }, +{ PROC_LINKS(list_all_locations_of_identifier_case_insensitive, 0), "list_all_locations_of_identifier_case_insensitive", 49, "Reads a token or word under the cursor and lists all exact case-insensitive mathces in all open buffers.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37686 }, +{ PROC_LINKS(list_all_locations_of_selection, 0), "list_all_locations_of_selection", 31, "Reads the string in the selected range and lists all exact case-sensitive mathces in all open buffers.", 102, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37692 }, +{ PROC_LINKS(list_all_locations_of_selection_case_insensitive, 0), "list_all_locations_of_selection_case_insensitive", 48, "Reads the string in the selected range and lists all exact case-insensitive mathces in all open buffers.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37698 }, +{ PROC_LINKS(list_all_locations_of_type_definition, 0), "list_all_locations_of_type_definition", 37, "Queries user for string, lists all locations of strings that appear to define a type whose name matches the input string.", 121, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37704 }, +{ PROC_LINKS(list_all_locations_of_type_definition_of_identifier, 0), "list_all_locations_of_type_definition_of_identifier", 51, "Reads a token or word under the cursor and lists all locations of strings that appear to define a type whose name matches it.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37715 }, +{ PROC_LINKS(list_all_substring_locations, 0), "list_all_substring_locations", 28, "Queries the user for a string and lists all case-sensitive substring matches found in all open buffers.", 103, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37662 }, +{ PROC_LINKS(list_all_substring_locations_case_insensitive, 0), "list_all_substring_locations_case_insensitive", 45, "Queries the user for a string and lists all case-insensitive substring matches found in all open buffers.", 105, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37674 }, +{ PROC_LINKS(load_project, 0), "load_project", 12, "Looks for a project.4coder file in the current directory and tries to load it. Looks in parent directories until a project file is found or there are no more parents.", 167, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40539 }, +{ PROC_LINKS(make_directory_query, 0), "make_directory_query", 20, "Queries the user for a name and creates a new directory with the given name.", 76, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35757 }, +{ PROC_LINKS(miblo_decrement_basic, 0), "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44099 }, +{ PROC_LINKS(miblo_decrement_time_stamp, 0), "miblo_decrement_time_stamp", 26, "Decrement a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44372 }, +{ PROC_LINKS(miblo_decrement_time_stamp_minute, 0), "miblo_decrement_time_stamp_minute", 33, "Decrement a time stamp under the cursor by one minute. (format [m]m:ss or h:mm:ss", 81, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44384 }, +{ PROC_LINKS(miblo_increment_basic, 0), "miblo_increment_basic", 21, "Increment an integer under the cursor by one.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44083 }, +{ PROC_LINKS(miblo_increment_time_stamp, 0), "miblo_increment_time_stamp", 26, "Increment a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44366 }, +{ PROC_LINKS(miblo_increment_time_stamp_minute, 0), "miblo_increment_time_stamp_minute", 33, "Increment a time stamp under the cursor by one minute. (format [m]m:ss or h:mm:ss", 81, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44378 }, +{ PROC_LINKS(move_down, 0), "move_down", 9, "Moves the cursor down one line.", 31, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34887 }, +{ PROC_LINKS(move_down_10, 0), "move_down_10", 12, "Moves the cursor down ten lines.", 32, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34899 }, +{ PROC_LINKS(move_down_textual, 0), "move_down_textual", 17, "Moves down to the next line of actual text, regardless of line wrapping.", 72, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34905 }, +{ PROC_LINKS(move_left, 0), "move_left", 9, "Moves the cursor one character to the left.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34936 }, +{ PROC_LINKS(move_line_down, 0), "move_line_down", 14, "Swaps the line under the cursor with the line below it, and moves the cursor down with it.", 90, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35854 }, +{ PROC_LINKS(move_line_up, 0), "move_line_up", 12, "Swaps the line under the cursor with the line above it, and moves the cursor up with it.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35790 }, +{ PROC_LINKS(move_right, 0), "move_right", 10, "Moves the cursor one character to the right.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34945 }, +{ PROC_LINKS(move_up, 0), "move_up", 7, "Moves the cursor up one line.", 29, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34881 }, +{ PROC_LINKS(move_up_10, 0), "move_up_10", 10, "Moves the cursor up ten lines.", 30, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34893 }, +{ PROC_LINKS(multi_line_edit, 0), "multi_line_edit", 15, "Begin multi-line mode. In multi-line mode characters are inserted at every line between the mark and cursor. All characters are inserted at the same character offset into the line. This mode uses line_char coordinates.", 221, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44605 }, +{ PROC_LINKS(newline_or_goto_position_direct, 0), "newline_or_goto_position_direct", 31, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38409 }, +{ PROC_LINKS(newline_or_goto_position_same_panel_direct, 0), "newline_or_goto_position_same_panel_direct", 42, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38424 }, +{ PROC_LINKS(newline_or_goto_position_same_panel_sticky, 0), "newline_or_goto_position_same_panel_sticky", 42, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39013 }, +{ PROC_LINKS(newline_or_goto_position_sticky, 0), "newline_or_goto_position_sticky", 31, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 38998 }, +{ PROC_LINKS(open_all_code, 0), "open_all_code", 13, "Open all code in the current directory. File types are determined by extensions. An extension is considered code based on the extensions specified in 4coder.config.", 164, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40523 }, +{ PROC_LINKS(open_all_code_recursive, 0), "open_all_code_recursive", 23, "Works as open_all_code but also runs in all subdirectories.", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40530 }, +{ PROC_LINKS(open_color_tweaker, 0), "open_color_tweaker", 18, "Opens the 4coder colors and fonts selector menu.", 48, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36129 }, +{ PROC_LINKS(open_file_in_quotes, 0), "open_file_in_quotes", 19, "Reads a filename from surrounding '\"' characters and attempts to open the corresponding file.", 94, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35976 }, +{ PROC_LINKS(open_in_other, 0), "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36137 }, +{ PROC_LINKS(open_long_braces, 0), "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42181 }, +{ PROC_LINKS(open_long_braces_break, 0), "open_long_braces_break", 22, "At the cursor, insert a '{' and '}break;' separated by a blank line.", 68, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42197 }, +{ PROC_LINKS(open_long_braces_semicolon, 0), "open_long_braces_semicolon", 26, "At the cursor, insert a '{' and '};' separated by a blank line.", 63, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42189 }, +{ PROC_LINKS(open_matching_file_cpp, 0), "open_matching_file_cpp", 22, "If the current file is a *.cpp or *.h, attempts to open the corresponding *.h or *.cpp file in the other view.", 110, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36012 }, +{ PROC_LINKS(open_panel_hsplit, 0), "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33195 }, +{ PROC_LINKS(open_panel_vsplit, 0), "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33186 }, +{ PROC_LINKS(page_down, 0), "page_down", 9, "Scrolls the view down one view height and moves the cursor down one view height.", 80, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34925 }, +{ PROC_LINKS(page_up, 0), "page_up", 7, "Scrolls the view up one view height and moves the cursor up one view height.", 76, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34916 }, +{ PROC_LINKS(paste, 0), "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39093 }, +{ PROC_LINKS(paste_and_indent, 0), "paste_and_indent", 16, "Paste from the top of clipboard and run auto-indent on the newly pasted text.", 77, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39175 }, +{ PROC_LINKS(paste_next, 0), "paste_next", 10, "If the previous command was paste or paste_next, replaces the paste range with the next text down on the clipboard, otherwise operates as the paste command.", 156, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39131 }, +{ PROC_LINKS(paste_next_and_indent, 0), "paste_next_and_indent", 21, "Paste the next item on the clipboard and run auto-indent on the newly pasted text.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 39182 }, +{ PROC_LINKS(place_in_scope, 0), "place_in_scope", 14, "Wraps the code contained in the range between cursor and mark with a new curly brace scope.", 91, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 41789 }, +{ PROC_LINKS(project_fkey_command, 0), "project_fkey_command", 20, "Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command.", 175, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40546 }, +{ PROC_LINKS(project_go_to_root_directory, 0), "project_go_to_root_directory", 28, "Changes 4coder's hot directory to the root directory of the currently loaded project. With no loaded project nothing hapepns.", 125, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40571 }, +{ PROC_LINKS(query_replace, 0), "query_replace", 13, "Queries the user for two strings, and incrementally replaces every occurence of the first string with the second string.", 120, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35549 }, +{ PROC_LINKS(query_replace_identifier, 0), "query_replace_identifier", 24, "Queries the user for a string, and incrementally replace every occurence of the word or token found at the cursor with the specified string.", 140, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35569 }, +{ PROC_LINKS(query_replace_selection, 0), "query_replace_selection", 23, "Queries the user for a string, and incrementally replace every occurence of the string found in the selected range with the specified string.", 141, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35587 }, +{ PROC_LINKS(redo, 0), "redo", 4, "Advances forewards through the undo history.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36075 }, +{ PROC_LINKS(remap_interactive, 0), "remap_interactive", 17, "Switch to a named key binding map.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33244 }, +{ PROC_LINKS(rename_file_query, 0), "rename_file_query", 17, "Queries the user for a new name and renames the file of the current buffer, altering the buffer's name too.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35715 }, +{ PROC_LINKS(rename_parameter, 0), "rename_parameter", 16, "If the cursor is found to be on the name of a function parameter in the signature of a function definition, all occurences within the scope of the function will be replaced with a new provided string.", 200, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 44870 }, +{ PROC_LINKS(reopen, 0), "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36111 }, +{ PROC_LINKS(replace_all_occurrences, 0), "replace_all_occurrences", 23, "Queries the user for two strings, and replaces all occurrences of the first string with the second string in all open buffers.", 126, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 45265 }, +{ PROC_LINKS(replace_in_range, 0), "replace_in_range", 16, "Queries the user for two strings, and replaces all occurences of the first string in the range between the cursor and the mark with the second string.", 150, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35447 }, +{ PROC_LINKS(reverse_search, 0), "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35418 }, +{ PROC_LINKS(reverse_search_identifier, 0), "reverse_search_identifier", 25, "Begins an incremental search up through the current buffer for the word or token under the cursor.", 98, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35436 }, +{ PROC_LINKS(save, 0), "save", 4, "Saves the current buffer.", 25, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36117 }, +{ PROC_LINKS(save_all_dirty_buffers, 0), "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35614 }, +{ PROC_LINKS(save_to_query, 0), "save_to_query", 13, "Queries the user for a name and saves the contents of the current buffer, altering the buffer's name too.", 105, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35675 }, +{ PROC_LINKS(scope_absorb_down, 0), "scope_absorb_down", 17, "If a scope is currently selected, and a statement or block statement is present below the current scope, the statement is moved into the scope.", 143, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42046 }, +{ PROC_LINKS(search, 0), "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35411 }, +{ PROC_LINKS(search_identifier, 0), "search_identifier", 17, "Begins an incremental search down through the current buffer for the word or token under the cursor.", 100, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35425 }, +{ PROC_LINKS(seek_alphanumeric_left, 0), "seek_alphanumeric_left", 22, "Seek left for boundary between alphanumeric characters and non-alphanumeric characters.", 87, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34589 }, +{ PROC_LINKS(seek_alphanumeric_or_camel_left, 0), "seek_alphanumeric_or_camel_left", 31, "Seek left for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 106, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34601 }, +{ PROC_LINKS(seek_alphanumeric_or_camel_right, 0), "seek_alphanumeric_or_camel_right", 32, "Seek right for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 107, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34595 }, +{ PROC_LINKS(seek_alphanumeric_right, 0), "seek_alphanumeric_right", 23, "Seek right for boundary between alphanumeric characters and non-alphanumeric characters.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34583 }, +{ PROC_LINKS(seek_beginning_of_line, 0), "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34488 }, +{ PROC_LINKS(seek_beginning_of_textual_line, 0), "seek_beginning_of_textual_line", 30, "Seeks the cursor to the beginning of the line across all text.", 62, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34470 }, +{ PROC_LINKS(seek_end_of_line, 0), "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34499 }, +{ PROC_LINKS(seek_end_of_textual_line, 0), "seek_end_of_textual_line", 24, "Seeks the cursor to the end of the line across all text.", 56, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34479 }, +{ PROC_LINKS(seek_token_left, 0), "seek_token_left", 15, "Seek left for the next beginning of a token.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34565 }, +{ PROC_LINKS(seek_token_right, 0), "seek_token_right", 16, "Seek right for the next end of a token.", 39, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34559 }, +{ PROC_LINKS(seek_white_or_token_left, 0), "seek_white_or_token_left", 24, "Seek left for the next end of a token or boundary between whitespace and non-whitespace.", 88, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34577 }, +{ PROC_LINKS(seek_white_or_token_right, 0), "seek_white_or_token_right", 25, "Seek right for the next end of a token or boundary between whitespace and non-whitespace.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34571 }, +{ PROC_LINKS(seek_whitespace_down, 0), "seek_whitespace_down", 20, "Seeks the cursor down to the next blank line.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34461 }, +{ PROC_LINKS(seek_whitespace_down_end_line, 0), "seek_whitespace_down_end_line", 29, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34520 }, +{ PROC_LINKS(seek_whitespace_left, 0), "seek_whitespace_left", 20, "Seek left for the next boundary between whitespace and non-whitespace.", 70, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34553 }, +{ PROC_LINKS(seek_whitespace_right, 0), "seek_whitespace_right", 21, "Seek right for the next boundary between whitespace and non-whitespace.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34547 }, +{ PROC_LINKS(seek_whitespace_up, 0), "seek_whitespace_up", 18, "Seeks the cursor up to the next blank line.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34452 }, +{ PROC_LINKS(seek_whitespace_up_end_line, 0), "seek_whitespace_up_end_line", 27, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34510 }, +{ PROC_LINKS(select_all, 0), "select_all", 10, "Puts the cursor at the top of the file, and the mark at the bottom of the file.", 79, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34954 }, +{ PROC_LINKS(set_bindings_choose, 0), "set_bindings_choose", 19, "Remap keybindings using the 'choose' mapping rule.", 50, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43936 }, +{ PROC_LINKS(set_bindings_default, 0), "set_bindings_default", 20, "Remap keybindings using the 'default' mapping rule.", 51, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43950 }, +{ PROC_LINKS(set_bindings_mac_default, 0), "set_bindings_mac_default", 24, "Remap keybindings using the 'mac-default' mapping rule.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 43964 }, +{ PROC_LINKS(set_mark, 0), "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34723 }, +{ PROC_LINKS(setup_build_bat, 0), "setup_build_bat", 15, "Queries the user for several configuration options and initializes a new build batch script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40956 }, +{ PROC_LINKS(setup_build_bat_and_sh, 0), "setup_build_bat_and_sh", 22, "Queries the user for several configuration options and initializes a new build batch script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40968 }, +{ PROC_LINKS(setup_build_sh, 0), "setup_build_sh", 14, "Queries the user for several configuration options and initializes a new build shell script.", 92, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40962 }, +{ PROC_LINKS(setup_new_project, 0), "setup_new_project", 17, "Queries the user for several configuration options and initializes a new 4coder project with build scripts for every OS.", 120, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 40949 }, +{ PROC_LINKS(show_filebar, 0), "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35101 }, +{ PROC_LINKS(show_scrollbar, 0), "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35087 }, +{ PROC_LINKS(snipe_token_or_word, 0), "snipe_token_or_word", 19, "Delete a single, whole token on or to the left of the cursor and post it to the clipboard.", 90, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34621 }, +{ PROC_LINKS(snipe_token_or_word_right, 0), "snipe_token_or_word_right", 25, "Delete a single, whole token on or to the right of the cursor and post it to the clipboard.", 91, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34627 }, +{ PROC_LINKS(suppress_mouse, 0), "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33218 }, +{ PROC_LINKS(swap_buffers_between_panels, 0), "swap_buffers_between_panels", 27, "Set the other non-active panel to view the buffer that the active panel views, and switch to that panel.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36036 }, +{ PROC_LINKS(to_lowercase, 0), "to_lowercase", 12, "Converts all ascii text in the range between the cursor and the mark to lowercase.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34985 }, +{ PROC_LINKS(to_uppercase, 0), "to_uppercase", 12, "Converts all ascii text in the range between the cursor and the mark to uppercase.", 82, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34965 }, +{ PROC_LINKS(toggle_filebar, 0), "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35115 }, +{ PROC_LINKS(toggle_fullscreen, 0), "toggle_fullscreen", 17, "Toggle fullscreen mode on or off. The change(s) do not take effect until the next frame.", 89, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33236 }, +{ PROC_LINKS(toggle_line_wrap, 0), "toggle_line_wrap", 16, "Toggles the current buffer's line wrapping status.", 50, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35124 }, +{ PROC_LINKS(toggle_mouse, 0), "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 33230 }, +{ PROC_LINKS(toggle_show_whitespace, 0), "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35191 }, +{ PROC_LINKS(toggle_virtual_whitespace, 0), "toggle_virtual_whitespace", 25, "Toggles the current buffer's virtual whitespace status.", 55, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 35180 }, +{ PROC_LINKS(undo, 0), "undo", 4, "Advances backwards through the undo history.", 44, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36069 }, +{ PROC_LINKS(view_buffer_other_panel, 0), "view_buffer_other_panel", 23, "Set the other non-active panel to view the buffer that the active panel views, and switch to that panel.", 104, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36026 }, +{ PROC_LINKS(word_complete, 0), "word_complete", 13, "Iteratively tries completing the word to the left of the cursor with other words in open buffers that have the same prefix string.", 130, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 37735 }, +{ PROC_LINKS(write_and_auto_tab, 0), "write_and_auto_tab", 18, "Inserts a character and auto-indents the line on which the cursor sits.", 71, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 36893 }, +{ PROC_LINKS(write_block, 0), "write_block", 11, "At the cursor, insert a block comment.", 38, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42229 }, +{ PROC_LINKS(write_character, 0), "write_character", 15, "Inserts whatever character was used to trigger this command.", 60, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34670 }, +{ PROC_LINKS(write_explicit_enum_flags, 0), "write_explicit_enum_flags", 25, "If the cursor is found to be on the '{' of an enum definition, the values of the enum will be filled in to give each a unique power of 2 value, starting from 1. Existing values are overwritten.", 194, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 45192 }, +{ PROC_LINKS(write_explicit_enum_values, 0), "write_explicit_enum_values", 26, "If the cursor is found to be on the '{' of an enum definition, the values of the enum will be filled in sequentially starting from zero. Existing values are overwritten.", 170, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 45186 }, +{ PROC_LINKS(write_hack, 0), "write_hack", 10, "At the cursor, insert a '// HACK' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42217 }, +{ PROC_LINKS(write_note, 0), "write_note", 10, "At the cursor, insert a '// NOTE' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42223 }, +{ PROC_LINKS(write_todo, 0), "write_todo", 10, "At the cursor, insert a '// TODO' comment, includes user name if it was specified in config.4coder.", 99, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42211 }, +{ PROC_LINKS(write_underscore, 0), "write_underscore", 16, "Inserts an underscore.", 22, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 34679 }, +{ PROC_LINKS(write_zero_struct, 0), "write_zero_struct", 17, "At the cursor, insert a ' = {0};'.", 34, "C:\\work\\4ed\\build\\4coder_command_metadata.i", 47, 42235 }, }; static int32_t fcoder_metacmd_ID_allow_mouse = 0; static int32_t fcoder_metacmd_ID_auto_tab_line_at_cursor = 1; @@ -459,119 +483,131 @@ static int32_t fcoder_metacmd_ID_interactive_open = 65; static int32_t fcoder_metacmd_ID_interactive_open_or_new = 66; static int32_t fcoder_metacmd_ID_interactive_switch_buffer = 67; static int32_t fcoder_metacmd_ID_kill_buffer = 68; -static int32_t fcoder_metacmd_ID_left_adjust_view = 69; -static int32_t fcoder_metacmd_ID_list_all_functions_current_buffer = 70; -static int32_t fcoder_metacmd_ID_list_all_locations = 71; -static int32_t fcoder_metacmd_ID_list_all_locations_case_insensitive = 72; -static int32_t fcoder_metacmd_ID_list_all_locations_of_identifier = 73; -static int32_t fcoder_metacmd_ID_list_all_locations_of_identifier_case_insensitive = 74; -static int32_t fcoder_metacmd_ID_list_all_locations_of_selection = 75; -static int32_t fcoder_metacmd_ID_list_all_locations_of_selection_case_insensitive = 76; -static int32_t fcoder_metacmd_ID_list_all_locations_of_type_definition = 77; -static int32_t fcoder_metacmd_ID_list_all_locations_of_type_definition_of_identifier = 78; -static int32_t fcoder_metacmd_ID_list_all_substring_locations = 79; -static int32_t fcoder_metacmd_ID_list_all_substring_locations_case_insensitive = 80; -static int32_t fcoder_metacmd_ID_load_project = 81; -static int32_t fcoder_metacmd_ID_make_directory_query = 82; -static int32_t fcoder_metacmd_ID_move_down = 83; -static int32_t fcoder_metacmd_ID_move_down_10 = 84; -static int32_t fcoder_metacmd_ID_move_down_textual = 85; -static int32_t fcoder_metacmd_ID_move_left = 86; -static int32_t fcoder_metacmd_ID_move_line_down = 87; -static int32_t fcoder_metacmd_ID_move_line_up = 88; -static int32_t fcoder_metacmd_ID_move_right = 89; -static int32_t fcoder_metacmd_ID_move_up = 90; -static int32_t fcoder_metacmd_ID_move_up_10 = 91; -static int32_t fcoder_metacmd_ID_newline_or_goto_position_direct = 92; -static int32_t fcoder_metacmd_ID_newline_or_goto_position_same_panel_direct = 93; -static int32_t fcoder_metacmd_ID_newline_or_goto_position_same_panel_sticky = 94; -static int32_t fcoder_metacmd_ID_newline_or_goto_position_sticky = 95; -static int32_t fcoder_metacmd_ID_open_all_code = 96; -static int32_t fcoder_metacmd_ID_open_all_code_recursive = 97; -static int32_t fcoder_metacmd_ID_open_color_tweaker = 98; -static int32_t fcoder_metacmd_ID_open_file_in_quotes = 99; -static int32_t fcoder_metacmd_ID_open_in_other = 100; -static int32_t fcoder_metacmd_ID_open_long_braces = 101; -static int32_t fcoder_metacmd_ID_open_long_braces_break = 102; -static int32_t fcoder_metacmd_ID_open_long_braces_semicolon = 103; -static int32_t fcoder_metacmd_ID_open_matching_file_cpp = 104; -static int32_t fcoder_metacmd_ID_open_panel_hsplit = 105; -static int32_t fcoder_metacmd_ID_open_panel_vsplit = 106; -static int32_t fcoder_metacmd_ID_page_down = 107; -static int32_t fcoder_metacmd_ID_page_up = 108; -static int32_t fcoder_metacmd_ID_paste = 109; -static int32_t fcoder_metacmd_ID_paste_and_indent = 110; -static int32_t fcoder_metacmd_ID_paste_next = 111; -static int32_t fcoder_metacmd_ID_paste_next_and_indent = 112; -static int32_t fcoder_metacmd_ID_place_in_scope = 113; -static int32_t fcoder_metacmd_ID_project_fkey_command = 114; -static int32_t fcoder_metacmd_ID_project_go_to_root_directory = 115; -static int32_t fcoder_metacmd_ID_query_replace = 116; -static int32_t fcoder_metacmd_ID_query_replace_identifier = 117; -static int32_t fcoder_metacmd_ID_query_replace_selection = 118; -static int32_t fcoder_metacmd_ID_redo = 119; -static int32_t fcoder_metacmd_ID_remap_interactive = 120; -static int32_t fcoder_metacmd_ID_rename_file_query = 121; -static int32_t fcoder_metacmd_ID_reopen = 122; -static int32_t fcoder_metacmd_ID_replace_in_range = 123; -static int32_t fcoder_metacmd_ID_reverse_search = 124; -static int32_t fcoder_metacmd_ID_reverse_search_identifier = 125; -static int32_t fcoder_metacmd_ID_save = 126; -static int32_t fcoder_metacmd_ID_save_all_dirty_buffers = 127; -static int32_t fcoder_metacmd_ID_save_to_query = 128; -static int32_t fcoder_metacmd_ID_scope_absorb_down = 129; -static int32_t fcoder_metacmd_ID_search = 130; -static int32_t fcoder_metacmd_ID_search_identifier = 131; -static int32_t fcoder_metacmd_ID_seek_alphanumeric_left = 132; -static int32_t fcoder_metacmd_ID_seek_alphanumeric_or_camel_left = 133; -static int32_t fcoder_metacmd_ID_seek_alphanumeric_or_camel_right = 134; -static int32_t fcoder_metacmd_ID_seek_alphanumeric_right = 135; -static int32_t fcoder_metacmd_ID_seek_beginning_of_line = 136; -static int32_t fcoder_metacmd_ID_seek_beginning_of_textual_line = 137; -static int32_t fcoder_metacmd_ID_seek_end_of_line = 138; -static int32_t fcoder_metacmd_ID_seek_end_of_textual_line = 139; -static int32_t fcoder_metacmd_ID_seek_token_left = 140; -static int32_t fcoder_metacmd_ID_seek_token_right = 141; -static int32_t fcoder_metacmd_ID_seek_white_or_token_left = 142; -static int32_t fcoder_metacmd_ID_seek_white_or_token_right = 143; -static int32_t fcoder_metacmd_ID_seek_whitespace_down = 144; -static int32_t fcoder_metacmd_ID_seek_whitespace_down_end_line = 145; -static int32_t fcoder_metacmd_ID_seek_whitespace_left = 146; -static int32_t fcoder_metacmd_ID_seek_whitespace_right = 147; -static int32_t fcoder_metacmd_ID_seek_whitespace_up = 148; -static int32_t fcoder_metacmd_ID_seek_whitespace_up_end_line = 149; -static int32_t fcoder_metacmd_ID_select_all = 150; -static int32_t fcoder_metacmd_ID_set_bindings_choose = 151; -static int32_t fcoder_metacmd_ID_set_bindings_default = 152; -static int32_t fcoder_metacmd_ID_set_bindings_mac_default = 153; -static int32_t fcoder_metacmd_ID_set_mark = 154; -static int32_t fcoder_metacmd_ID_setup_build_bat = 155; -static int32_t fcoder_metacmd_ID_setup_build_bat_and_sh = 156; -static int32_t fcoder_metacmd_ID_setup_build_sh = 157; -static int32_t fcoder_metacmd_ID_setup_new_project = 158; -static int32_t fcoder_metacmd_ID_show_filebar = 159; -static int32_t fcoder_metacmd_ID_show_scrollbar = 160; -static int32_t fcoder_metacmd_ID_snipe_token_or_word = 161; -static int32_t fcoder_metacmd_ID_snipe_token_or_word_right = 162; -static int32_t fcoder_metacmd_ID_suppress_mouse = 163; -static int32_t fcoder_metacmd_ID_swap_buffers_between_panels = 164; -static int32_t fcoder_metacmd_ID_to_lowercase = 165; -static int32_t fcoder_metacmd_ID_to_uppercase = 166; -static int32_t fcoder_metacmd_ID_toggle_filebar = 167; -static int32_t fcoder_metacmd_ID_toggle_fullscreen = 168; -static int32_t fcoder_metacmd_ID_toggle_line_wrap = 169; -static int32_t fcoder_metacmd_ID_toggle_mouse = 170; -static int32_t fcoder_metacmd_ID_toggle_show_whitespace = 171; -static int32_t fcoder_metacmd_ID_toggle_virtual_whitespace = 172; -static int32_t fcoder_metacmd_ID_undo = 173; -static int32_t fcoder_metacmd_ID_view_buffer_other_panel = 174; -static int32_t fcoder_metacmd_ID_word_complete = 175; -static int32_t fcoder_metacmd_ID_write_and_auto_tab = 176; -static int32_t fcoder_metacmd_ID_write_block = 177; -static int32_t fcoder_metacmd_ID_write_character = 178; -static int32_t fcoder_metacmd_ID_write_hack = 179; -static int32_t fcoder_metacmd_ID_write_note = 180; -static int32_t fcoder_metacmd_ID_write_todo = 181; -static int32_t fcoder_metacmd_ID_write_underscore = 182; -static int32_t fcoder_metacmd_ID_write_zero_struct = 183; +static int32_t fcoder_metacmd_ID_kill_rect = 69; +static int32_t fcoder_metacmd_ID_left_adjust_view = 70; +static int32_t fcoder_metacmd_ID_list_all_functions_current_buffer = 71; +static int32_t fcoder_metacmd_ID_list_all_locations = 72; +static int32_t fcoder_metacmd_ID_list_all_locations_case_insensitive = 73; +static int32_t fcoder_metacmd_ID_list_all_locations_of_identifier = 74; +static int32_t fcoder_metacmd_ID_list_all_locations_of_identifier_case_insensitive = 75; +static int32_t fcoder_metacmd_ID_list_all_locations_of_selection = 76; +static int32_t fcoder_metacmd_ID_list_all_locations_of_selection_case_insensitive = 77; +static int32_t fcoder_metacmd_ID_list_all_locations_of_type_definition = 78; +static int32_t fcoder_metacmd_ID_list_all_locations_of_type_definition_of_identifier = 79; +static int32_t fcoder_metacmd_ID_list_all_substring_locations = 80; +static int32_t fcoder_metacmd_ID_list_all_substring_locations_case_insensitive = 81; +static int32_t fcoder_metacmd_ID_load_project = 82; +static int32_t fcoder_metacmd_ID_make_directory_query = 83; +static int32_t fcoder_metacmd_ID_miblo_decrement_basic = 84; +static int32_t fcoder_metacmd_ID_miblo_decrement_time_stamp = 85; +static int32_t fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 86; +static int32_t fcoder_metacmd_ID_miblo_increment_basic = 87; +static int32_t fcoder_metacmd_ID_miblo_increment_time_stamp = 88; +static int32_t fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 89; +static int32_t fcoder_metacmd_ID_move_down = 90; +static int32_t fcoder_metacmd_ID_move_down_10 = 91; +static int32_t fcoder_metacmd_ID_move_down_textual = 92; +static int32_t fcoder_metacmd_ID_move_left = 93; +static int32_t fcoder_metacmd_ID_move_line_down = 94; +static int32_t fcoder_metacmd_ID_move_line_up = 95; +static int32_t fcoder_metacmd_ID_move_right = 96; +static int32_t fcoder_metacmd_ID_move_up = 97; +static int32_t fcoder_metacmd_ID_move_up_10 = 98; +static int32_t fcoder_metacmd_ID_multi_line_edit = 99; +static int32_t fcoder_metacmd_ID_newline_or_goto_position_direct = 100; +static int32_t fcoder_metacmd_ID_newline_or_goto_position_same_panel_direct = 101; +static int32_t fcoder_metacmd_ID_newline_or_goto_position_same_panel_sticky = 102; +static int32_t fcoder_metacmd_ID_newline_or_goto_position_sticky = 103; +static int32_t fcoder_metacmd_ID_open_all_code = 104; +static int32_t fcoder_metacmd_ID_open_all_code_recursive = 105; +static int32_t fcoder_metacmd_ID_open_color_tweaker = 106; +static int32_t fcoder_metacmd_ID_open_file_in_quotes = 107; +static int32_t fcoder_metacmd_ID_open_in_other = 108; +static int32_t fcoder_metacmd_ID_open_long_braces = 109; +static int32_t fcoder_metacmd_ID_open_long_braces_break = 110; +static int32_t fcoder_metacmd_ID_open_long_braces_semicolon = 111; +static int32_t fcoder_metacmd_ID_open_matching_file_cpp = 112; +static int32_t fcoder_metacmd_ID_open_panel_hsplit = 113; +static int32_t fcoder_metacmd_ID_open_panel_vsplit = 114; +static int32_t fcoder_metacmd_ID_page_down = 115; +static int32_t fcoder_metacmd_ID_page_up = 116; +static int32_t fcoder_metacmd_ID_paste = 117; +static int32_t fcoder_metacmd_ID_paste_and_indent = 118; +static int32_t fcoder_metacmd_ID_paste_next = 119; +static int32_t fcoder_metacmd_ID_paste_next_and_indent = 120; +static int32_t fcoder_metacmd_ID_place_in_scope = 121; +static int32_t fcoder_metacmd_ID_project_fkey_command = 122; +static int32_t fcoder_metacmd_ID_project_go_to_root_directory = 123; +static int32_t fcoder_metacmd_ID_query_replace = 124; +static int32_t fcoder_metacmd_ID_query_replace_identifier = 125; +static int32_t fcoder_metacmd_ID_query_replace_selection = 126; +static int32_t fcoder_metacmd_ID_redo = 127; +static int32_t fcoder_metacmd_ID_remap_interactive = 128; +static int32_t fcoder_metacmd_ID_rename_file_query = 129; +static int32_t fcoder_metacmd_ID_rename_parameter = 130; +static int32_t fcoder_metacmd_ID_reopen = 131; +static int32_t fcoder_metacmd_ID_replace_all_occurrences = 132; +static int32_t fcoder_metacmd_ID_replace_in_range = 133; +static int32_t fcoder_metacmd_ID_reverse_search = 134; +static int32_t fcoder_metacmd_ID_reverse_search_identifier = 135; +static int32_t fcoder_metacmd_ID_save = 136; +static int32_t fcoder_metacmd_ID_save_all_dirty_buffers = 137; +static int32_t fcoder_metacmd_ID_save_to_query = 138; +static int32_t fcoder_metacmd_ID_scope_absorb_down = 139; +static int32_t fcoder_metacmd_ID_search = 140; +static int32_t fcoder_metacmd_ID_search_identifier = 141; +static int32_t fcoder_metacmd_ID_seek_alphanumeric_left = 142; +static int32_t fcoder_metacmd_ID_seek_alphanumeric_or_camel_left = 143; +static int32_t fcoder_metacmd_ID_seek_alphanumeric_or_camel_right = 144; +static int32_t fcoder_metacmd_ID_seek_alphanumeric_right = 145; +static int32_t fcoder_metacmd_ID_seek_beginning_of_line = 146; +static int32_t fcoder_metacmd_ID_seek_beginning_of_textual_line = 147; +static int32_t fcoder_metacmd_ID_seek_end_of_line = 148; +static int32_t fcoder_metacmd_ID_seek_end_of_textual_line = 149; +static int32_t fcoder_metacmd_ID_seek_token_left = 150; +static int32_t fcoder_metacmd_ID_seek_token_right = 151; +static int32_t fcoder_metacmd_ID_seek_white_or_token_left = 152; +static int32_t fcoder_metacmd_ID_seek_white_or_token_right = 153; +static int32_t fcoder_metacmd_ID_seek_whitespace_down = 154; +static int32_t fcoder_metacmd_ID_seek_whitespace_down_end_line = 155; +static int32_t fcoder_metacmd_ID_seek_whitespace_left = 156; +static int32_t fcoder_metacmd_ID_seek_whitespace_right = 157; +static int32_t fcoder_metacmd_ID_seek_whitespace_up = 158; +static int32_t fcoder_metacmd_ID_seek_whitespace_up_end_line = 159; +static int32_t fcoder_metacmd_ID_select_all = 160; +static int32_t fcoder_metacmd_ID_set_bindings_choose = 161; +static int32_t fcoder_metacmd_ID_set_bindings_default = 162; +static int32_t fcoder_metacmd_ID_set_bindings_mac_default = 163; +static int32_t fcoder_metacmd_ID_set_mark = 164; +static int32_t fcoder_metacmd_ID_setup_build_bat = 165; +static int32_t fcoder_metacmd_ID_setup_build_bat_and_sh = 166; +static int32_t fcoder_metacmd_ID_setup_build_sh = 167; +static int32_t fcoder_metacmd_ID_setup_new_project = 168; +static int32_t fcoder_metacmd_ID_show_filebar = 169; +static int32_t fcoder_metacmd_ID_show_scrollbar = 170; +static int32_t fcoder_metacmd_ID_snipe_token_or_word = 171; +static int32_t fcoder_metacmd_ID_snipe_token_or_word_right = 172; +static int32_t fcoder_metacmd_ID_suppress_mouse = 173; +static int32_t fcoder_metacmd_ID_swap_buffers_between_panels = 174; +static int32_t fcoder_metacmd_ID_to_lowercase = 175; +static int32_t fcoder_metacmd_ID_to_uppercase = 176; +static int32_t fcoder_metacmd_ID_toggle_filebar = 177; +static int32_t fcoder_metacmd_ID_toggle_fullscreen = 178; +static int32_t fcoder_metacmd_ID_toggle_line_wrap = 179; +static int32_t fcoder_metacmd_ID_toggle_mouse = 180; +static int32_t fcoder_metacmd_ID_toggle_show_whitespace = 181; +static int32_t fcoder_metacmd_ID_toggle_virtual_whitespace = 182; +static int32_t fcoder_metacmd_ID_undo = 183; +static int32_t fcoder_metacmd_ID_view_buffer_other_panel = 184; +static int32_t fcoder_metacmd_ID_word_complete = 185; +static int32_t fcoder_metacmd_ID_write_and_auto_tab = 186; +static int32_t fcoder_metacmd_ID_write_block = 187; +static int32_t fcoder_metacmd_ID_write_character = 188; +static int32_t fcoder_metacmd_ID_write_explicit_enum_flags = 189; +static int32_t fcoder_metacmd_ID_write_explicit_enum_values = 190; +static int32_t fcoder_metacmd_ID_write_hack = 191; +static int32_t fcoder_metacmd_ID_write_note = 192; +static int32_t fcoder_metacmd_ID_write_todo = 193; +static int32_t fcoder_metacmd_ID_write_underscore = 194; +static int32_t fcoder_metacmd_ID_write_zero_struct = 195; #endif diff --git a/4coder_project_commands.cpp b/4coder_project_commands.cpp index 15f035af..4b580139 100644 --- a/4coder_project_commands.cpp +++ b/4coder_project_commands.cpp @@ -315,6 +315,20 @@ parse_project__extract_pattern_array(Partition *arena, Config *parsed, } } +static Project_OS_Match_Level +parse_project__version_1__os_match(String str, String this_os_str){ + if (match(str, this_os_str)){ + return(ProjectOSMatchLevel_ActiveMatch); + } + else if (match(str, make_lit_string("all"))){ + return(ProjectOSMatchLevel_ActiveMatch); + } + else if (match(str, make_lit_string("default"))){ + return(ProjectOSMatchLevel_PassiveMatch); + } + return(ProjectOSMatchLevel_NoMatch); +} + static Project* parse_project__config_data__version_1(Partition *arena, String root_dir, Config *parsed){ Project *project = push_array(arena, Project, 1); @@ -349,6 +363,9 @@ parse_project__config_data__version_1(Partition *arena, String root_dir, Config { Config_Compound *compound = 0; if (config_compound_var(parsed, "load_paths", 0, &compound)){ + bool32 found_match = false; + Config_Compound *best_paths = 0; + for (int32_t i = 0;; ++i){ Config_Iteration_Step_Result result = typed_array_iteration_step(parsed, compound, ConfigRValueType_Compound, i); if (result.step == Iteration_Skip){ @@ -359,43 +376,48 @@ parse_project__config_data__version_1(Partition *arena, String root_dir, Config } Config_Compound *paths_option = result.get.compound; - bool32 use_this_option = false; - Config_Compound *paths = 0; if (config_compound_compound_member(parsed, paths_option, "paths", 0, &paths)){ String str = {0}; if (config_compound_string_member(parsed, paths_option, "os", 1, &str)){ - if (match(str, make_lit_string(PlatformName))){ - use_this_option = true; + Project_OS_Match_Level r = parse_project__version_1__os_match(str, make_lit_string(PlatformName)); + if (r == ProjectOSMatchLevel_ActiveMatch){ + found_match = true; + best_paths = paths; + break; + } + else if (r == ProjectOSMatchLevel_PassiveMatch){ + if (!found_match){ + found_match = true; + best_paths = paths; + } } } } + } + + if (found_match){ + Config_Get_Result_List list = typed_compound_array_reference_list(arena, parsed, best_paths); - if (use_this_option){ - Config_Get_Result_List list = typed_compound_array_reference_list(arena, parsed, paths); + project->load_path_array.paths = push_array(arena, Project_File_Load_Path, list.count); + project->load_path_array.count = list.count; + + Project_File_Load_Path *dst = project->load_path_array.paths; + for (Config_Get_Result_Node *node = list.first; + node != 0; + node = node->next, ++dst){ + Config_Compound *src = node->result.compound; + memset(dst, 0, sizeof(*dst)); + dst->recursive = true; + dst->relative = true; - project->load_path_array.paths = push_array(arena, Project_File_Load_Path, list.count); - project->load_path_array.count = list.count; - - Project_File_Load_Path *dst = project->load_path_array.paths; - for (Config_Get_Result_Node *node = list.first; - node != 0; - node = node->next, ++dst){ - Config_Compound *src = node->result.compound; - memset(dst, 0, sizeof(*dst)); - dst->recursive = true; - dst->relative = true; - - String str = {0}; - if (config_compound_string_member(parsed, src, "path", 0, &str)){ - dst->path = push_string_copy(arena, str); - } - - config_compound_bool_member(parsed, src, "recursive", 1, &dst->recursive); - config_compound_bool_member(parsed, src, "relative", 2, &dst->relative); + String str = {0}; + if (config_compound_string_member(parsed, src, "path", 0, &str)){ + dst->path = push_string_copy(arena, str); } - break; + config_compound_bool_member(parsed, src, "recursive", 1, &dst->recursive); + config_compound_bool_member(parsed, src, "relative", 2, &dst->relative); } } } @@ -459,23 +481,24 @@ parse_project__config_data__version_1(Partition *arena, String root_dir, Config } Config_Compound *cmd_option = result.get.compound; - bool32 use_this_option = false; - String cmd = {0}; if (config_compound_string_member(parsed, cmd_option, "cmd", 0, &cmd)){ String str = {0}; if (config_compound_string_member(parsed, cmd_option, "os", 1, &str)){ - if (match(str, make_lit_string(PlatformName))){ - use_this_option = true; + Project_OS_Match_Level r = parse_project__version_1__os_match(str, make_lit_string(PlatformName)); + if (r == ProjectOSMatchLevel_ActiveMatch){ + can_emit_command = true; + cmd_str = cmd; + break; + } + else if (r == ProjectOSMatchLevel_PassiveMatch){ + if (!can_emit_command){ + can_emit_command = true; + cmd_str = cmd; + } } } } - - if (use_this_option){ - can_emit_command = true; - cmd_str = cmd; - break; - } } if (!can_emit_command){ @@ -938,21 +961,11 @@ set_current_project_from_nearest_project_file(Application_Links *app, Partition } static void -exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ - if (!current_project.loaded){ - return; - } - - int32_t command_index = current_project.fkey_commands[fkey_index]; - if (command_index < 0 || command_index >= current_project.command_array.count){ - return; - } - - Project_Command *fkey = ¤t_project.command_array.commands[command_index]; - if (fkey->cmd.size > 0){ - bool32 footer_panel = fkey->footer_panel; - bool32 save_dirty_files = fkey->save_dirty_files; - bool32 cursor_at_end = fkey->cursor_at_end; +exec_project_command(Application_Links *app, Project_Command *command){ + if (command->cmd.size > 0){ + bool32 footer_panel = command->footer_panel; + bool32 save_dirty_files = command->save_dirty_files; + bool32 cursor_at_end = command->cursor_at_end; if (save_dirty_files){ save_all_dirty_buffers(app); @@ -967,12 +980,12 @@ exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ } bool32 set_fancy_font = false; - if (fkey->out.size > 0){ - buffer_id = buffer_identifier(fkey->out.str, fkey->out.size); + if (command->out.size > 0){ + buffer_id = buffer_identifier(command->out.str, command->out.size); if (footer_panel){ view = get_or_open_build_panel(app); - if (match(fkey->out, "*compilation*")){ + if (match(command->out, "*compilation*")){ set_fancy_font = true; } } @@ -982,7 +995,7 @@ exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ view_ptr = &view; memset(&prev_location, 0, sizeof(prev_location)); - lock_jump_buffer(fkey->out.str, fkey->out.size); + lock_jump_buffer(command->out.str, command->out.size); } else{ // TODO(allen): fix the exec_system_command call so it can take a null buffer_id. @@ -990,7 +1003,7 @@ exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ } String dir = current_project.dir; - String cmd = fkey->cmd; + String cmd = command->cmd; exec_system_command(app, view_ptr, buffer_id, dir.str, dir.size, cmd.str, cmd.size, flags); if (set_fancy_font){ set_fancy_compilation_buffer_font(app); @@ -998,6 +1011,38 @@ exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ } } +static void +exec_project_fkey_command(Application_Links *app, int32_t fkey_index){ + if (!current_project.loaded){ + return; + } + int32_t command_index = current_project.fkey_commands[fkey_index]; + if (command_index < 0 || command_index >= current_project.command_array.count){ + return; + } + Project_Command *fkey = ¤t_project.command_array.commands[command_index]; + exec_project_command(app, fkey); +} + +static void +exec_project_command_by_name(Application_Links *app, String name){ + if (!current_project.loaded){ + return; + } + Project_Command *command = current_project.command_array.commands; + for (int32_t i = 0; i < current_project.command_array.count; ++i, ++command){ + if (match(command->name, name)){ + exec_project_command(app, command); + break; + } + } +} + +static void +exec_project_command_by_name(Application_Links *app, char *name){ + exec_project_command_by_name(app, make_string_slowly(name)); +} + //////////////////////////////// CUSTOM_COMMAND_SIG(close_all_code) diff --git a/4coder_project_commands.h b/4coder_project_commands.h index 7a9638f4..904d9804 100644 --- a/4coder_project_commands.h +++ b/4coder_project_commands.h @@ -63,6 +63,13 @@ struct Project{ int32_t fkey_commands[16]; }; +typedef int32_t Project_OS_Match_Level; +enum{ + ProjectOSMatchLevel_NoMatch = 0, + ProjectOSMatchLevel_PassiveMatch = 1, + ProjectOSMatchLevel_ActiveMatch = 2, +}; + struct Project_Parse_Result{ Config *parsed; Project *project; diff --git a/4coder_search.cpp b/4coder_search.cpp index 01015023..08ee3af6 100644 --- a/4coder_search.cpp +++ b/4coder_search.cpp @@ -496,7 +496,7 @@ initialize_generic_search_all_buffers(Application_Links *app, General_Memory *ge // TODO(allen): Why on earth am I allocating these separately in this case? Upgrade to just use the string array on the stack! search_key_alloc(general, &key, sizes, count); for (int32_t i = 0; i < count; ++i){ - copy_ss(&key.words[i], strings[i]); + copy(&key.words[i], strings[i]); } search_iter_init(iter, key); diff --git a/4ed_gui.cpp b/4ed_gui.cpp index a3f87f5f..fc588d32 100644 --- a/4ed_gui.cpp +++ b/4ed_gui.cpp @@ -360,8 +360,8 @@ gui_do_color_button(GUI_Target *target, GUI_id id, u32 fore, u32 back, String te internal b32 gui_begin_list(GUI_Target *target, GUI_id id, i32 list_i, b32 activate_item, b32 snap_into_view, GUI_Item_Update *update){ - b32 result = 0; - b32 active = 0; + b32 result = false; + b32 active = false; i32 list_min = 0; i32 list_max = target->list_max; @@ -373,8 +373,8 @@ gui_begin_list(GUI_Target *target, GUI_id id, i32 list_i, result = target->has_keys || target->has_list_index_position; if (gui_id_eq(id, target->active)){ - active = 1; - result = 1; + active = true; + result = true; } if (snap_into_view){ @@ -388,18 +388,30 @@ gui_begin_list(GUI_Target *target, GUI_id id, i32 list_i, if (list_max > 0){ if (list_i < list_min || list_i >= list_max){ - result = 1; + result = true; } } if (result){ gui_fill_update(update, target, h); if (list_i < list_min){ - gui_update_adjustment(update, list_min); + if (list_max > 0){ + i32 range_size = list_max - list_min; + i32 roll_down = (list_min - list_i)%range_size; + if (roll_down == 0){ + roll_down = range_size; + } + gui_update_adjustment(update, list_max - roll_down); + } + else{ + gui_update_adjustment(update, 0); + } } else if (list_i >= list_max){ if (list_max > 0){ - gui_update_adjustment(update, list_max - 1); + i32 range_size = list_max - list_min; + i32 roll_over = (list_i - list_max)%range_size; + gui_update_adjustment(update, list_min + roll_over); } else{ gui_update_adjustment(update, 0); diff --git a/meta/4ed_build.cpp b/meta/4ed_build.cpp index ba4dbca2..17ad8a9f 100644 --- a/meta/4ed_build.cpp +++ b/meta/4ed_build.cpp @@ -421,11 +421,14 @@ build(u32 flags, u32 arch, char *code_path, char *code_file, char *out_path, cha // TODO(NAME): build metadata fully from C++ and eliminate build_metadata.bat and build_metadata.sh +internal void +build_metadata(void){ + systemf("%s \"..%scode%s4coder_default_bindings.cpp\"", "build_metadata" BAT, SLASH, SLASH); +} + internal void site_build(char *cdir, u32 flags){ - { - systemf("%s \"..%scode%s4coder_default_bindings.cpp\"", "build_metadata" BAT, SLASH, SLASH); - } + build_metadata(); { char *file = fm_str("site/4ed_sitegen.cpp"); @@ -582,8 +585,8 @@ internal void standard_build(char *cdir, u32 flags, u32 arch){ fsm_generator(cdir); metagen(cdir); - do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); - //do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); + //do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); + do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_Casey]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_ChronalVim]), arch); build_main(cdir, true, flags, arch); @@ -639,6 +642,7 @@ package(char *cdir){ char *fonts_dir = fm_str(dir, "/fonts"); char *zip_dir = fm_str(pack_dir, "/", tier, "_", arch_names[arch]); + build_metadata(); build_main(cdir, false, flags, arch); fm_clear_folder(par_dir);