From 782e3d9ede0b16db33b653bca6f98006106a3987 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 16 Jun 2018 15:07:34 -0700 Subject: [PATCH] Fixed problems with build_metadata.sh --- 4coder_generated/command_metadata.h | 577 ++++++++++++++++++++++++++++ build_metadata.sh | 38 +- meta/4ed_build.cpp | 3 +- 3 files changed, 615 insertions(+), 3 deletions(-) create mode 100644 4coder_generated/command_metadata.h diff --git a/4coder_generated/command_metadata.h b/4coder_generated/command_metadata.h new file mode 100644 index 00000000..d4732ae5 --- /dev/null +++ b/4coder_generated/command_metadata.h @@ -0,0 +1,577 @@ +#if !defined(NO_COMMAND_METADATA) +#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 +#if defined(CUSTOM_COMMAND_SIG) +#define PROC_LINKS(x,y) x +#else +#define PROC_LINKS(x,y) y +#endif +#if defined(CUSTOM_COMMAND_SIG) +CUSTOM_COMMAND_SIG(allow_mouse); +CUSTOM_COMMAND_SIG(auto_tab_line_at_cursor); +CUSTOM_COMMAND_SIG(auto_tab_range); +CUSTOM_COMMAND_SIG(auto_tab_whole_file); +CUSTOM_COMMAND_SIG(backspace_char); +CUSTOM_COMMAND_SIG(backspace_word); +CUSTOM_COMMAND_SIG(basic_change_active_panel); +CUSTOM_COMMAND_SIG(build_in_build_panel); +CUSTOM_COMMAND_SIG(build_search); +CUSTOM_COMMAND_SIG(center_view); +CUSTOM_COMMAND_SIG(change_active_panel); +CUSTOM_COMMAND_SIG(change_active_panel_backwards); +CUSTOM_COMMAND_SIG(change_to_build_panel); +CUSTOM_COMMAND_SIG(clean_all_lines); +CUSTOM_COMMAND_SIG(click_set_cursor); +CUSTOM_COMMAND_SIG(click_set_mark); +CUSTOM_COMMAND_SIG(close_all_code); +CUSTOM_COMMAND_SIG(close_build_panel); +CUSTOM_COMMAND_SIG(close_panel); +CUSTOM_COMMAND_SIG(copy); +CUSTOM_COMMAND_SIG(cursor_mark_swap); +CUSTOM_COMMAND_SIG(cut); +CUSTOM_COMMAND_SIG(decrease_face_size); +CUSTOM_COMMAND_SIG(decrease_line_wrap); +CUSTOM_COMMAND_SIG(delete_char); +CUSTOM_COMMAND_SIG(delete_current_scope); +CUSTOM_COMMAND_SIG(delete_file_query); +CUSTOM_COMMAND_SIG(delete_line); +CUSTOM_COMMAND_SIG(delete_range); +CUSTOM_COMMAND_SIG(delete_word); +CUSTOM_COMMAND_SIG(duplicate_line); +CUSTOM_COMMAND_SIG(eol_dosify); +CUSTOM_COMMAND_SIG(eol_nixify); +CUSTOM_COMMAND_SIG(execute_any_cli); +CUSTOM_COMMAND_SIG(execute_arbitrary_command); +CUSTOM_COMMAND_SIG(execute_previous_cli); +CUSTOM_COMMAND_SIG(exit_4coder); +CUSTOM_COMMAND_SIG(goto_beginning_of_file); +CUSTOM_COMMAND_SIG(goto_end_of_file); +CUSTOM_COMMAND_SIG(goto_first_jump_direct); +CUSTOM_COMMAND_SIG(goto_first_jump_same_panel_sticky); +CUSTOM_COMMAND_SIG(goto_first_jump_sticky); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor_direct); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor_same_panel_direct); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor_same_panel_sticky); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor_sticky); +CUSTOM_COMMAND_SIG(goto_line); +CUSTOM_COMMAND_SIG(goto_next_jump_direct); +CUSTOM_COMMAND_SIG(goto_next_jump_no_skips_direct); +CUSTOM_COMMAND_SIG(goto_next_jump_no_skips_sticky); +CUSTOM_COMMAND_SIG(goto_next_jump_sticky); +CUSTOM_COMMAND_SIG(goto_prev_jump_direct); +CUSTOM_COMMAND_SIG(goto_prev_jump_no_skips_direct); +CUSTOM_COMMAND_SIG(goto_prev_jump_no_skips_sticky); +CUSTOM_COMMAND_SIG(goto_prev_jump_sticky); +CUSTOM_COMMAND_SIG(hide_filebar); +CUSTOM_COMMAND_SIG(hide_scrollbar); +CUSTOM_COMMAND_SIG(highlight_next_scope_absolute); +CUSTOM_COMMAND_SIG(highlight_prev_scope_absolute); +CUSTOM_COMMAND_SIG(highlight_surrounding_scope); +CUSTOM_COMMAND_SIG(if0_off); +CUSTOM_COMMAND_SIG(increase_face_size); +CUSTOM_COMMAND_SIG(increase_line_wrap); +CUSTOM_COMMAND_SIG(interactive_kill_buffer); +CUSTOM_COMMAND_SIG(interactive_new); +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(left_adjust_view); +CUSTOM_COMMAND_SIG(list_all_functions_current_buffer); +CUSTOM_COMMAND_SIG(list_all_locations); +CUSTOM_COMMAND_SIG(list_all_locations_case_insensitive); +CUSTOM_COMMAND_SIG(list_all_locations_of_identifier); +CUSTOM_COMMAND_SIG(list_all_locations_of_identifier_case_insensitive); +CUSTOM_COMMAND_SIG(list_all_locations_of_selection); +CUSTOM_COMMAND_SIG(list_all_locations_of_selection_case_insensitive); +CUSTOM_COMMAND_SIG(list_all_locations_of_type_definition); +CUSTOM_COMMAND_SIG(list_all_locations_of_type_definition_of_identifier); +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(move_down); +CUSTOM_COMMAND_SIG(move_down_10); +CUSTOM_COMMAND_SIG(move_down_textual); +CUSTOM_COMMAND_SIG(move_left); +CUSTOM_COMMAND_SIG(move_line_down); +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(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); +CUSTOM_COMMAND_SIG(newline_or_goto_position_sticky); +CUSTOM_COMMAND_SIG(open_all_code); +CUSTOM_COMMAND_SIG(open_all_code_recursive); +CUSTOM_COMMAND_SIG(open_color_tweaker); +CUSTOM_COMMAND_SIG(open_file_in_quotes); +CUSTOM_COMMAND_SIG(open_in_other); +CUSTOM_COMMAND_SIG(open_long_braces); +CUSTOM_COMMAND_SIG(open_long_braces_break); +CUSTOM_COMMAND_SIG(open_long_braces_semicolon); +CUSTOM_COMMAND_SIG(open_matching_file_cpp); +CUSTOM_COMMAND_SIG(open_panel_hsplit); +CUSTOM_COMMAND_SIG(open_panel_vsplit); +CUSTOM_COMMAND_SIG(page_down); +CUSTOM_COMMAND_SIG(page_up); +CUSTOM_COMMAND_SIG(paste); +CUSTOM_COMMAND_SIG(paste_and_indent); +CUSTOM_COMMAND_SIG(paste_next); +CUSTOM_COMMAND_SIG(paste_next_and_indent); +CUSTOM_COMMAND_SIG(place_in_scope); +CUSTOM_COMMAND_SIG(project_fkey_command); +CUSTOM_COMMAND_SIG(project_go_to_root_directory); +CUSTOM_COMMAND_SIG(query_replace); +CUSTOM_COMMAND_SIG(query_replace_identifier); +CUSTOM_COMMAND_SIG(query_replace_selection); +CUSTOM_COMMAND_SIG(redo); +CUSTOM_COMMAND_SIG(remap_interactive); +CUSTOM_COMMAND_SIG(rename_file_query); +CUSTOM_COMMAND_SIG(reopen); +CUSTOM_COMMAND_SIG(replace_in_range); +CUSTOM_COMMAND_SIG(reverse_search); +CUSTOM_COMMAND_SIG(reverse_search_identifier); +CUSTOM_COMMAND_SIG(save); +CUSTOM_COMMAND_SIG(save_all_dirty_buffers); +CUSTOM_COMMAND_SIG(save_to_query); +CUSTOM_COMMAND_SIG(scope_absorb_down); +CUSTOM_COMMAND_SIG(search); +CUSTOM_COMMAND_SIG(search_identifier); +CUSTOM_COMMAND_SIG(seek_alphanumeric_left); +CUSTOM_COMMAND_SIG(seek_alphanumeric_or_camel_left); +CUSTOM_COMMAND_SIG(seek_alphanumeric_or_camel_right); +CUSTOM_COMMAND_SIG(seek_alphanumeric_right); +CUSTOM_COMMAND_SIG(seek_beginning_of_line); +CUSTOM_COMMAND_SIG(seek_beginning_of_textual_line); +CUSTOM_COMMAND_SIG(seek_end_of_line); +CUSTOM_COMMAND_SIG(seek_end_of_textual_line); +CUSTOM_COMMAND_SIG(seek_token_left); +CUSTOM_COMMAND_SIG(seek_token_right); +CUSTOM_COMMAND_SIG(seek_white_or_token_left); +CUSTOM_COMMAND_SIG(seek_white_or_token_right); +CUSTOM_COMMAND_SIG(seek_whitespace_down); +CUSTOM_COMMAND_SIG(seek_whitespace_down_end_line); +CUSTOM_COMMAND_SIG(seek_whitespace_left); +CUSTOM_COMMAND_SIG(seek_whitespace_right); +CUSTOM_COMMAND_SIG(seek_whitespace_up); +CUSTOM_COMMAND_SIG(seek_whitespace_up_end_line); +CUSTOM_COMMAND_SIG(select_all); +CUSTOM_COMMAND_SIG(set_bindings_choose); +CUSTOM_COMMAND_SIG(set_bindings_default); +CUSTOM_COMMAND_SIG(set_bindings_mac_default); +CUSTOM_COMMAND_SIG(set_mark); +CUSTOM_COMMAND_SIG(setup_build_bat); +CUSTOM_COMMAND_SIG(setup_build_bat_and_sh); +CUSTOM_COMMAND_SIG(setup_build_sh); +CUSTOM_COMMAND_SIG(setup_new_project); +CUSTOM_COMMAND_SIG(show_filebar); +CUSTOM_COMMAND_SIG(show_scrollbar); +CUSTOM_COMMAND_SIG(snipe_token_or_word); +CUSTOM_COMMAND_SIG(snipe_token_or_word_right); +CUSTOM_COMMAND_SIG(suppress_mouse); +CUSTOM_COMMAND_SIG(swap_buffers_between_panels); +CUSTOM_COMMAND_SIG(to_lowercase); +CUSTOM_COMMAND_SIG(to_uppercase); +CUSTOM_COMMAND_SIG(toggle_filebar); +CUSTOM_COMMAND_SIG(toggle_fullscreen); +CUSTOM_COMMAND_SIG(toggle_line_wrap); +CUSTOM_COMMAND_SIG(toggle_mouse); +CUSTOM_COMMAND_SIG(toggle_show_whitespace); +CUSTOM_COMMAND_SIG(toggle_virtual_whitespace); +CUSTOM_COMMAND_SIG(undo); +CUSTOM_COMMAND_SIG(view_buffer_other_panel); +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_hack); +CUSTOM_COMMAND_SIG(write_note); +CUSTOM_COMMAND_SIG(write_todo); +CUSTOM_COMMAND_SIG(write_underscore); +CUSTOM_COMMAND_SIG(write_zero_struct); +#endif +struct Command_Metadata{ +PROC_LINKS(Custom_Command_Function, void) *proc; +char *name; +int32_t name_len; +char *description; +int32_t description_len; +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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14301 }, +{ PROC_LINKS(auto_tab_line_at_cursor, 0), "auto_tab_line_at_cursor", 23, "Auto-indents the line on which the cursor sits.", 47, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17816 }, +{ PROC_LINKS(auto_tab_range, 0), "auto_tab_range", 14, "Auto-indents the range between the cursor and the mark.", 55, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17827 }, +{ PROC_LINKS(auto_tab_whole_file, 0), "auto_tab_whole_file", 19, "Audo-indents the entire current buffer.", 39, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17806 }, +{ PROC_LINKS(backspace_char, 0), "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15764 }, +{ PROC_LINKS(backspace_word, 0), "backspace_word", 14, "Delete characters between the cursor position and the first alphanumeric boundary to the left.", 94, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15673 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16130 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20277 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20243 }, +{ PROC_LINKS(center_view, 0), "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15817 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14243 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14253 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20299 }, +{ PROC_LINKS(clean_all_lines, 0), "clean_all_lines", 15, "Removes trailing whitespace from all lines in the current buffer.", 65, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16065 }, +{ PROC_LINKS(click_set_cursor, 0), "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15871 }, +{ PROC_LINKS(click_set_mark, 0), "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15884 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21353 }, +{ PROC_LINKS(close_build_panel, 0), "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20293 }, +{ PROC_LINKS(close_panel, 0), "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16138 }, +{ PROC_LINKS(copy, 0), "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19957 }, +{ PROC_LINKS(cursor_mark_swap, 0), "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15792 }, +{ PROC_LINKS(cut, 0), "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19966 }, +{ PROC_LINKS(decrease_face_size, 0), "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16228 }, +{ PROC_LINKS(decrease_line_wrap, 0), "decrease_line_wrap", 18, "Decrases the current buffer's width for line wrapping.", 54, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16205 }, +{ PROC_LINKS(delete_char, 0), "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15746 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22611 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16709 }, +{ PROC_LINKS(delete_line, 0), "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16959 }, +{ PROC_LINKS(delete_range, 0), "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15804 }, +{ PROC_LINKS(delete_word, 0), "delete_word", 11, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15679 }, +{ PROC_LINKS(duplicate_line, 0), "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16937 }, +{ PROC_LINKS(eol_dosify, 0), "eol_dosify", 10, "Puts the buffer in DOS line ending mode.", 40, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16258 }, +{ PROC_LINKS(eol_nixify, 0), "eol_nixify", 10, "Puts the buffer in NIX line ending mode.", 40, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16266 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20096 }, +{ PROC_LINKS(execute_arbitrary_command, 0), "execute_arbitrary_command", 25, "Execute a 'long form' command.", 30, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23061 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20080 }, +{ PROC_LINKS(exit_4coder, 0), "exit_4coder", 11, "Attempts to close 4coder.", 25, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16274 }, +{ PROC_LINKS(goto_beginning_of_file, 0), "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15594 }, +{ PROC_LINKS(goto_end_of_file, 0), "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15601 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19282 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19862 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19844 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19206 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19227 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19694 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19666 }, +{ PROC_LINKS(goto_line, 0), "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16282 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19246 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19264 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19813 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19783 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19255 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19273 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19829 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19799 }, +{ PROC_LINKS(hide_filebar, 0), "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16168 }, +{ PROC_LINKS(hide_scrollbar, 0), "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16154 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22487 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22506 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22465 }, +{ PROC_LINKS(if0_off, 0), "if0_off", 7, "Surround the range between the cursor and mark with an '#if 0' and an '#endif'", 78, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23017 }, +{ PROC_LINKS(increase_face_size, 0), "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16216 }, +{ PROC_LINKS(increase_line_wrap, 0), "increase_line_wrap", 18, "Increases the current buffer's width for line wrapping.", 55, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16194 }, +{ PROC_LINKS(interactive_kill_buffer, 0), "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17165 }, +{ PROC_LINKS(interactive_new, 0), "interactive_new", 15, "Interactively creates a new file.", 33, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17141 }, +{ PROC_LINKS(interactive_open, 0), "interactive_open", 16, "Interactively opens a file.", 27, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17147 }, +{ PROC_LINKS(interactive_open_or_new, 0), "interactive_open_or_new", 23, "Interactively opens or creates a new file.", 42, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17153 }, +{ PROC_LINKS(interactive_switch_buffer, 0), "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17159 }, +{ PROC_LINKS(kill_buffer, 0), "kill_buffer", 11, "Kills the current buffer.", 25, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17183 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15832 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22115 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18588 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18600 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18612 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18618 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18624 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18630 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18636 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18647 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18594 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18606 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21376 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16817 }, +{ PROC_LINKS(move_down, 0), "move_down", 9, "Moves the cursor down one line.", 31, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15947 }, +{ PROC_LINKS(move_down_10, 0), "move_down_10", 12, "Moves the cursor down ten lines.", 32, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15959 }, +{ PROC_LINKS(move_down_textual, 0), "move_down_textual", 17, "Moves down to the next line of actual text, regardless of line wrapping.", 72, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15965 }, +{ PROC_LINKS(move_left, 0), "move_left", 9, "Moves the cursor one character to the left.", 43, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15996 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16914 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16850 }, +{ PROC_LINKS(move_right, 0), "move_right", 10, "Moves the cursor one character to the right.", 44, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16005 }, +{ PROC_LINKS(move_up, 0), "move_up", 7, "Moves the cursor up one line.", 29, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15941 }, +{ PROC_LINKS(move_up_10, 0), "move_up_10", 10, "Moves the cursor up ten lines.", 30, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15953 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19299 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19314 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19900 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19885 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21360 }, +{ PROC_LINKS(open_all_code_recursive, 0), "open_all_code_recursive", 23, "Works as open_all_code but also runs in all subdirectories.", 59, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21367 }, +{ PROC_LINKS(open_color_tweaker, 0), "open_color_tweaker", 18, "Opens the 4coder colors and fonts selector menu.", 48, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17189 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17036 }, +{ PROC_LINKS(open_in_other, 0), "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17197 }, +{ PROC_LINKS(open_long_braces, 0), "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22993 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23009 }, +{ PROC_LINKS(open_long_braces_semicolon, 0), "open_long_braces_semicolon", 26, "At the cursor, insert a '{' and '};' separated by a blank line.", 63, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23001 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17072 }, +{ PROC_LINKS(open_panel_hsplit, 0), "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14272 }, +{ PROC_LINKS(open_panel_vsplit, 0), "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14263 }, +{ PROC_LINKS(page_down, 0), "page_down", 9, "Scrolls the view down one view height and moves the cursor down one view height.", 80, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15985 }, +{ PROC_LINKS(page_up, 0), "page_up", 7, "Scrolls the view up one view height and moves the cursor up one view height.", 76, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15976 }, +{ PROC_LINKS(paste, 0), "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 19977 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20059 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20015 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 20066 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22605 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21383 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21408 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16609 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16629 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16647 }, +{ PROC_LINKS(redo, 0), "redo", 4, "Advances forewards through the undo history.", 44, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17135 }, +{ PROC_LINKS(remap_interactive, 0), "remap_interactive", 17, "Switch to a named key binding map.", 34, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14321 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16775 }, +{ PROC_LINKS(reopen, 0), "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17171 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16507 }, +{ PROC_LINKS(reverse_search, 0), "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16478 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16496 }, +{ PROC_LINKS(save, 0), "save", 4, "Saves the current buffer.", 25, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17177 }, +{ PROC_LINKS(save_all_dirty_buffers, 0), "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16674 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16735 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 22862 }, +{ PROC_LINKS(search, 0), "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16471 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16485 }, +{ PROC_LINKS(seek_alphanumeric_left, 0), "seek_alphanumeric_left", 22, "Seek left for boundary between alphanumeric characters and non-alphanumeric characters.", 87, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15653 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15665 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15659 }, +{ PROC_LINKS(seek_alphanumeric_right, 0), "seek_alphanumeric_right", 23, "Seek right for boundary between alphanumeric characters and non-alphanumeric characters.", 88, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15647 }, +{ PROC_LINKS(seek_beginning_of_line, 0), "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15552 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15534 }, +{ PROC_LINKS(seek_end_of_line, 0), "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15563 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15543 }, +{ PROC_LINKS(seek_token_left, 0), "seek_token_left", 15, "Seek left for the next beginning of a token.", 44, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15629 }, +{ PROC_LINKS(seek_token_right, 0), "seek_token_right", 16, "Seek right for the next end of a token.", 39, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15623 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15641 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15635 }, +{ PROC_LINKS(seek_whitespace_down, 0), "seek_whitespace_down", 20, "Seeks the cursor down to the next blank line.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15525 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15584 }, +{ PROC_LINKS(seek_whitespace_left, 0), "seek_whitespace_left", 20, "Seek left for the next boundary between whitespace and non-whitespace.", 70, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15617 }, +{ PROC_LINKS(seek_whitespace_right, 0), "seek_whitespace_right", 21, "Seek right for the next boundary between whitespace and non-whitespace.", 71, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15611 }, +{ PROC_LINKS(seek_whitespace_up, 0), "seek_whitespace_up", 18, "Seeks the cursor up to the next blank line.", 43, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15516 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15574 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16014 }, +{ PROC_LINKS(set_bindings_choose, 0), "set_bindings_choose", 19, "Remap keybindings using the 'choose' mapping rule.", 50, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 24637 }, +{ PROC_LINKS(set_bindings_default, 0), "set_bindings_default", 20, "Remap keybindings using the 'default' mapping rule.", 51, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 24651 }, +{ PROC_LINKS(set_bindings_mac_default, 0), "set_bindings_mac_default", 24, "Remap keybindings using the 'mac-default' mapping rule.", 55, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 24665 }, +{ PROC_LINKS(set_mark, 0), "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15783 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21793 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21805 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21799 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 21786 }, +{ PROC_LINKS(show_filebar, 0), "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16161 }, +{ PROC_LINKS(show_scrollbar, 0), "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16147 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15685 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15691 }, +{ PROC_LINKS(suppress_mouse, 0), "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14295 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17096 }, +{ PROC_LINKS(to_lowercase, 0), "to_lowercase", 12, "Converts all ascii text in the range between the cursor and the mark to lowercase.", 82, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16045 }, +{ PROC_LINKS(to_uppercase, 0), "to_uppercase", 12, "Converts all ascii text in the range between the cursor and the mark to uppercase.", 82, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16025 }, +{ PROC_LINKS(toggle_filebar, 0), "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16175 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14313 }, +{ PROC_LINKS(toggle_line_wrap, 0), "toggle_line_wrap", 16, "Toggles the current buffer's line wrapping status.", 50, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16184 }, +{ PROC_LINKS(toggle_mouse, 0), "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 14307 }, +{ PROC_LINKS(toggle_show_whitespace, 0), "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16251 }, +{ PROC_LINKS(toggle_virtual_whitespace, 0), "toggle_virtual_whitespace", 25, "Toggles the current buffer's virtual whitespace status.", 55, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 16240 }, +{ PROC_LINKS(undo, 0), "undo", 4, "Advances backwards through the undo history.", 44, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17129 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17086 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 18667 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 17839 }, +{ PROC_LINKS(write_block, 0), "write_block", 11, "At the cursor, insert a block comment.", 38, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23041 }, +{ PROC_LINKS(write_character, 0), "write_character", 15, "Inserts whatever character was used to trigger this command.", 60, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15730 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23029 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23035 }, +{ 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, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23023 }, +{ PROC_LINKS(write_underscore, 0), "write_underscore", 16, "Inserts an underscore.", 22, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 15739 }, +{ PROC_LINKS(write_zero_struct, 0), "write_zero_struct", 17, "At the cursor, insert a ' = {0};'.", 34, "/home/allen/4ed/build/4coder_command_metadata.i", 47, 23047 }, +}; +static int32_t fcoder_metacmd_ID_allow_mouse = 0; +static int32_t fcoder_metacmd_ID_auto_tab_line_at_cursor = 1; +static int32_t fcoder_metacmd_ID_auto_tab_range = 2; +static int32_t fcoder_metacmd_ID_auto_tab_whole_file = 3; +static int32_t fcoder_metacmd_ID_backspace_char = 4; +static int32_t fcoder_metacmd_ID_backspace_word = 5; +static int32_t fcoder_metacmd_ID_basic_change_active_panel = 6; +static int32_t fcoder_metacmd_ID_build_in_build_panel = 7; +static int32_t fcoder_metacmd_ID_build_search = 8; +static int32_t fcoder_metacmd_ID_center_view = 9; +static int32_t fcoder_metacmd_ID_change_active_panel = 10; +static int32_t fcoder_metacmd_ID_change_active_panel_backwards = 11; +static int32_t fcoder_metacmd_ID_change_to_build_panel = 12; +static int32_t fcoder_metacmd_ID_clean_all_lines = 13; +static int32_t fcoder_metacmd_ID_click_set_cursor = 14; +static int32_t fcoder_metacmd_ID_click_set_mark = 15; +static int32_t fcoder_metacmd_ID_close_all_code = 16; +static int32_t fcoder_metacmd_ID_close_build_panel = 17; +static int32_t fcoder_metacmd_ID_close_panel = 18; +static int32_t fcoder_metacmd_ID_copy = 19; +static int32_t fcoder_metacmd_ID_cursor_mark_swap = 20; +static int32_t fcoder_metacmd_ID_cut = 21; +static int32_t fcoder_metacmd_ID_decrease_face_size = 22; +static int32_t fcoder_metacmd_ID_decrease_line_wrap = 23; +static int32_t fcoder_metacmd_ID_delete_char = 24; +static int32_t fcoder_metacmd_ID_delete_current_scope = 25; +static int32_t fcoder_metacmd_ID_delete_file_query = 26; +static int32_t fcoder_metacmd_ID_delete_line = 27; +static int32_t fcoder_metacmd_ID_delete_range = 28; +static int32_t fcoder_metacmd_ID_delete_word = 29; +static int32_t fcoder_metacmd_ID_duplicate_line = 30; +static int32_t fcoder_metacmd_ID_eol_dosify = 31; +static int32_t fcoder_metacmd_ID_eol_nixify = 32; +static int32_t fcoder_metacmd_ID_execute_any_cli = 33; +static int32_t fcoder_metacmd_ID_execute_arbitrary_command = 34; +static int32_t fcoder_metacmd_ID_execute_previous_cli = 35; +static int32_t fcoder_metacmd_ID_exit_4coder = 36; +static int32_t fcoder_metacmd_ID_goto_beginning_of_file = 37; +static int32_t fcoder_metacmd_ID_goto_end_of_file = 38; +static int32_t fcoder_metacmd_ID_goto_first_jump_direct = 39; +static int32_t fcoder_metacmd_ID_goto_first_jump_same_panel_sticky = 40; +static int32_t fcoder_metacmd_ID_goto_first_jump_sticky = 41; +static int32_t fcoder_metacmd_ID_goto_jump_at_cursor_direct = 42; +static int32_t fcoder_metacmd_ID_goto_jump_at_cursor_same_panel_direct = 43; +static int32_t fcoder_metacmd_ID_goto_jump_at_cursor_same_panel_sticky = 44; +static int32_t fcoder_metacmd_ID_goto_jump_at_cursor_sticky = 45; +static int32_t fcoder_metacmd_ID_goto_line = 46; +static int32_t fcoder_metacmd_ID_goto_next_jump_direct = 47; +static int32_t fcoder_metacmd_ID_goto_next_jump_no_skips_direct = 48; +static int32_t fcoder_metacmd_ID_goto_next_jump_no_skips_sticky = 49; +static int32_t fcoder_metacmd_ID_goto_next_jump_sticky = 50; +static int32_t fcoder_metacmd_ID_goto_prev_jump_direct = 51; +static int32_t fcoder_metacmd_ID_goto_prev_jump_no_skips_direct = 52; +static int32_t fcoder_metacmd_ID_goto_prev_jump_no_skips_sticky = 53; +static int32_t fcoder_metacmd_ID_goto_prev_jump_sticky = 54; +static int32_t fcoder_metacmd_ID_hide_filebar = 55; +static int32_t fcoder_metacmd_ID_hide_scrollbar = 56; +static int32_t fcoder_metacmd_ID_highlight_next_scope_absolute = 57; +static int32_t fcoder_metacmd_ID_highlight_prev_scope_absolute = 58; +static int32_t fcoder_metacmd_ID_highlight_surrounding_scope = 59; +static int32_t fcoder_metacmd_ID_if0_off = 60; +static int32_t fcoder_metacmd_ID_increase_face_size = 61; +static int32_t fcoder_metacmd_ID_increase_line_wrap = 62; +static int32_t fcoder_metacmd_ID_interactive_kill_buffer = 63; +static int32_t fcoder_metacmd_ID_interactive_new = 64; +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; +#endif diff --git a/build_metadata.sh b/build_metadata.sh index 47082f17..76846677 100644 --- a/build_metadata.sh +++ b/build_metadata.sh @@ -1,6 +1,40 @@ #!/bin/sh -code_home="$PWD" +# Store the real CWD +REAL_PWD="$PWD" + +# Find the code home folder +TARGET_FILE="$0" +cd `dirname $TARGET_FILE` +TARGET_FILE=`basename $TARGET_FILE` +while [ -L "$TARGET_FILE" ] +do + TARGET_FILE=`readlink $TARGET_FILE` + cd `dirname $TARGET_FILE` + TARGET_FILE=`basename $TARGET_FILE` +done +PHYS_DIR=`pwd -P` +SCRIPT_FILE=$PHYS_DIR/$TARGET_FILE +code_home=$(dirname "$SCRIPT_FILE") + +# Find the most reasonable candidate build file +SOURCE="$1" +if [ -z "$SOURCE" ]; then + SOURCE="$code_home/4coder_default_bindings.cpp" +fi + +TARGET_FILE="$SOURCE" +cd `dirname $TARGET_FILE` +TARGET_FILE=`basename $TARGET_FILE` +while [ -L "$TARGET_FILE" ] +do + TARGET_FILE=`readlink $TARGET_FILE` + cd `dirname $TARGET_FILE` + TARGET_FILE=`basename $TARGET_FILE` +done +PHYS_DIR=`pwd -P` +SOURCE=$PHYS_DIR/$TARGET_FILE + opts="-Wno-write-strings -Wno-null-dereference -Wno-comment -Wno-switch -Wno-writable-strings -g" cd ../build > /dev/null @@ -8,6 +42,6 @@ preproc_file=4coder_command_metadata.i meta_macros="-DCUSTOM_COMMAND_SIG=CUSTOM_COMMAND_SIG -DCUSTOM_DOC=CUSTOM_DOC -DCUSTOM_ALIAS=CUSTOM_ALIAS -DNO_COMMAND_METADATA" g++ -I"$code_home" $meta_macros $opts -std=gnu++0x "$SOURCE" -E -o $preproc_file g++ -I"$code_home" $opts -std=gnu++0x "$code_home/4coder_metadata_generator.cpp" -o metadata_generator -metadata_generator -R "$code_home" "$PWD/$preproc_file" +./metadata_generator -R "$code_home" "$PWD/$preproc_file" cd $code_home > /dev/null diff --git a/meta/4ed_build.cpp b/meta/4ed_build.cpp index 17ad8a9f..477f93b2 100644 --- a/meta/4ed_build.cpp +++ b/meta/4ed_build.cpp @@ -423,7 +423,8 @@ build(u32 flags, u32 arch, char *code_path, char *code_file, char *out_path, cha internal void build_metadata(void){ - systemf("%s \"..%scode%s4coder_default_bindings.cpp\"", "build_metadata" BAT, SLASH, SLASH); + systemf("./%s \"..%scode%s4coder_default_bindings.cpp\"", + "build_metadata" BAT, SLASH, SLASH); } internal void