From a05db7f0755533ef8f54331a82529f67debd9774 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Thu, 12 Dec 2019 21:02:40 -0800 Subject: [PATCH] Site render up and running --- custom/4coder_base_types.cpp | 24 +- custom/4coder_doc_content_types.h | 54 ++ custom/generated/command_metadata.h | 1272 +++++++++++++-------------- docs/4ed_doc_content_types.cpp | 11 +- docs/4ed_doc_custom_api.cpp | 2 +- docs/4ed_doc_custom_api_global.cpp | 4 +- project.4coder | 5 + site/4ed_site_render_main.cpp | 508 +++++++++++ 8 files changed, 1224 insertions(+), 656 deletions(-) create mode 100644 site/4ed_site_render_main.cpp diff --git a/custom/4coder_base_types.cpp b/custom/4coder_base_types.cpp index 7edb08a5..24e1c3db 100644 --- a/custom/4coder_base_types.cpp +++ b/custom/4coder_base_types.cpp @@ -4869,9 +4869,9 @@ internal i32 string_compare(String_Const_char a, String_Const_char b){ i32 result = 0; for (umem i = 0; i < a.size || i < b.size; i += 1){ - char ca = (i < a.size)?0:a.str[i]; - char cb = (i < b.size)?0:b.str[i]; - i32 dif = (ca) != (cb); + char ca = (i < a.size)?a.str[i]:0; + char cb = (i < b.size)?b.str[i]:0; + i32 dif = ((ca) - (cb)); if (dif != 0){ result = (dif > 0)?1:-1; break; @@ -4883,9 +4883,9 @@ internal i32 string_compare(String_Const_u8 a, String_Const_u8 b){ i32 result = 0; for (umem i = 0; i < a.size || i < b.size; i += 1){ - u8 ca = (i < a.size)?0:a.str[i]; - u8 cb = (i < b.size)?0:b.str[i]; - i32 dif = (ca) != (cb); + u8 ca = (i < a.size)?a.str[i]:0; + u8 cb = (i < b.size)?b.str[i]:0; + i32 dif = ((ca) - (cb)); if (dif != 0){ result = (dif > 0)?1:-1; break; @@ -4897,9 +4897,9 @@ internal i32 string_compare(String_Const_u16 a, String_Const_u16 b){ i32 result = 0; for (umem i = 0; i < a.size || i < b.size; i += 1){ - u16 ca = (i < a.size)?0:a.str[i]; - u16 cb = (i < b.size)?0:b.str[i]; - i32 dif = (ca) != (cb); + u16 ca = (i < a.size)?a.str[i]:0; + u16 cb = (i < b.size)?b.str[i]:0; + i32 dif = ((ca) - (cb)); if (dif != 0){ result = (dif > 0)?1:-1; break; @@ -4911,9 +4911,9 @@ internal i32 string_compare(String_Const_u32 a, String_Const_u32 b){ i32 result = 0; for (umem i = 0; i < a.size || i < b.size; i += 1){ - u32 ca = (i < a.size)?0:a.str[i]; - u32 cb = (i < b.size)?0:b.str[i]; - i32 dif = (ca) != (cb); + u32 ca = (i < a.size)?a.str[i]:0; + u32 cb = (i < b.size)?b.str[i]:0; + i32 dif = ((ca) - (cb)); if (dif != 0){ result = (dif > 0)?1:-1; break; diff --git a/custom/4coder_doc_content_types.h b/custom/4coder_doc_content_types.h index dc40b305..a684a815 100644 --- a/custom/4coder_doc_content_types.h +++ b/custom/4coder_doc_content_types.h @@ -23,6 +23,55 @@ enum{ November, December, }; +char *doc_month_names[] = { + "None", + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December", +}; +char *doc_day_names[] = { + "0", + "1st", + "2nd", + "3rd", + "4th", + "5th", + "6th", + "7th", + "8th", + "9th", + "10th", + "11th", + "12th", + "13th", + "14th", + "15th", + "16th", + "17th", + "18th", + "19th", + "20th", + "21st", + "22nd", + "23rd", + "24th", + "25th", + "26th", + "27th", + "28th", + "29th", + "30th", + "31st", +}; struct Doc_Date{ i32 day; @@ -58,6 +107,11 @@ enum{ DocCodeLanguage_Cpp, DocCodeLanguage_Bat, }; +char *doc_language_name[] = { + "none", + "C++", + "Batch", +}; struct Doc_Code_Sample{ Doc_Code_Sample *next; String_Const_u8 contents; diff --git a/custom/generated/command_metadata.h b/custom/generated/command_metadata.h index b525b561..c70bff37 100644 --- a/custom/generated/command_metadata.h +++ b/custom/generated/command_metadata.h @@ -9,233 +9,233 @@ #define PROC_LINKS(x,y) y #endif #if defined(CUSTOM_COMMAND_SIG) -CUSTOM_COMMAND_SIG(default_view_input_handler); -CUSTOM_COMMAND_SIG(profile_enable); -CUSTOM_COMMAND_SIG(profile_disable); -CUSTOM_COMMAND_SIG(profile_clear); -CUSTOM_COMMAND_SIG(seek_beginning_of_textual_line); -CUSTOM_COMMAND_SIG(seek_end_of_textual_line); -CUSTOM_COMMAND_SIG(seek_beginning_of_line); -CUSTOM_COMMAND_SIG(seek_end_of_line); -CUSTOM_COMMAND_SIG(goto_beginning_of_file); -CUSTOM_COMMAND_SIG(goto_end_of_file); -CUSTOM_COMMAND_SIG(toggle_virtual_whitespace); -CUSTOM_COMMAND_SIG(change_active_panel); -CUSTOM_COMMAND_SIG(change_active_panel_backwards); -CUSTOM_COMMAND_SIG(open_panel_vsplit); -CUSTOM_COMMAND_SIG(open_panel_hsplit); -CUSTOM_COMMAND_SIG(save_all_dirty_buffers); -CUSTOM_COMMAND_SIG(suppress_mouse); CUSTOM_COMMAND_SIG(allow_mouse); -CUSTOM_COMMAND_SIG(toggle_mouse); -CUSTOM_COMMAND_SIG(set_mode_to_original); -CUSTOM_COMMAND_SIG(set_mode_to_notepad_like); -CUSTOM_COMMAND_SIG(toggle_highlight_line_at_cursor); -CUSTOM_COMMAND_SIG(toggle_highlight_enclosing_scopes); -CUSTOM_COMMAND_SIG(toggle_paren_matching_helper); -CUSTOM_COMMAND_SIG(toggle_fullscreen); -CUSTOM_COMMAND_SIG(load_themes_default_folder); -CUSTOM_COMMAND_SIG(load_themes_hot_directory); -CUSTOM_COMMAND_SIG(clear_all_themes); -CUSTOM_COMMAND_SIG(write_text_input); -CUSTOM_COMMAND_SIG(write_space); -CUSTOM_COMMAND_SIG(write_underscore); -CUSTOM_COMMAND_SIG(delete_char); -CUSTOM_COMMAND_SIG(backspace_char); -CUSTOM_COMMAND_SIG(set_mark); -CUSTOM_COMMAND_SIG(cursor_mark_swap); -CUSTOM_COMMAND_SIG(delete_range); -CUSTOM_COMMAND_SIG(backspace_alpha_numeric_boundary); -CUSTOM_COMMAND_SIG(delete_alpha_numeric_boundary); -CUSTOM_COMMAND_SIG(snipe_backward_whitespace_or_token_boundary); -CUSTOM_COMMAND_SIG(snipe_forward_whitespace_or_token_boundary); -CUSTOM_COMMAND_SIG(center_view); -CUSTOM_COMMAND_SIG(left_adjust_view); -CUSTOM_COMMAND_SIG(click_set_cursor_and_mark); -CUSTOM_COMMAND_SIG(click_set_cursor); -CUSTOM_COMMAND_SIG(click_set_cursor_if_lbutton); -CUSTOM_COMMAND_SIG(click_set_mark); -CUSTOM_COMMAND_SIG(mouse_wheel_scroll); -CUSTOM_COMMAND_SIG(move_up); -CUSTOM_COMMAND_SIG(move_down); -CUSTOM_COMMAND_SIG(move_up_10); -CUSTOM_COMMAND_SIG(move_down_10); -CUSTOM_COMMAND_SIG(move_down_textual); -CUSTOM_COMMAND_SIG(page_up); -CUSTOM_COMMAND_SIG(page_down); -CUSTOM_COMMAND_SIG(move_up_to_blank_line); -CUSTOM_COMMAND_SIG(move_down_to_blank_line); -CUSTOM_COMMAND_SIG(move_up_to_blank_line_skip_whitespace); -CUSTOM_COMMAND_SIG(move_down_to_blank_line_skip_whitespace); -CUSTOM_COMMAND_SIG(move_up_to_blank_line_end); -CUSTOM_COMMAND_SIG(move_down_to_blank_line_end); -CUSTOM_COMMAND_SIG(move_left); -CUSTOM_COMMAND_SIG(move_right); -CUSTOM_COMMAND_SIG(move_right_whitespace_boundary); -CUSTOM_COMMAND_SIG(move_left_whitespace_boundary); -CUSTOM_COMMAND_SIG(move_right_token_boundary); -CUSTOM_COMMAND_SIG(move_left_token_boundary); -CUSTOM_COMMAND_SIG(move_right_whitespace_or_token_boundary); -CUSTOM_COMMAND_SIG(move_left_whitespace_or_token_boundary); -CUSTOM_COMMAND_SIG(move_right_alpha_numeric_boundary); -CUSTOM_COMMAND_SIG(move_left_alpha_numeric_boundary); -CUSTOM_COMMAND_SIG(move_right_alpha_numeric_or_camel_boundary); -CUSTOM_COMMAND_SIG(move_left_alpha_numeric_or_camel_boundary); -CUSTOM_COMMAND_SIG(select_all); -CUSTOM_COMMAND_SIG(to_uppercase); -CUSTOM_COMMAND_SIG(to_lowercase); -CUSTOM_COMMAND_SIG(clean_all_lines); -CUSTOM_COMMAND_SIG(basic_change_active_panel); -CUSTOM_COMMAND_SIG(close_panel); -CUSTOM_COMMAND_SIG(show_scrollbar); -CUSTOM_COMMAND_SIG(hide_scrollbar); -CUSTOM_COMMAND_SIG(show_filebar); -CUSTOM_COMMAND_SIG(hide_filebar); -CUSTOM_COMMAND_SIG(toggle_filebar); -CUSTOM_COMMAND_SIG(toggle_fps_meter); -CUSTOM_COMMAND_SIG(increase_face_size); -CUSTOM_COMMAND_SIG(decrease_face_size); -CUSTOM_COMMAND_SIG(mouse_wheel_change_face_size); -CUSTOM_COMMAND_SIG(toggle_show_whitespace); -CUSTOM_COMMAND_SIG(toggle_line_numbers); -CUSTOM_COMMAND_SIG(toggle_line_wrap); -CUSTOM_COMMAND_SIG(exit_4coder); -CUSTOM_COMMAND_SIG(goto_line); -CUSTOM_COMMAND_SIG(search); -CUSTOM_COMMAND_SIG(reverse_search); -CUSTOM_COMMAND_SIG(search_identifier); -CUSTOM_COMMAND_SIG(reverse_search_identifier); -CUSTOM_COMMAND_SIG(replace_in_range); -CUSTOM_COMMAND_SIG(replace_in_buffer); -CUSTOM_COMMAND_SIG(replace_in_all_buffers); -CUSTOM_COMMAND_SIG(query_replace); -CUSTOM_COMMAND_SIG(query_replace_identifier); -CUSTOM_COMMAND_SIG(query_replace_selection); -CUSTOM_COMMAND_SIG(delete_file_query); -CUSTOM_COMMAND_SIG(save_to_query); -CUSTOM_COMMAND_SIG(rename_file_query); -CUSTOM_COMMAND_SIG(make_directory_query); -CUSTOM_COMMAND_SIG(move_line_up); -CUSTOM_COMMAND_SIG(move_line_down); -CUSTOM_COMMAND_SIG(duplicate_line); -CUSTOM_COMMAND_SIG(delete_line); -CUSTOM_COMMAND_SIG(open_file_in_quotes); -CUSTOM_COMMAND_SIG(open_matching_file_cpp); -CUSTOM_COMMAND_SIG(view_buffer_other_panel); -CUSTOM_COMMAND_SIG(swap_panels); -CUSTOM_COMMAND_SIG(kill_buffer); -CUSTOM_COMMAND_SIG(save); -CUSTOM_COMMAND_SIG(reopen); -CUSTOM_COMMAND_SIG(undo); -CUSTOM_COMMAND_SIG(redo); -CUSTOM_COMMAND_SIG(undo_all_buffers); -CUSTOM_COMMAND_SIG(redo_all_buffers); -CUSTOM_COMMAND_SIG(open_in_other); -CUSTOM_COMMAND_SIG(default_file_externally_modified); -CUSTOM_COMMAND_SIG(set_eol_mode_to_crlf); -CUSTOM_COMMAND_SIG(set_eol_mode_to_lf); -CUSTOM_COMMAND_SIG(set_eol_mode_to_binary); -CUSTOM_COMMAND_SIG(set_eol_mode_from_contents); -CUSTOM_COMMAND_SIG(interactive_switch_buffer); -CUSTOM_COMMAND_SIG(interactive_kill_buffer); -CUSTOM_COMMAND_SIG(interactive_open_or_new); -CUSTOM_COMMAND_SIG(interactive_new); -CUSTOM_COMMAND_SIG(interactive_open); -CUSTOM_COMMAND_SIG(command_lister); -CUSTOM_COMMAND_SIG(theme_lister); -CUSTOM_COMMAND_SIG(auto_indent_whole_file); CUSTOM_COMMAND_SIG(auto_indent_line_at_cursor); CUSTOM_COMMAND_SIG(auto_indent_range); -CUSTOM_COMMAND_SIG(write_text_and_auto_indent); +CUSTOM_COMMAND_SIG(auto_indent_whole_file); +CUSTOM_COMMAND_SIG(backspace_alpha_numeric_boundary); +CUSTOM_COMMAND_SIG(backspace_char); +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(clear_all_themes); +CUSTOM_COMMAND_SIG(click_set_cursor); +CUSTOM_COMMAND_SIG(click_set_cursor_and_mark); +CUSTOM_COMMAND_SIG(click_set_cursor_if_lbutton); +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(command_lister); +CUSTOM_COMMAND_SIG(comment_line); +CUSTOM_COMMAND_SIG(comment_line_toggle); +CUSTOM_COMMAND_SIG(copy); +CUSTOM_COMMAND_SIG(cursor_mark_swap); +CUSTOM_COMMAND_SIG(cut); +CUSTOM_COMMAND_SIG(decrease_face_size); +CUSTOM_COMMAND_SIG(default_file_externally_modified); +CUSTOM_COMMAND_SIG(default_startup); +CUSTOM_COMMAND_SIG(default_try_exit); +CUSTOM_COMMAND_SIG(default_view_input_handler); +CUSTOM_COMMAND_SIG(delete_alpha_numeric_boundary); +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(duplicate_line); +CUSTOM_COMMAND_SIG(execute_any_cli); +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); +CUSTOM_COMMAND_SIG(goto_first_jump_same_panel_sticky); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor); +CUSTOM_COMMAND_SIG(goto_jump_at_cursor_same_panel); +CUSTOM_COMMAND_SIG(goto_line); +CUSTOM_COMMAND_SIG(goto_next_jump); +CUSTOM_COMMAND_SIG(goto_next_jump_no_skips); +CUSTOM_COMMAND_SIG(goto_prev_jump); +CUSTOM_COMMAND_SIG(goto_prev_jump_no_skips); +CUSTOM_COMMAND_SIG(hide_filebar); +CUSTOM_COMMAND_SIG(hide_scrollbar); +CUSTOM_COMMAND_SIG(hms_demo_tutorial); +CUSTOM_COMMAND_SIG(if0_off); +CUSTOM_COMMAND_SIG(if_read_only_goto_position); +CUSTOM_COMMAND_SIG(if_read_only_goto_position_same_panel); +CUSTOM_COMMAND_SIG(increase_face_size); +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(keyboard_macro_finish_recording); +CUSTOM_COMMAND_SIG(keyboard_macro_replay); +CUSTOM_COMMAND_SIG(keyboard_macro_start_recording); +CUSTOM_COMMAND_SIG(kill_buffer); +CUSTOM_COMMAND_SIG(kill_tutorial); +CUSTOM_COMMAND_SIG(left_adjust_view); +CUSTOM_COMMAND_SIG(list_all_functions_all_buffers); +CUSTOM_COMMAND_SIG(list_all_functions_all_buffers_lister); +CUSTOM_COMMAND_SIG(list_all_functions_current_buffer); +CUSTOM_COMMAND_SIG(list_all_functions_current_buffer_lister); CUSTOM_COMMAND_SIG(list_all_locations); -CUSTOM_COMMAND_SIG(list_all_substring_locations); CUSTOM_COMMAND_SIG(list_all_locations_case_insensitive); -CUSTOM_COMMAND_SIG(list_all_substring_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(word_complete); -CUSTOM_COMMAND_SIG(word_complete_drop_down); -CUSTOM_COMMAND_SIG(goto_jump_at_cursor); -CUSTOM_COMMAND_SIG(goto_jump_at_cursor_same_panel); -CUSTOM_COMMAND_SIG(goto_next_jump); -CUSTOM_COMMAND_SIG(goto_prev_jump); -CUSTOM_COMMAND_SIG(goto_next_jump_no_skips); -CUSTOM_COMMAND_SIG(goto_prev_jump_no_skips); -CUSTOM_COMMAND_SIG(goto_first_jump); -CUSTOM_COMMAND_SIG(goto_first_jump_same_panel_sticky); -CUSTOM_COMMAND_SIG(if_read_only_goto_position); -CUSTOM_COMMAND_SIG(if_read_only_goto_position_same_panel); -CUSTOM_COMMAND_SIG(view_jump_list_with_lister); -CUSTOM_COMMAND_SIG(show_the_log_graph); -CUSTOM_COMMAND_SIG(copy); -CUSTOM_COMMAND_SIG(cut); -CUSTOM_COMMAND_SIG(paste); -CUSTOM_COMMAND_SIG(paste_next); -CUSTOM_COMMAND_SIG(paste_and_indent); -CUSTOM_COMMAND_SIG(paste_next_and_indent); -CUSTOM_COMMAND_SIG(keyboard_macro_start_recording); -CUSTOM_COMMAND_SIG(keyboard_macro_finish_recording); -CUSTOM_COMMAND_SIG(keyboard_macro_replay); -CUSTOM_COMMAND_SIG(execute_previous_cli); -CUSTOM_COMMAND_SIG(execute_any_cli); -CUSTOM_COMMAND_SIG(build_search); -CUSTOM_COMMAND_SIG(build_in_build_panel); -CUSTOM_COMMAND_SIG(close_build_panel); -CUSTOM_COMMAND_SIG(change_to_build_panel); -CUSTOM_COMMAND_SIG(close_all_code); +CUSTOM_COMMAND_SIG(list_all_substring_locations); +CUSTOM_COMMAND_SIG(list_all_substring_locations_case_insensitive); +CUSTOM_COMMAND_SIG(load_project); +CUSTOM_COMMAND_SIG(load_themes_default_folder); +CUSTOM_COMMAND_SIG(load_themes_hot_directory); +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(mouse_wheel_change_face_size); +CUSTOM_COMMAND_SIG(mouse_wheel_scroll); +CUSTOM_COMMAND_SIG(move_down); +CUSTOM_COMMAND_SIG(move_down_10); +CUSTOM_COMMAND_SIG(move_down_textual); +CUSTOM_COMMAND_SIG(move_down_to_blank_line); +CUSTOM_COMMAND_SIG(move_down_to_blank_line_end); +CUSTOM_COMMAND_SIG(move_down_to_blank_line_skip_whitespace); +CUSTOM_COMMAND_SIG(move_left); +CUSTOM_COMMAND_SIG(move_left_alpha_numeric_boundary); +CUSTOM_COMMAND_SIG(move_left_alpha_numeric_or_camel_boundary); +CUSTOM_COMMAND_SIG(move_left_token_boundary); +CUSTOM_COMMAND_SIG(move_left_whitespace_boundary); +CUSTOM_COMMAND_SIG(move_left_whitespace_or_token_boundary); +CUSTOM_COMMAND_SIG(move_line_down); +CUSTOM_COMMAND_SIG(move_line_up); +CUSTOM_COMMAND_SIG(move_right); +CUSTOM_COMMAND_SIG(move_right_alpha_numeric_boundary); +CUSTOM_COMMAND_SIG(move_right_alpha_numeric_or_camel_boundary); +CUSTOM_COMMAND_SIG(move_right_token_boundary); +CUSTOM_COMMAND_SIG(move_right_whitespace_boundary); +CUSTOM_COMMAND_SIG(move_right_whitespace_or_token_boundary); +CUSTOM_COMMAND_SIG(move_up); +CUSTOM_COMMAND_SIG(move_up_10); +CUSTOM_COMMAND_SIG(move_up_to_blank_line); +CUSTOM_COMMAND_SIG(move_up_to_blank_line_end); +CUSTOM_COMMAND_SIG(move_up_to_blank_line_skip_whitespace); CUSTOM_COMMAND_SIG(open_all_code); CUSTOM_COMMAND_SIG(open_all_code_recursive); -CUSTOM_COMMAND_SIG(load_project); +CUSTOM_COMMAND_SIG(open_documentation); +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(profile_clear); +CUSTOM_COMMAND_SIG(profile_disable); +CUSTOM_COMMAND_SIG(profile_enable); +CUSTOM_COMMAND_SIG(profile_inspect); +CUSTOM_COMMAND_SIG(project_command_lister); CUSTOM_COMMAND_SIG(project_fkey_command); CUSTOM_COMMAND_SIG(project_go_to_root_directory); -CUSTOM_COMMAND_SIG(setup_new_project); -CUSTOM_COMMAND_SIG(setup_build_bat); -CUSTOM_COMMAND_SIG(setup_build_sh); -CUSTOM_COMMAND_SIG(setup_build_bat_and_sh); -CUSTOM_COMMAND_SIG(project_command_lister); -CUSTOM_COMMAND_SIG(list_all_functions_current_buffer); -CUSTOM_COMMAND_SIG(list_all_functions_current_buffer_lister); -CUSTOM_COMMAND_SIG(list_all_functions_all_buffers); -CUSTOM_COMMAND_SIG(list_all_functions_all_buffers_lister); -CUSTOM_COMMAND_SIG(select_surrounding_scope); -CUSTOM_COMMAND_SIG(select_surrounding_scope_maximal); +CUSTOM_COMMAND_SIG(query_replace); +CUSTOM_COMMAND_SIG(query_replace_identifier); +CUSTOM_COMMAND_SIG(query_replace_selection); +CUSTOM_COMMAND_SIG(redo); +CUSTOM_COMMAND_SIG(redo_all_buffers); +CUSTOM_COMMAND_SIG(rename_file_query); +CUSTOM_COMMAND_SIG(reopen); +CUSTOM_COMMAND_SIG(replace_in_all_buffers); +CUSTOM_COMMAND_SIG(replace_in_buffer); +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(search); +CUSTOM_COMMAND_SIG(search_identifier); +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(select_all); CUSTOM_COMMAND_SIG(select_next_scope_absolute); CUSTOM_COMMAND_SIG(select_next_scope_after_current); CUSTOM_COMMAND_SIG(select_prev_scope_absolute); CUSTOM_COMMAND_SIG(select_prev_top_most_scope); -CUSTOM_COMMAND_SIG(place_in_scope); -CUSTOM_COMMAND_SIG(delete_current_scope); -CUSTOM_COMMAND_SIG(open_long_braces); -CUSTOM_COMMAND_SIG(open_long_braces_semicolon); -CUSTOM_COMMAND_SIG(open_long_braces_break); -CUSTOM_COMMAND_SIG(if0_off); -CUSTOM_COMMAND_SIG(write_todo); -CUSTOM_COMMAND_SIG(write_hack); -CUSTOM_COMMAND_SIG(write_note); -CUSTOM_COMMAND_SIG(write_block); -CUSTOM_COMMAND_SIG(write_zero_struct); -CUSTOM_COMMAND_SIG(comment_line); -CUSTOM_COMMAND_SIG(uncomment_line); -CUSTOM_COMMAND_SIG(comment_line_toggle); +CUSTOM_COMMAND_SIG(select_surrounding_scope); +CUSTOM_COMMAND_SIG(select_surrounding_scope_maximal); +CUSTOM_COMMAND_SIG(set_eol_mode_from_contents); +CUSTOM_COMMAND_SIG(set_eol_mode_to_binary); +CUSTOM_COMMAND_SIG(set_eol_mode_to_crlf); +CUSTOM_COMMAND_SIG(set_eol_mode_to_lf); +CUSTOM_COMMAND_SIG(set_mark); +CUSTOM_COMMAND_SIG(set_mode_to_notepad_like); +CUSTOM_COMMAND_SIG(set_mode_to_original); +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(show_the_log_graph); +CUSTOM_COMMAND_SIG(snipe_backward_whitespace_or_token_boundary); +CUSTOM_COMMAND_SIG(snipe_forward_whitespace_or_token_boundary); CUSTOM_COMMAND_SIG(snippet_lister); -CUSTOM_COMMAND_SIG(miblo_increment_basic); -CUSTOM_COMMAND_SIG(miblo_decrement_basic); -CUSTOM_COMMAND_SIG(miblo_increment_time_stamp); -CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp); -CUSTOM_COMMAND_SIG(miblo_increment_time_stamp_minute); -CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp_minute); -CUSTOM_COMMAND_SIG(profile_inspect); -CUSTOM_COMMAND_SIG(kill_tutorial); +CUSTOM_COMMAND_SIG(suppress_mouse); +CUSTOM_COMMAND_SIG(swap_panels); +CUSTOM_COMMAND_SIG(theme_lister); +CUSTOM_COMMAND_SIG(to_lowercase); +CUSTOM_COMMAND_SIG(to_uppercase); +CUSTOM_COMMAND_SIG(toggle_filebar); +CUSTOM_COMMAND_SIG(toggle_fps_meter); +CUSTOM_COMMAND_SIG(toggle_fullscreen); +CUSTOM_COMMAND_SIG(toggle_highlight_enclosing_scopes); +CUSTOM_COMMAND_SIG(toggle_highlight_line_at_cursor); +CUSTOM_COMMAND_SIG(toggle_line_numbers); +CUSTOM_COMMAND_SIG(toggle_line_wrap); +CUSTOM_COMMAND_SIG(toggle_mouse); +CUSTOM_COMMAND_SIG(toggle_paren_matching_helper); +CUSTOM_COMMAND_SIG(toggle_show_whitespace); +CUSTOM_COMMAND_SIG(toggle_virtual_whitespace); CUSTOM_COMMAND_SIG(tutorial_maximize); CUSTOM_COMMAND_SIG(tutorial_minimize); -CUSTOM_COMMAND_SIG(hms_demo_tutorial); -CUSTOM_COMMAND_SIG(open_documentation); -CUSTOM_COMMAND_SIG(default_startup); -CUSTOM_COMMAND_SIG(default_try_exit); +CUSTOM_COMMAND_SIG(uncomment_line); +CUSTOM_COMMAND_SIG(undo); +CUSTOM_COMMAND_SIG(undo_all_buffers); +CUSTOM_COMMAND_SIG(view_buffer_other_panel); +CUSTOM_COMMAND_SIG(view_jump_list_with_lister); +CUSTOM_COMMAND_SIG(word_complete); +CUSTOM_COMMAND_SIG(word_complete_drop_down); +CUSTOM_COMMAND_SIG(write_block); +CUSTOM_COMMAND_SIG(write_hack); +CUSTOM_COMMAND_SIG(write_note); +CUSTOM_COMMAND_SIG(write_space); +CUSTOM_COMMAND_SIG(write_text_and_auto_indent); +CUSTOM_COMMAND_SIG(write_text_input); +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; @@ -249,459 +249,459 @@ i32 source_name_len; i32 line_number; }; static Command_Metadata fcoder_metacmd_table[227] = { -{ PROC_LINKS(default_view_input_handler, 0), false, "default_view_input_handler", 26, "Input consumption loop for default view behavior", 48, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 56 }, -{ PROC_LINKS(profile_enable, 0), false, "profile_enable", 14, "Allow 4coder's self profiler to gather new profiling information.", 65, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 212 }, -{ PROC_LINKS(profile_disable, 0), false, "profile_disable", 15, "Prevent 4coder's self profiler from gathering new profiling information.", 72, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 219 }, -{ PROC_LINKS(profile_clear, 0), false, "profile_clear", 13, "Clear all profiling information from 4coder's self profiler.", 60, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 226 }, -{ PROC_LINKS(seek_beginning_of_textual_line, 0), false, "seek_beginning_of_textual_line", 30, "Seeks the cursor to the beginning of the line across all text.", 62, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2160 }, -{ PROC_LINKS(seek_end_of_textual_line, 0), false, "seek_end_of_textual_line", 24, "Seeks the cursor to the end of the line across all text.", 56, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2166 }, -{ PROC_LINKS(seek_beginning_of_line, 0), false, "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2172 }, -{ PROC_LINKS(seek_end_of_line, 0), false, "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2178 }, -{ PROC_LINKS(goto_beginning_of_file, 0), false, "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2184 }, -{ PROC_LINKS(goto_end_of_file, 0), false, "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2192 }, -{ PROC_LINKS(toggle_virtual_whitespace, 0), false, "toggle_virtual_whitespace", 25, "Toggles the current buffer's virtual whitespace status.", 55, "w:\\4ed\\code\\custom\\4coder_code_index.cpp", 40, 957 }, -{ PROC_LINKS(change_active_panel, 0), false, "change_active_panel", 19, "Change the currently active panel, moving to the panel with the next highest view_id.", 85, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 284 }, -{ PROC_LINKS(change_active_panel_backwards, 0), false, "change_active_panel_backwards", 29, "Change the currently active panel, moving to the panel with the next lowest view_id.", 84, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 290 }, -{ PROC_LINKS(open_panel_vsplit, 0), false, "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 300 }, -{ PROC_LINKS(open_panel_hsplit, 0), false, "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 310 }, -{ PROC_LINKS(save_all_dirty_buffers, 0), false, "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 382 }, -{ PROC_LINKS(suppress_mouse, 0), false, "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 403 }, { PROC_LINKS(allow_mouse, 0), false, "allow_mouse", 11, "Shows the mouse and causes all mouse input to be processed normally.", 68, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 409 }, -{ PROC_LINKS(toggle_mouse, 0), false, "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 415 }, -{ PROC_LINKS(set_mode_to_original, 0), false, "set_mode_to_original", 20, "Sets the edit mode to 4coder original.", 38, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 421 }, -{ PROC_LINKS(set_mode_to_notepad_like, 0), false, "set_mode_to_notepad_like", 24, "Sets the edit mode to Notepad like.", 35, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 427 }, -{ PROC_LINKS(toggle_highlight_line_at_cursor, 0), false, "toggle_highlight_line_at_cursor", 31, "Toggles the line highlight at the cursor.", 41, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 433 }, -{ PROC_LINKS(toggle_highlight_enclosing_scopes, 0), false, "toggle_highlight_enclosing_scopes", 33, "In code files scopes surrounding the cursor are highlighted with distinguishing colors.", 87, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 439 }, -{ PROC_LINKS(toggle_paren_matching_helper, 0), false, "toggle_paren_matching_helper", 28, "In code files matching parentheses pairs are colored with distinguishing colors.", 80, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 445 }, -{ PROC_LINKS(toggle_fullscreen, 0), false, "toggle_fullscreen", 17, "Toggle fullscreen mode on or off. The change(s) do not take effect until the next frame.", 89, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 451 }, -{ PROC_LINKS(load_themes_default_folder, 0), false, "load_themes_default_folder", 26, "Loads all the theme files in the default theme folder.", 54, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 457 }, -{ PROC_LINKS(load_themes_hot_directory, 0), false, "load_themes_hot_directory", 25, "Loads all the theme files in the current hot directory.", 55, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 469 }, -{ PROC_LINKS(clear_all_themes, 0), false, "clear_all_themes", 16, "Clear the theme list", 20, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 480 }, -{ PROC_LINKS(write_text_input, 0), false, "write_text_input", 16, "Inserts whatever text was used to trigger this command.", 55, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 59 }, -{ PROC_LINKS(write_space, 0), false, "write_space", 11, "Inserts an underscore.", 22, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 67 }, -{ PROC_LINKS(write_underscore, 0), false, "write_underscore", 16, "Inserts an underscore.", 22, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 73 }, -{ PROC_LINKS(delete_char, 0), false, "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 79 }, -{ PROC_LINKS(backspace_char, 0), false, "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 96 }, -{ PROC_LINKS(set_mark, 0), false, "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 115 }, -{ PROC_LINKS(cursor_mark_swap, 0), false, "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 124 }, -{ PROC_LINKS(delete_range, 0), false, "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 134 }, -{ PROC_LINKS(backspace_alpha_numeric_boundary, 0), false, "backspace_alpha_numeric_boundary", 32, "Delete characters between the cursor position and the first alphanumeric boundary to the left.", 94, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 154 }, -{ PROC_LINKS(delete_alpha_numeric_boundary, 0), false, "delete_alpha_numeric_boundary", 29, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 162 }, -{ PROC_LINKS(snipe_backward_whitespace_or_token_boundary, 0), false, "snipe_backward_whitespace_or_token_boundary", 43, "Delete a single, whole token on or to the left of the cursor and post it to the clipboard.", 90, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 179 }, -{ PROC_LINKS(snipe_forward_whitespace_or_token_boundary, 0), false, "snipe_forward_whitespace_or_token_boundary", 42, "Delete a single, whole token on or to the right of the cursor and post it to the clipboard.", 91, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 187 }, -{ PROC_LINKS(center_view, 0), false, "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 197 }, -{ PROC_LINKS(left_adjust_view, 0), false, "left_adjust_view", 16, "Sets the left size of the view near the x position of the cursor.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 211 }, -{ PROC_LINKS(click_set_cursor_and_mark, 0), false, "click_set_cursor_and_mark", 25, "Sets the cursor position and mark to the mouse position.", 56, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 223 }, -{ PROC_LINKS(click_set_cursor, 0), false, "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 233 }, -{ PROC_LINKS(click_set_cursor_if_lbutton, 0), false, "click_set_cursor_if_lbutton", 27, "If the mouse left button is pressed, sets the cursor position to the mouse position.", 84, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 243 }, -{ PROC_LINKS(click_set_mark, 0), false, "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 255 }, -{ PROC_LINKS(mouse_wheel_scroll, 0), false, "mouse_wheel_scroll", 18, "Reads the scroll wheel value from the mouse state and scrolls accordingly.", 74, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 265 }, -{ PROC_LINKS(move_up, 0), false, "move_up", 7, "Moves the cursor up one line.", 29, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 332 }, -{ PROC_LINKS(move_down, 0), false, "move_down", 9, "Moves the cursor down one line.", 31, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 338 }, -{ PROC_LINKS(move_up_10, 0), false, "move_up_10", 10, "Moves the cursor up ten lines.", 30, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 344 }, -{ PROC_LINKS(move_down_10, 0), false, "move_down_10", 12, "Moves the cursor down ten lines.", 32, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 350 }, -{ PROC_LINKS(move_down_textual, 0), false, "move_down_textual", 17, "Moves down to the next line of actual text, regardless of line wrapping.", 72, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 356 }, -{ PROC_LINKS(page_up, 0), false, "page_up", 7, "Scrolls the view up one view height and moves the cursor up one view height.", 76, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 366 }, -{ PROC_LINKS(page_down, 0), false, "page_down", 9, "Scrolls the view down one view height and moves the cursor down one view height.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 374 }, -{ PROC_LINKS(move_up_to_blank_line, 0), false, "move_up_to_blank_line", 21, "Seeks the cursor up to the next blank line.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 403 }, -{ PROC_LINKS(move_down_to_blank_line, 0), false, "move_down_to_blank_line", 23, "Seeks the cursor down to the next blank line.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 409 }, -{ PROC_LINKS(move_up_to_blank_line_skip_whitespace, 0), false, "move_up_to_blank_line_skip_whitespace", 37, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 415 }, -{ PROC_LINKS(move_down_to_blank_line_skip_whitespace, 0), false, "move_down_to_blank_line_skip_whitespace", 39, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 421 }, -{ PROC_LINKS(move_up_to_blank_line_end, 0), false, "move_up_to_blank_line_end", 25, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 427 }, -{ PROC_LINKS(move_down_to_blank_line_end, 0), false, "move_down_to_blank_line_end", 27, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 433 }, -{ PROC_LINKS(move_left, 0), false, "move_left", 9, "Moves the cursor one character to the left.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 439 }, -{ PROC_LINKS(move_right, 0), false, "move_right", 10, "Moves the cursor one character to the right.", 44, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 447 }, -{ PROC_LINKS(move_right_whitespace_boundary, 0), false, "move_right_whitespace_boundary", 30, "Seek right for the next boundary between whitespace and non-whitespace.", 71, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 465 }, -{ PROC_LINKS(move_left_whitespace_boundary, 0), false, "move_left_whitespace_boundary", 29, "Seek left for the next boundary between whitespace and non-whitespace.", 70, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 473 }, -{ PROC_LINKS(move_right_token_boundary, 0), false, "move_right_token_boundary", 25, "Seek right for the next end of a token.", 39, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 481 }, -{ PROC_LINKS(move_left_token_boundary, 0), false, "move_left_token_boundary", 24, "Seek left for the next beginning of a token.", 44, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 488 }, -{ PROC_LINKS(move_right_whitespace_or_token_boundary, 0), false, "move_right_whitespace_or_token_boundary", 39, "Seek right for the next end of a token or boundary between whitespace and non-whitespace.", 89, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 495 }, -{ PROC_LINKS(move_left_whitespace_or_token_boundary, 0), false, "move_left_whitespace_or_token_boundary", 38, "Seek left for the next end of a token or boundary between whitespace and non-whitespace.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 502 }, -{ PROC_LINKS(move_right_alpha_numeric_boundary, 0), false, "move_right_alpha_numeric_boundary", 33, "Seek right for boundary between alphanumeric characters and non-alphanumeric characters.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 509 }, -{ PROC_LINKS(move_left_alpha_numeric_boundary, 0), false, "move_left_alpha_numeric_boundary", 32, "Seek left for boundary between alphanumeric characters and non-alphanumeric characters.", 87, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 516 }, -{ PROC_LINKS(move_right_alpha_numeric_or_camel_boundary, 0), false, "move_right_alpha_numeric_or_camel_boundary", 42, "Seek right for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 107, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 523 }, -{ PROC_LINKS(move_left_alpha_numeric_or_camel_boundary, 0), false, "move_left_alpha_numeric_or_camel_boundary", 41, "Seek left for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 106, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 530 }, -{ PROC_LINKS(select_all, 0), false, "select_all", 10, "Puts the cursor at the top of the file, and the mark at the bottom of the file.", 79, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 539 }, -{ PROC_LINKS(to_uppercase, 0), false, "to_uppercase", 12, "Converts all ascii text in the range between the cursor and the mark to uppercase.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 552 }, -{ PROC_LINKS(to_lowercase, 0), false, "to_lowercase", 12, "Converts all ascii text in the range between the cursor and the mark to lowercase.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 565 }, -{ PROC_LINKS(clean_all_lines, 0), false, "clean_all_lines", 15, "Removes trailing whitespace from all lines in the current buffer.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 578 }, -{ PROC_LINKS(basic_change_active_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 613 }, -{ PROC_LINKS(close_panel, 0), false, "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 621 }, -{ PROC_LINKS(show_scrollbar, 0), false, "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 630 }, -{ PROC_LINKS(hide_scrollbar, 0), false, "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 637 }, -{ PROC_LINKS(show_filebar, 0), false, "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 644 }, -{ PROC_LINKS(hide_filebar, 0), false, "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 651 }, -{ PROC_LINKS(toggle_filebar, 0), false, "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 658 }, -{ PROC_LINKS(toggle_fps_meter, 0), false, "toggle_fps_meter", 16, "Toggles the visibility of the FPS performance meter", 51, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 667 }, -{ PROC_LINKS(increase_face_size, 0), false, "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 673 }, -{ PROC_LINKS(decrease_face_size, 0), false, "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 684 }, -{ PROC_LINKS(mouse_wheel_change_face_size, 0), false, "mouse_wheel_change_face_size", 28, "Reads the state of the mouse wheel and uses it to either increase or decrease the face size.", 92, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 695 }, -{ PROC_LINKS(toggle_show_whitespace, 0), false, "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 712 }, -{ PROC_LINKS(toggle_line_numbers, 0), false, "toggle_line_numbers", 19, "Toggles the left margin line numbers.", 37, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 721 }, -{ PROC_LINKS(toggle_line_wrap, 0), false, "toggle_line_wrap", 16, "Toggles the line wrap setting on this buffer.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 727 }, -{ PROC_LINKS(exit_4coder, 0), false, "exit_4coder", 11, "Attempts to close 4coder.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 740 }, -{ PROC_LINKS(goto_line, 0), false, "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 748 }, -{ PROC_LINKS(search, 0), false, "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 976 }, -{ PROC_LINKS(reverse_search, 0), false, "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 982 }, -{ PROC_LINKS(search_identifier, 0), false, "search_identifier", 17, "Begins an incremental search down through the current buffer for the word or token under the cursor.", 100, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 988 }, -{ PROC_LINKS(reverse_search_identifier, 0), false, "reverse_search_identifier", 25, "Begins an incremental search up through the current buffer for the word or token under the cursor.", 98, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 994 }, -{ PROC_LINKS(replace_in_range, 0), false, "replace_in_range", 16, "Queries the user for a needle and string. Replaces all occurences of needle with string in the range between cursor and the mark in the active buffer.", 150, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1041 }, -{ PROC_LINKS(replace_in_buffer, 0), false, "replace_in_buffer", 17, "Queries the user for a needle and string. Replaces all occurences of needle with string in the active buffer.", 109, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1050 }, -{ PROC_LINKS(replace_in_all_buffers, 0), false, "replace_in_all_buffers", 22, "Queries the user for a needle and string. Replaces all occurences of needle with string in all editable buffers.", 112, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1059 }, -{ PROC_LINKS(query_replace, 0), false, "query_replace", 13, "Queries the user for two strings, and incrementally replaces every occurence of the first string with the second string.", 120, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1149 }, -{ PROC_LINKS(query_replace_identifier, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1170 }, -{ PROC_LINKS(query_replace_selection, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1186 }, -{ PROC_LINKS(delete_file_query, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1221 }, -{ PROC_LINKS(save_to_query, 0), false, "save_to_query", 13, "Queries the user for a file name and saves the contents of the current buffer, altering the buffer's name too.", 110, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1265 }, -{ PROC_LINKS(rename_file_query, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1298 }, -{ PROC_LINKS(make_directory_query, 0), false, "make_directory_query", 20, "Queries the user for a name and creates a new directory with the given name.", 76, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1336 }, -{ PROC_LINKS(move_line_up, 0), false, "move_line_up", 12, "Swaps the line under the cursor with the line above it, and moves the cursor up with it.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1370 }, -{ PROC_LINKS(move_line_down, 0), false, "move_line_down", 14, "Swaps the line under the cursor with the line below it, and moves the cursor down with it.", 90, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1376 }, -{ PROC_LINKS(duplicate_line, 0), false, "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1382 }, -{ PROC_LINKS(delete_line, 0), false, "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1396 }, -{ PROC_LINKS(open_file_in_quotes, 0), false, "open_file_in_quotes", 19, "Reads a filename from surrounding '\"' characters and attempts to open the corresponding file.", 94, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1461 }, -{ PROC_LINKS(open_matching_file_cpp, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1493 }, -{ PROC_LINKS(view_buffer_other_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1506 }, -{ PROC_LINKS(swap_panels, 0), false, "swap_panels", 11, "Swaps the active panel with it's sibling.", 41, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1518 }, -{ PROC_LINKS(kill_buffer, 0), false, "kill_buffer", 11, "Kills the current buffer.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1542 }, -{ PROC_LINKS(save, 0), false, "save", 4, "Saves the current buffer.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1550 }, -{ PROC_LINKS(reopen, 0), false, "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1560 }, -{ PROC_LINKS(undo, 0), false, "undo", 4, "Advances backwards through the undo history of the current buffer.", 66, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1618 }, -{ PROC_LINKS(redo, 0), false, "redo", 4, "Advances forwards through the undo history of the current buffer.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1631 }, -{ PROC_LINKS(undo_all_buffers, 0), false, "undo_all_buffers", 16, "Advances backward through the undo history in the buffer containing the most recent regular edit.", 97, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1645 }, -{ PROC_LINKS(redo_all_buffers, 0), false, "redo_all_buffers", 16, "Advances forward through the undo history in the buffer containing the most recent regular edit.", 96, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1716 }, -{ PROC_LINKS(open_in_other, 0), false, "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1792 }, -{ PROC_LINKS(default_file_externally_modified, 0), false, "default_file_externally_modified", 32, "Notes the external modification of attached files by printing a message.", 72, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1798 }, -{ PROC_LINKS(set_eol_mode_to_crlf, 0), false, "set_eol_mode_to_crlf", 20, "Puts the buffer in crlf line ending mode.", 41, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 86 }, -{ PROC_LINKS(set_eol_mode_to_lf, 0), false, "set_eol_mode_to_lf", 18, "Puts the buffer in lf line ending mode.", 39, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 99 }, -{ PROC_LINKS(set_eol_mode_to_binary, 0), false, "set_eol_mode_to_binary", 22, "Puts the buffer in bin line ending mode.", 40, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 112 }, -{ PROC_LINKS(set_eol_mode_from_contents, 0), false, "set_eol_mode_from_contents", 26, "Sets the buffer's line ending mode to match the contents of the buffer.", 71, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 125 }, -{ PROC_LINKS(interactive_switch_buffer, 0), true, "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 505 }, -{ PROC_LINKS(interactive_kill_buffer, 0), true, "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 515 }, -{ PROC_LINKS(interactive_open_or_new, 0), true, "interactive_open_or_new", 23, "Interactively open a file out of the file system.", 49, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 563 }, -{ PROC_LINKS(interactive_new, 0), true, "interactive_new", 15, "Interactively creates a new file.", 33, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 597 }, -{ PROC_LINKS(interactive_open, 0), true, "interactive_open", 16, "Interactively opens a file.", 27, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 634 }, -{ PROC_LINKS(command_lister, 0), true, "command_lister", 14, "Opens an interactive list of all registered commands.", 53, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 668 }, -{ PROC_LINKS(theme_lister, 0), true, "theme_lister", 12, "Opens an interactive list of all registered themes.", 51, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 691 }, -{ PROC_LINKS(auto_indent_whole_file, 0), false, "auto_indent_whole_file", 22, "Audo-indents the entire current buffer.", 39, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 366 }, { PROC_LINKS(auto_indent_line_at_cursor, 0), false, "auto_indent_line_at_cursor", 26, "Auto-indents the line on which the cursor sits.", 47, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 375 }, { PROC_LINKS(auto_indent_range, 0), false, "auto_indent_range", 17, "Auto-indents the range between the cursor and the mark.", 55, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 385 }, -{ PROC_LINKS(write_text_and_auto_indent, 0), false, "write_text_and_auto_indent", 26, "Inserts text and auto-indents the line on which the cursor sits if any of the text contains 'layout punctuation' such as ;:{}()[]# and new lines.", 145, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 395 }, +{ PROC_LINKS(auto_indent_whole_file, 0), false, "auto_indent_whole_file", 22, "Audo-indents the entire current buffer.", 39, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 366 }, +{ PROC_LINKS(backspace_alpha_numeric_boundary, 0), false, "backspace_alpha_numeric_boundary", 32, "Delete characters between the cursor position and the first alphanumeric boundary to the left.", 94, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 154 }, +{ PROC_LINKS(backspace_char, 0), false, "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 96 }, +{ PROC_LINKS(basic_change_active_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 613 }, +{ PROC_LINKS(build_in_build_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 165 }, +{ PROC_LINKS(build_search, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 128 }, +{ PROC_LINKS(center_view, 0), false, "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 197 }, +{ PROC_LINKS(change_active_panel, 0), false, "change_active_panel", 19, "Change the currently active panel, moving to the panel with the next highest view_id.", 85, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 284 }, +{ PROC_LINKS(change_active_panel_backwards, 0), false, "change_active_panel_backwards", 29, "Change the currently active panel, moving to the panel with the next lowest view_id.", 84, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 290 }, +{ PROC_LINKS(change_to_build_panel, 0), false, "change_to_build_panel", 21, "If the special build panel is open, makes the build panel the active panel.", 75, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 186 }, +{ PROC_LINKS(clean_all_lines, 0), false, "clean_all_lines", 15, "Removes trailing whitespace from all lines in the current buffer.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 578 }, +{ PROC_LINKS(clear_all_themes, 0), false, "clear_all_themes", 16, "Clear the theme list", 20, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 480 }, +{ PROC_LINKS(click_set_cursor, 0), false, "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 233 }, +{ PROC_LINKS(click_set_cursor_and_mark, 0), false, "click_set_cursor_and_mark", 25, "Sets the cursor position and mark to the mouse position.", 56, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 223 }, +{ PROC_LINKS(click_set_cursor_if_lbutton, 0), false, "click_set_cursor_if_lbutton", 27, "If the mouse left button is pressed, sets the cursor position to the mouse position.", 84, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 243 }, +{ PROC_LINKS(click_set_mark, 0), false, "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 255 }, +{ PROC_LINKS(close_all_code, 0), false, "close_all_code", 14, "Closes any buffer with a filename ending with an extension configured to be recognized as a code file type.", 107, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 843 }, +{ PROC_LINKS(close_build_panel, 0), false, "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 180 }, +{ PROC_LINKS(close_panel, 0), false, "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 621 }, +{ PROC_LINKS(command_lister, 0), true, "command_lister", 14, "Opens an interactive list of all registered commands.", 53, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 668 }, +{ PROC_LINKS(comment_line, 0), false, "comment_line", 12, "Insert '//' at the beginning of the line after leading whitespace.", 66, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 125 }, +{ PROC_LINKS(comment_line_toggle, 0), false, "comment_line_toggle", 19, "Turns uncommented lines into commented lines and vice versa for comments starting with '//'.", 92, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 149 }, +{ PROC_LINKS(copy, 0), false, "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 19 }, +{ PROC_LINKS(cursor_mark_swap, 0), false, "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 124 }, +{ PROC_LINKS(cut, 0), false, "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 28 }, +{ PROC_LINKS(decrease_face_size, 0), false, "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 684 }, +{ PROC_LINKS(default_file_externally_modified, 0), false, "default_file_externally_modified", 32, "Notes the external modification of attached files by printing a message.", 72, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1798 }, +{ PROC_LINKS(default_startup, 0), false, "default_startup", 15, "Default command for responding to a startup event", 49, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 7 }, +{ PROC_LINKS(default_try_exit, 0), false, "default_try_exit", 16, "Default command for responding to a try-exit event", 50, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 22 }, +{ PROC_LINKS(default_view_input_handler, 0), false, "default_view_input_handler", 26, "Input consumption loop for default view behavior", 48, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 56 }, +{ PROC_LINKS(delete_alpha_numeric_boundary, 0), false, "delete_alpha_numeric_boundary", 29, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 162 }, +{ PROC_LINKS(delete_char, 0), false, "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 79 }, +{ PROC_LINKS(delete_current_scope, 0), false, "delete_current_scope", 20, "Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope.", 99, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 112 }, +{ PROC_LINKS(delete_file_query, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1221 }, +{ PROC_LINKS(delete_line, 0), false, "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1396 }, +{ PROC_LINKS(delete_range, 0), false, "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 134 }, +{ PROC_LINKS(duplicate_line, 0), false, "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1382 }, +{ PROC_LINKS(execute_any_cli, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_cli_command.cpp", 41, 22 }, +{ PROC_LINKS(execute_previous_cli, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_cli_command.cpp", 41, 7 }, +{ PROC_LINKS(exit_4coder, 0), false, "exit_4coder", 11, "Attempts to close 4coder.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 740 }, +{ PROC_LINKS(goto_beginning_of_file, 0), false, "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2184 }, +{ PROC_LINKS(goto_end_of_file, 0), false, "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2192 }, +{ PROC_LINKS(goto_first_jump, 0), false, "goto_first_jump", 15, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 523 }, +{ PROC_LINKS(goto_first_jump_same_panel_sticky, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 540 }, +{ PROC_LINKS(goto_jump_at_cursor, 0), false, "goto_jump_at_cursor", 19, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 346 }, +{ PROC_LINKS(goto_jump_at_cursor_same_panel, 0), false, "goto_jump_at_cursor_same_panel", 30, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 373 }, +{ PROC_LINKS(goto_line, 0), false, "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 748 }, +{ PROC_LINKS(goto_next_jump, 0), false, "goto_next_jump", 14, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 462 }, +{ PROC_LINKS(goto_next_jump_no_skips, 0), false, "goto_next_jump_no_skips", 23, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 492 }, +{ PROC_LINKS(goto_prev_jump, 0), false, "goto_prev_jump", 14, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 479 }, +{ PROC_LINKS(goto_prev_jump_no_skips, 0), false, "goto_prev_jump_no_skips", 23, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 509 }, +{ PROC_LINKS(hide_filebar, 0), false, "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 651 }, +{ PROC_LINKS(hide_scrollbar, 0), false, "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 637 }, +{ PROC_LINKS(hms_demo_tutorial, 0), false, "hms_demo_tutorial", 17, "Tutorial for built in 4coder bindings and features.", 51, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 869 }, +{ PROC_LINKS(if0_off, 0), false, "if0_off", 7, "Surround the range between the cursor and mark with an '#if 0' and an '#endif'", 78, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 70 }, +{ PROC_LINKS(if_read_only_goto_position, 0), false, "if_read_only_goto_position", 26, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 562 }, +{ PROC_LINKS(if_read_only_goto_position_same_panel, 0), false, "if_read_only_goto_position_same_panel", 37, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 579 }, +{ PROC_LINKS(increase_face_size, 0), false, "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 673 }, +{ PROC_LINKS(interactive_kill_buffer, 0), true, "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 515 }, +{ PROC_LINKS(interactive_new, 0), true, "interactive_new", 15, "Interactively creates a new file.", 33, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 597 }, +{ PROC_LINKS(interactive_open, 0), true, "interactive_open", 16, "Interactively opens a file.", 27, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 634 }, +{ PROC_LINKS(interactive_open_or_new, 0), true, "interactive_open_or_new", 23, "Interactively open a file out of the file system.", 49, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 563 }, +{ PROC_LINKS(interactive_switch_buffer, 0), true, "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 505 }, +{ PROC_LINKS(keyboard_macro_finish_recording, 0), false, "keyboard_macro_finish_recording", 31, "Stop macro recording, do nothing if macro recording is not already started", 74, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 57 }, +{ PROC_LINKS(keyboard_macro_replay, 0), false, "keyboard_macro_replay", 21, "Replay the most recently recorded keyboard macro", 48, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 80 }, +{ PROC_LINKS(keyboard_macro_start_recording, 0), false, "keyboard_macro_start_recording", 30, "Start macro recording, do nothing if macro recording is already started", 71, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 44 }, +{ PROC_LINKS(kill_buffer, 0), false, "kill_buffer", 11, "Kills the current buffer.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1542 }, +{ PROC_LINKS(kill_tutorial, 0), false, "kill_tutorial", 13, "If there is an active tutorial, kill it.", 40, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 9 }, +{ PROC_LINKS(left_adjust_view, 0), false, "left_adjust_view", 16, "Sets the left size of the view near the x position of the cursor.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 211 }, +{ PROC_LINKS(list_all_functions_all_buffers, 0), false, "list_all_functions_all_buffers", 30, "Creates a jump list of lines from all buffers that appear to define or declare functions.", 89, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 295 }, +{ PROC_LINKS(list_all_functions_all_buffers_lister, 0), false, "list_all_functions_all_buffers_lister", 37, "Creates a lister of locations that look like function definitions and declarations all buffers.", 95, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 301 }, +{ PROC_LINKS(list_all_functions_current_buffer, 0), false, "list_all_functions_current_buffer", 33, "Creates a jump list of lines of the current buffer that appear to define or declare functions.", 94, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 267 }, +{ PROC_LINKS(list_all_functions_current_buffer_lister, 0), false, "list_all_functions_current_buffer_lister", 40, "Creates a lister of locations that look like function definitions and declarations in the buffer.", 97, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 277 }, { PROC_LINKS(list_all_locations, 0), false, "list_all_locations", 18, "Queries the user for a string and lists all exact case-sensitive matches found in all open buffers.", 99, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 162 }, -{ PROC_LINKS(list_all_substring_locations, 0), false, "list_all_substring_locations", 28, "Queries the user for a string and lists all case-sensitive substring matches found in all open buffers.", 103, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 168 }, { PROC_LINKS(list_all_locations_case_insensitive, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 174 }, -{ PROC_LINKS(list_all_substring_locations_case_insensitive, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 180 }, { PROC_LINKS(list_all_locations_of_identifier, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 186 }, { PROC_LINKS(list_all_locations_of_identifier_case_insensitive, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 192 }, { PROC_LINKS(list_all_locations_of_selection, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 198 }, { PROC_LINKS(list_all_locations_of_selection_case_insensitive, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 204 }, { PROC_LINKS(list_all_locations_of_type_definition, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 210 }, { PROC_LINKS(list_all_locations_of_type_definition_of_identifier, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 218 }, -{ PROC_LINKS(word_complete, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 392 }, -{ PROC_LINKS(word_complete_drop_down, 0), false, "word_complete_drop_down", 23, "Word complete with drop down menu.", 34, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 639 }, -{ PROC_LINKS(goto_jump_at_cursor, 0), false, "goto_jump_at_cursor", 19, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 346 }, -{ PROC_LINKS(goto_jump_at_cursor_same_panel, 0), false, "goto_jump_at_cursor_same_panel", 30, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 373 }, -{ PROC_LINKS(goto_next_jump, 0), false, "goto_next_jump", 14, "If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, skipping sub jump locations.", 123, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 462 }, -{ PROC_LINKS(goto_prev_jump, 0), false, "goto_prev_jump", 14, "If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, skipping sub jump locations.", 127, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 479 }, -{ PROC_LINKS(goto_next_jump_no_skips, 0), false, "goto_next_jump_no_skips", 23, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 492 }, -{ PROC_LINKS(goto_prev_jump_no_skips, 0), false, "goto_prev_jump_no_skips", 23, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 509 }, -{ PROC_LINKS(goto_first_jump, 0), false, "goto_first_jump", 15, "If a buffer containing jump locations has been locked in, goes to the first jump in the buffer.", 95, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 523 }, -{ PROC_LINKS(goto_first_jump_same_panel_sticky, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 540 }, -{ PROC_LINKS(if_read_only_goto_position, 0), false, "if_read_only_goto_position", 26, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor.", 106, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 562 }, -{ PROC_LINKS(if_read_only_goto_position_same_panel, 0), false, "if_read_only_goto_position_same_panel", 37, "If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel.", 117, "w:\\4ed\\code\\custom\\4coder_jump_sticky.cpp", 41, 579 }, -{ PROC_LINKS(view_jump_list_with_lister, 0), false, "view_jump_list_with_lister", 26, "When executed on a buffer with jumps, creates a persistent lister for all the jumps", 83, "w:\\4ed\\code\\custom\\4coder_jump_lister.cpp", 41, 59 }, -{ PROC_LINKS(show_the_log_graph, 0), true, "show_the_log_graph", 18, "Parses *log* and displays the 'log graph' UI", 44, "w:\\4ed\\code\\custom\\4coder_log_parser.cpp", 40, 994 }, -{ PROC_LINKS(copy, 0), false, "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 19 }, -{ PROC_LINKS(cut, 0), false, "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 28 }, -{ PROC_LINKS(paste, 0), false, "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 39 }, -{ PROC_LINKS(paste_next, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 71 }, -{ PROC_LINKS(paste_and_indent, 0), false, "paste_and_indent", 16, "Paste from the top of clipboard and run auto-indent on the newly pasted text.", 77, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 110 }, -{ PROC_LINKS(paste_next_and_indent, 0), false, "paste_next_and_indent", 21, "Paste the next item on the clipboard and run auto-indent on the newly pasted text.", 82, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 117 }, -{ PROC_LINKS(keyboard_macro_start_recording, 0), false, "keyboard_macro_start_recording", 30, "Start macro recording, do nothing if macro recording is already started", 71, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 44 }, -{ PROC_LINKS(keyboard_macro_finish_recording, 0), false, "keyboard_macro_finish_recording", 31, "Stop macro recording, do nothing if macro recording is not already started", 74, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 57 }, -{ PROC_LINKS(keyboard_macro_replay, 0), false, "keyboard_macro_replay", 21, "Replay the most recently recorded keyboard macro", 48, "w:\\4ed\\code\\custom\\4coder_keyboard_macro.cpp", 44, 80 }, -{ PROC_LINKS(execute_previous_cli, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_cli_command.cpp", 41, 7 }, -{ PROC_LINKS(execute_any_cli, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_cli_command.cpp", 41, 22 }, -{ PROC_LINKS(build_search, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 128 }, -{ PROC_LINKS(build_in_build_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 165 }, -{ PROC_LINKS(close_build_panel, 0), false, "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 180 }, -{ PROC_LINKS(change_to_build_panel, 0), false, "change_to_build_panel", 21, "If the special build panel is open, makes the build panel the active panel.", 75, "w:\\4ed\\code\\custom\\4coder_build_commands.cpp", 44, 186 }, -{ PROC_LINKS(close_all_code, 0), false, "close_all_code", 14, "Closes any buffer with a filename ending with an extension configured to be recognized as a code file type.", 107, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 843 }, +{ PROC_LINKS(list_all_substring_locations, 0), false, "list_all_substring_locations", 28, "Queries the user for a string and lists all case-sensitive substring matches found in all open buffers.", 103, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 168 }, +{ PROC_LINKS(list_all_substring_locations_case_insensitive, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 180 }, +{ PROC_LINKS(load_project, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 863 }, +{ PROC_LINKS(load_themes_default_folder, 0), false, "load_themes_default_folder", 26, "Loads all the theme files in the default theme folder.", 54, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 457 }, +{ PROC_LINKS(load_themes_hot_directory, 0), false, "load_themes_hot_directory", 25, "Loads all the theme files in the current hot directory.", 55, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 469 }, +{ PROC_LINKS(make_directory_query, 0), false, "make_directory_query", 20, "Queries the user for a name and creates a new directory with the given name.", 76, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1336 }, +{ PROC_LINKS(miblo_decrement_basic, 0), false, "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 44 }, +{ PROC_LINKS(miblo_decrement_time_stamp, 0), false, "miblo_decrement_time_stamp", 26, "Decrement a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 237 }, +{ PROC_LINKS(miblo_decrement_time_stamp_minute, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 249 }, +{ PROC_LINKS(miblo_increment_basic, 0), false, "miblo_increment_basic", 21, "Increment an integer under the cursor by one.", 45, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 29 }, +{ PROC_LINKS(miblo_increment_time_stamp, 0), false, "miblo_increment_time_stamp", 26, "Increment a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 231 }, +{ PROC_LINKS(miblo_increment_time_stamp_minute, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 243 }, +{ PROC_LINKS(mouse_wheel_change_face_size, 0), false, "mouse_wheel_change_face_size", 28, "Reads the state of the mouse wheel and uses it to either increase or decrease the face size.", 92, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 695 }, +{ PROC_LINKS(mouse_wheel_scroll, 0), false, "mouse_wheel_scroll", 18, "Reads the scroll wheel value from the mouse state and scrolls accordingly.", 74, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 265 }, +{ PROC_LINKS(move_down, 0), false, "move_down", 9, "Moves the cursor down one line.", 31, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 338 }, +{ PROC_LINKS(move_down_10, 0), false, "move_down_10", 12, "Moves the cursor down ten lines.", 32, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 350 }, +{ PROC_LINKS(move_down_textual, 0), false, "move_down_textual", 17, "Moves down to the next line of actual text, regardless of line wrapping.", 72, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 356 }, +{ PROC_LINKS(move_down_to_blank_line, 0), false, "move_down_to_blank_line", 23, "Seeks the cursor down to the next blank line.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 409 }, +{ PROC_LINKS(move_down_to_blank_line_end, 0), false, "move_down_to_blank_line_end", 27, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 433 }, +{ PROC_LINKS(move_down_to_blank_line_skip_whitespace, 0), false, "move_down_to_blank_line_skip_whitespace", 39, "Seeks the cursor down to the next blank line and places it at the end of the line.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 421 }, +{ PROC_LINKS(move_left, 0), false, "move_left", 9, "Moves the cursor one character to the left.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 439 }, +{ PROC_LINKS(move_left_alpha_numeric_boundary, 0), false, "move_left_alpha_numeric_boundary", 32, "Seek left for boundary between alphanumeric characters and non-alphanumeric characters.", 87, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 516 }, +{ PROC_LINKS(move_left_alpha_numeric_or_camel_boundary, 0), false, "move_left_alpha_numeric_or_camel_boundary", 41, "Seek left for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 106, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 530 }, +{ PROC_LINKS(move_left_token_boundary, 0), false, "move_left_token_boundary", 24, "Seek left for the next beginning of a token.", 44, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 488 }, +{ PROC_LINKS(move_left_whitespace_boundary, 0), false, "move_left_whitespace_boundary", 29, "Seek left for the next boundary between whitespace and non-whitespace.", 70, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 473 }, +{ PROC_LINKS(move_left_whitespace_or_token_boundary, 0), false, "move_left_whitespace_or_token_boundary", 38, "Seek left for the next end of a token or boundary between whitespace and non-whitespace.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 502 }, +{ PROC_LINKS(move_line_down, 0), false, "move_line_down", 14, "Swaps the line under the cursor with the line below it, and moves the cursor down with it.", 90, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1376 }, +{ PROC_LINKS(move_line_up, 0), false, "move_line_up", 12, "Swaps the line under the cursor with the line above it, and moves the cursor up with it.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1370 }, +{ PROC_LINKS(move_right, 0), false, "move_right", 10, "Moves the cursor one character to the right.", 44, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 447 }, +{ PROC_LINKS(move_right_alpha_numeric_boundary, 0), false, "move_right_alpha_numeric_boundary", 33, "Seek right for boundary between alphanumeric characters and non-alphanumeric characters.", 88, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 509 }, +{ PROC_LINKS(move_right_alpha_numeric_or_camel_boundary, 0), false, "move_right_alpha_numeric_or_camel_boundary", 42, "Seek right for boundary between alphanumeric characters or camel case word and non-alphanumeric characters.", 107, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 523 }, +{ PROC_LINKS(move_right_token_boundary, 0), false, "move_right_token_boundary", 25, "Seek right for the next end of a token.", 39, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 481 }, +{ PROC_LINKS(move_right_whitespace_boundary, 0), false, "move_right_whitespace_boundary", 30, "Seek right for the next boundary between whitespace and non-whitespace.", 71, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 465 }, +{ PROC_LINKS(move_right_whitespace_or_token_boundary, 0), false, "move_right_whitespace_or_token_boundary", 39, "Seek right for the next end of a token or boundary between whitespace and non-whitespace.", 89, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 495 }, +{ PROC_LINKS(move_up, 0), false, "move_up", 7, "Moves the cursor up one line.", 29, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 332 }, +{ PROC_LINKS(move_up_10, 0), false, "move_up_10", 10, "Moves the cursor up ten lines.", 30, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 344 }, +{ PROC_LINKS(move_up_to_blank_line, 0), false, "move_up_to_blank_line", 21, "Seeks the cursor up to the next blank line.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 403 }, +{ PROC_LINKS(move_up_to_blank_line_end, 0), false, "move_up_to_blank_line_end", 25, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 427 }, +{ PROC_LINKS(move_up_to_blank_line_skip_whitespace, 0), false, "move_up_to_blank_line_skip_whitespace", 37, "Seeks the cursor up to the next blank line and places it at the end of the line.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 415 }, { PROC_LINKS(open_all_code, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 849 }, { PROC_LINKS(open_all_code_recursive, 0), false, "open_all_code_recursive", 23, "Works as open_all_code but also runs in all subdirectories.", 59, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 855 }, -{ PROC_LINKS(load_project, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 863 }, +{ PROC_LINKS(open_documentation, 0), true, "open_documentation", 18, "Prompts the user to select an API item then loads a doc buffer for that item", 76, "w:\\4ed\\code\\custom\\4coder_docs.cpp", 34, 175 }, +{ PROC_LINKS(open_file_in_quotes, 0), false, "open_file_in_quotes", 19, "Reads a filename from surrounding '\"' characters and attempts to open the corresponding file.", 94, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1461 }, +{ PROC_LINKS(open_in_other, 0), false, "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1792 }, +{ PROC_LINKS(open_long_braces, 0), false, "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 46 }, +{ PROC_LINKS(open_long_braces_break, 0), false, "open_long_braces_break", 22, "At the cursor, insert a '{' and '}break;' separated by a blank line.", 68, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 62 }, +{ PROC_LINKS(open_long_braces_semicolon, 0), false, "open_long_braces_semicolon", 26, "At the cursor, insert a '{' and '};' separated by a blank line.", 63, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 54 }, +{ PROC_LINKS(open_matching_file_cpp, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1493 }, +{ PROC_LINKS(open_panel_hsplit, 0), false, "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 310 }, +{ PROC_LINKS(open_panel_vsplit, 0), false, "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 300 }, +{ PROC_LINKS(page_down, 0), false, "page_down", 9, "Scrolls the view down one view height and moves the cursor down one view height.", 80, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 374 }, +{ PROC_LINKS(page_up, 0), false, "page_up", 7, "Scrolls the view up one view height and moves the cursor up one view height.", 76, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 366 }, +{ PROC_LINKS(paste, 0), false, "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 39 }, +{ PROC_LINKS(paste_and_indent, 0), false, "paste_and_indent", 16, "Paste from the top of clipboard and run auto-indent on the newly pasted text.", 77, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 110 }, +{ PROC_LINKS(paste_next, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 71 }, +{ PROC_LINKS(paste_next_and_indent, 0), false, "paste_next_and_indent", 21, "Paste the next item on the clipboard and run auto-indent on the newly pasted text.", 82, "w:\\4ed\\code\\custom\\4coder_clipboard.cpp", 39, 117 }, +{ PROC_LINKS(place_in_scope, 0), false, "place_in_scope", 14, "Wraps the code contained in the range between cursor and mark with a new curly brace scope.", 91, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 106 }, +{ PROC_LINKS(profile_clear, 0), false, "profile_clear", 13, "Clear all profiling information from 4coder's self profiler.", 60, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 226 }, +{ PROC_LINKS(profile_disable, 0), false, "profile_disable", 15, "Prevent 4coder's self profiler from gathering new profiling information.", 72, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 219 }, +{ PROC_LINKS(profile_enable, 0), false, "profile_enable", 14, "Allow 4coder's self profiler to gather new profiling information.", 65, "w:\\4ed\\code\\custom\\4coder_profile.cpp", 37, 212 }, +{ PROC_LINKS(profile_inspect, 0), true, "profile_inspect", 15, "Inspect all currently collected profiling information in 4coder's self profiler.", 80, "w:\\4ed\\code\\custom\\4coder_profile_inspect.cpp", 45, 886 }, +{ PROC_LINKS(project_command_lister, 0), false, "project_command_lister", 22, "Open a lister of all commands in the currently loaded project.", 62, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1290 }, { PROC_LINKS(project_fkey_command, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 871 }, { PROC_LINKS(project_go_to_root_directory, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 897 }, -{ PROC_LINKS(setup_new_project, 0), false, "setup_new_project", 17, "Queries the user for several configuration options and initializes a new 4coder project with build scripts for every OS.", 120, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1231 }, -{ PROC_LINKS(setup_build_bat, 0), false, "setup_build_bat", 15, "Queries the user for several configuration options and initializes a new build batch script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1238 }, -{ PROC_LINKS(setup_build_sh, 0), false, "setup_build_sh", 14, "Queries the user for several configuration options and initializes a new build shell script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1244 }, -{ PROC_LINKS(setup_build_bat_and_sh, 0), false, "setup_build_bat_and_sh", 22, "Queries the user for several configuration options and initializes a new build batch script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1250 }, -{ PROC_LINKS(project_command_lister, 0), false, "project_command_lister", 22, "Open a lister of all commands in the currently loaded project.", 62, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1290 }, -{ PROC_LINKS(list_all_functions_current_buffer, 0), false, "list_all_functions_current_buffer", 33, "Creates a jump list of lines of the current buffer that appear to define or declare functions.", 94, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 267 }, -{ PROC_LINKS(list_all_functions_current_buffer_lister, 0), false, "list_all_functions_current_buffer_lister", 40, "Creates a lister of locations that look like function definitions and declarations in the buffer.", 97, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 277 }, -{ PROC_LINKS(list_all_functions_all_buffers, 0), false, "list_all_functions_all_buffers", 30, "Creates a jump list of lines from all buffers that appear to define or declare functions.", 89, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 295 }, -{ PROC_LINKS(list_all_functions_all_buffers_lister, 0), false, "list_all_functions_all_buffers_lister", 37, "Creates a lister of locations that look like function definitions and declarations all buffers.", 95, "w:\\4ed\\code\\custom\\4coder_function_list.cpp", 43, 301 }, -{ PROC_LINKS(select_surrounding_scope, 0), false, "select_surrounding_scope", 24, "Finds the scope enclosed by '{' '}' surrounding the cursor and puts the cursor and mark on the '{' and '}'.", 107, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 27 }, -{ PROC_LINKS(select_surrounding_scope_maximal, 0), false, "select_surrounding_scope_maximal", 32, "Selects the top-most scope that surrounds the cursor.", 53, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 39 }, +{ PROC_LINKS(query_replace, 0), false, "query_replace", 13, "Queries the user for two strings, and incrementally replaces every occurence of the first string with the second string.", 120, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1149 }, +{ PROC_LINKS(query_replace_identifier, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1170 }, +{ PROC_LINKS(query_replace_selection, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1186 }, +{ PROC_LINKS(redo, 0), false, "redo", 4, "Advances forwards through the undo history of the current buffer.", 65, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1631 }, +{ PROC_LINKS(redo_all_buffers, 0), false, "redo_all_buffers", 16, "Advances forward through the undo history in the buffer containing the most recent regular edit.", 96, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1716 }, +{ PROC_LINKS(rename_file_query, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1298 }, +{ PROC_LINKS(reopen, 0), false, "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1560 }, +{ PROC_LINKS(replace_in_all_buffers, 0), false, "replace_in_all_buffers", 22, "Queries the user for a needle and string. Replaces all occurences of needle with string in all editable buffers.", 112, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1059 }, +{ PROC_LINKS(replace_in_buffer, 0), false, "replace_in_buffer", 17, "Queries the user for a needle and string. Replaces all occurences of needle with string in the active buffer.", 109, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1050 }, +{ PROC_LINKS(replace_in_range, 0), false, "replace_in_range", 16, "Queries the user for a needle and string. Replaces all occurences of needle with string in the range between cursor and the mark in the active buffer.", 150, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1041 }, +{ PROC_LINKS(reverse_search, 0), false, "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 982 }, +{ PROC_LINKS(reverse_search_identifier, 0), false, "reverse_search_identifier", 25, "Begins an incremental search up through the current buffer for the word or token under the cursor.", 98, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 994 }, +{ PROC_LINKS(save, 0), false, "save", 4, "Saves the current buffer.", 25, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1550 }, +{ PROC_LINKS(save_all_dirty_buffers, 0), false, "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 382 }, +{ PROC_LINKS(save_to_query, 0), false, "save_to_query", 13, "Queries the user for a file name and saves the contents of the current buffer, altering the buffer's name too.", 110, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1265 }, +{ PROC_LINKS(search, 0), false, "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 976 }, +{ PROC_LINKS(search_identifier, 0), false, "search_identifier", 17, "Begins an incremental search down through the current buffer for the word or token under the cursor.", 100, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 988 }, +{ PROC_LINKS(seek_beginning_of_line, 0), false, "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2172 }, +{ PROC_LINKS(seek_beginning_of_textual_line, 0), false, "seek_beginning_of_textual_line", 30, "Seeks the cursor to the beginning of the line across all text.", 62, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2160 }, +{ PROC_LINKS(seek_end_of_line, 0), false, "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2178 }, +{ PROC_LINKS(seek_end_of_textual_line, 0), false, "seek_end_of_textual_line", 24, "Seeks the cursor to the end of the line across all text.", 56, "w:\\4ed\\code\\custom\\4coder_helper.cpp", 36, 2166 }, +{ PROC_LINKS(select_all, 0), false, "select_all", 10, "Puts the cursor at the top of the file, and the mark at the bottom of the file.", 79, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 539 }, { PROC_LINKS(select_next_scope_absolute, 0), false, "select_next_scope_absolute", 26, "Finds the first scope started by '{' after the cursor and puts the cursor and mark on the '{' and '}'.", 102, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 57 }, { PROC_LINKS(select_next_scope_after_current, 0), false, "select_next_scope_after_current", 31, "If a scope is selected, find first scope that starts after the selected scope. Otherwise find the first scope that starts after the cursor.", 139, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 66 }, { PROC_LINKS(select_prev_scope_absolute, 0), false, "select_prev_scope_absolute", 26, "Finds the first scope started by '{' before the cursor and puts the cursor and mark on the '{' and '}'.", 103, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 82 }, { PROC_LINKS(select_prev_top_most_scope, 0), false, "select_prev_top_most_scope", 26, "Finds the first scope that starts before the cursor, then finds the top most scope that contains that scope.", 108, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 99 }, -{ PROC_LINKS(place_in_scope, 0), false, "place_in_scope", 14, "Wraps the code contained in the range between cursor and mark with a new curly brace scope.", 91, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 106 }, -{ PROC_LINKS(delete_current_scope, 0), false, "delete_current_scope", 20, "Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope.", 99, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 112 }, -{ PROC_LINKS(open_long_braces, 0), false, "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 46 }, -{ PROC_LINKS(open_long_braces_semicolon, 0), false, "open_long_braces_semicolon", 26, "At the cursor, insert a '{' and '};' separated by a blank line.", 63, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 54 }, -{ PROC_LINKS(open_long_braces_break, 0), false, "open_long_braces_break", 22, "At the cursor, insert a '{' and '}break;' separated by a blank line.", 68, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 62 }, -{ PROC_LINKS(if0_off, 0), false, "if0_off", 7, "Surround the range between the cursor and mark with an '#if 0' and an '#endif'", 78, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 70 }, -{ PROC_LINKS(write_todo, 0), false, "write_todo", 10, "At the cursor, insert a '// TODO' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 76 }, -{ PROC_LINKS(write_hack, 0), false, "write_hack", 10, "At the cursor, insert a '// HACK' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 82 }, -{ PROC_LINKS(write_note, 0), false, "write_note", 10, "At the cursor, insert a '// NOTE' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 88 }, -{ PROC_LINKS(write_block, 0), false, "write_block", 11, "At the cursor, insert a block comment.", 38, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 94 }, -{ PROC_LINKS(write_zero_struct, 0), false, "write_zero_struct", 17, "At the cursor, insert a ' = {};'.", 33, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 100 }, -{ PROC_LINKS(comment_line, 0), false, "comment_line", 12, "Insert '//' at the beginning of the line after leading whitespace.", 66, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 125 }, -{ PROC_LINKS(uncomment_line, 0), false, "uncomment_line", 14, "If present, delete '//' at the beginning of the line after leading whitespace.", 78, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 137 }, -{ PROC_LINKS(comment_line_toggle, 0), false, "comment_line_toggle", 19, "Turns uncommented lines into commented lines and vice versa for comments starting with '//'.", 92, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 149 }, +{ PROC_LINKS(select_surrounding_scope, 0), false, "select_surrounding_scope", 24, "Finds the scope enclosed by '{' '}' surrounding the cursor and puts the cursor and mark on the '{' and '}'.", 107, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 27 }, +{ PROC_LINKS(select_surrounding_scope_maximal, 0), false, "select_surrounding_scope_maximal", 32, "Selects the top-most scope that surrounds the cursor.", 53, "w:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 39 }, +{ PROC_LINKS(set_eol_mode_from_contents, 0), false, "set_eol_mode_from_contents", 26, "Sets the buffer's line ending mode to match the contents of the buffer.", 71, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 125 }, +{ PROC_LINKS(set_eol_mode_to_binary, 0), false, "set_eol_mode_to_binary", 22, "Puts the buffer in bin line ending mode.", 40, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 112 }, +{ PROC_LINKS(set_eol_mode_to_crlf, 0), false, "set_eol_mode_to_crlf", 20, "Puts the buffer in crlf line ending mode.", 41, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 86 }, +{ PROC_LINKS(set_eol_mode_to_lf, 0), false, "set_eol_mode_to_lf", 18, "Puts the buffer in lf line ending mode.", 39, "w:\\4ed\\code\\custom\\4coder_eol.cpp", 33, 99 }, +{ PROC_LINKS(set_mark, 0), false, "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 115 }, +{ PROC_LINKS(set_mode_to_notepad_like, 0), false, "set_mode_to_notepad_like", 24, "Sets the edit mode to Notepad like.", 35, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 427 }, +{ PROC_LINKS(set_mode_to_original, 0), false, "set_mode_to_original", 20, "Sets the edit mode to 4coder original.", 38, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 421 }, +{ PROC_LINKS(setup_build_bat, 0), false, "setup_build_bat", 15, "Queries the user for several configuration options and initializes a new build batch script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1238 }, +{ PROC_LINKS(setup_build_bat_and_sh, 0), false, "setup_build_bat_and_sh", 22, "Queries the user for several configuration options and initializes a new build batch script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1250 }, +{ PROC_LINKS(setup_build_sh, 0), false, "setup_build_sh", 14, "Queries the user for several configuration options and initializes a new build shell script.", 92, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1244 }, +{ PROC_LINKS(setup_new_project, 0), false, "setup_new_project", 17, "Queries the user for several configuration options and initializes a new 4coder project with build scripts for every OS.", 120, "w:\\4ed\\code\\custom\\4coder_project_commands.cpp", 46, 1231 }, +{ PROC_LINKS(show_filebar, 0), false, "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 644 }, +{ PROC_LINKS(show_scrollbar, 0), false, "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 630 }, +{ PROC_LINKS(show_the_log_graph, 0), true, "show_the_log_graph", 18, "Parses *log* and displays the 'log graph' UI", 44, "w:\\4ed\\code\\custom\\4coder_log_parser.cpp", 40, 994 }, +{ PROC_LINKS(snipe_backward_whitespace_or_token_boundary, 0), false, "snipe_backward_whitespace_or_token_boundary", 43, "Delete a single, whole token on or to the left of the cursor and post it to the clipboard.", 90, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 179 }, +{ PROC_LINKS(snipe_forward_whitespace_or_token_boundary, 0), false, "snipe_forward_whitespace_or_token_boundary", 42, "Delete a single, whole token on or to the right of the cursor and post it to the clipboard.", 91, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 187 }, { PROC_LINKS(snippet_lister, 0), true, "snippet_lister", 14, "Opens a snippet lister for inserting whole pre-written snippets of text.", 72, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 237 }, -{ PROC_LINKS(miblo_increment_basic, 0), false, "miblo_increment_basic", 21, "Increment an integer under the cursor by one.", 45, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 29 }, -{ PROC_LINKS(miblo_decrement_basic, 0), false, "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 44 }, -{ PROC_LINKS(miblo_increment_time_stamp, 0), false, "miblo_increment_time_stamp", 26, "Increment a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 231 }, -{ PROC_LINKS(miblo_decrement_time_stamp, 0), false, "miblo_decrement_time_stamp", 26, "Decrement a time stamp under the cursor by one second. (format [m]m:ss or h:mm:ss", 81, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 237 }, -{ PROC_LINKS(miblo_increment_time_stamp_minute, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 243 }, -{ PROC_LINKS(miblo_decrement_time_stamp_minute, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_miblo_numbers.cpp", 43, 249 }, -{ PROC_LINKS(profile_inspect, 0), true, "profile_inspect", 15, "Inspect all currently collected profiling information in 4coder's self profiler.", 80, "w:\\4ed\\code\\custom\\4coder_profile_inspect.cpp", 45, 886 }, -{ PROC_LINKS(kill_tutorial, 0), false, "kill_tutorial", 13, "If there is an active tutorial, kill it.", 40, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 9 }, +{ PROC_LINKS(suppress_mouse, 0), false, "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 403 }, +{ PROC_LINKS(swap_panels, 0), false, "swap_panels", 11, "Swaps the active panel with it's sibling.", 41, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1518 }, +{ PROC_LINKS(theme_lister, 0), true, "theme_lister", 12, "Opens an interactive list of all registered themes.", 51, "w:\\4ed\\code\\custom\\4coder_lists.cpp", 35, 691 }, +{ PROC_LINKS(to_lowercase, 0), false, "to_lowercase", 12, "Converts all ascii text in the range between the cursor and the mark to lowercase.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 565 }, +{ PROC_LINKS(to_uppercase, 0), false, "to_uppercase", 12, "Converts all ascii text in the range between the cursor and the mark to uppercase.", 82, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 552 }, +{ PROC_LINKS(toggle_filebar, 0), false, "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 658 }, +{ PROC_LINKS(toggle_fps_meter, 0), false, "toggle_fps_meter", 16, "Toggles the visibility of the FPS performance meter", 51, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 667 }, +{ PROC_LINKS(toggle_fullscreen, 0), false, "toggle_fullscreen", 17, "Toggle fullscreen mode on or off. The change(s) do not take effect until the next frame.", 89, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 451 }, +{ PROC_LINKS(toggle_highlight_enclosing_scopes, 0), false, "toggle_highlight_enclosing_scopes", 33, "In code files scopes surrounding the cursor are highlighted with distinguishing colors.", 87, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 439 }, +{ PROC_LINKS(toggle_highlight_line_at_cursor, 0), false, "toggle_highlight_line_at_cursor", 31, "Toggles the line highlight at the cursor.", 41, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 433 }, +{ PROC_LINKS(toggle_line_numbers, 0), false, "toggle_line_numbers", 19, "Toggles the left margin line numbers.", 37, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 721 }, +{ PROC_LINKS(toggle_line_wrap, 0), false, "toggle_line_wrap", 16, "Toggles the line wrap setting on this buffer.", 45, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 727 }, +{ PROC_LINKS(toggle_mouse, 0), false, "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 415 }, +{ PROC_LINKS(toggle_paren_matching_helper, 0), false, "toggle_paren_matching_helper", 28, "In code files matching parentheses pairs are colored with distinguishing colors.", 80, "w:\\4ed\\code\\custom\\4coder_default_framework.cpp", 47, 445 }, +{ PROC_LINKS(toggle_show_whitespace, 0), false, "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 712 }, +{ PROC_LINKS(toggle_virtual_whitespace, 0), false, "toggle_virtual_whitespace", 25, "Toggles the current buffer's virtual whitespace status.", 55, "w:\\4ed\\code\\custom\\4coder_code_index.cpp", 40, 957 }, { PROC_LINKS(tutorial_maximize, 0), false, "tutorial_maximize", 17, "Expand the tutorial window", 26, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 20 }, { PROC_LINKS(tutorial_minimize, 0), false, "tutorial_minimize", 17, "Shrink the tutorial window", 26, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 34 }, -{ PROC_LINKS(hms_demo_tutorial, 0), false, "hms_demo_tutorial", 17, "Tutorial for built in 4coder bindings and features.", 51, "w:\\4ed\\code\\custom\\4coder_tutorial.cpp", 38, 869 }, -{ PROC_LINKS(open_documentation, 0), true, "open_documentation", 18, "Prompts the user to select an API item then loads a doc buffer for that item", 76, "w:\\4ed\\code\\custom\\4coder_docs.cpp", 34, 175 }, -{ PROC_LINKS(default_startup, 0), false, "default_startup", 15, "Default command for responding to a startup event", 49, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 7 }, -{ PROC_LINKS(default_try_exit, 0), false, "default_try_exit", 16, "Default command for responding to a try-exit event", 50, "w:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 22 }, +{ PROC_LINKS(uncomment_line, 0), false, "uncomment_line", 14, "If present, delete '//' at the beginning of the line after leading whitespace.", 78, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 137 }, +{ PROC_LINKS(undo, 0), false, "undo", 4, "Advances backwards through the undo history of the current buffer.", 66, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1618 }, +{ PROC_LINKS(undo_all_buffers, 0), false, "undo_all_buffers", 16, "Advances backward through the undo history in the buffer containing the most recent regular edit.", 97, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1645 }, +{ PROC_LINKS(view_buffer_other_panel, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 1506 }, +{ PROC_LINKS(view_jump_list_with_lister, 0), false, "view_jump_list_with_lister", 26, "When executed on a buffer with jumps, creates a persistent lister for all the jumps", 83, "w:\\4ed\\code\\custom\\4coder_jump_lister.cpp", 41, 59 }, +{ PROC_LINKS(word_complete, 0), false, "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, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 392 }, +{ PROC_LINKS(word_complete_drop_down, 0), false, "word_complete_drop_down", 23, "Word complete with drop down menu.", 34, "w:\\4ed\\code\\custom\\4coder_search.cpp", 36, 639 }, +{ PROC_LINKS(write_block, 0), false, "write_block", 11, "At the cursor, insert a block comment.", 38, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 94 }, +{ PROC_LINKS(write_hack, 0), false, "write_hack", 10, "At the cursor, insert a '// HACK' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 82 }, +{ PROC_LINKS(write_note, 0), false, "write_note", 10, "At the cursor, insert a '// NOTE' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 88 }, +{ PROC_LINKS(write_space, 0), false, "write_space", 11, "Inserts an underscore.", 22, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 67 }, +{ PROC_LINKS(write_text_and_auto_indent, 0), false, "write_text_and_auto_indent", 26, "Inserts text and auto-indents the line on which the cursor sits if any of the text contains 'layout punctuation' such as ;:{}()[]# and new lines.", 145, "w:\\4ed\\code\\custom\\4coder_auto_indent.cpp", 41, 395 }, +{ PROC_LINKS(write_text_input, 0), false, "write_text_input", 16, "Inserts whatever text was used to trigger this command.", 55, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 59 }, +{ PROC_LINKS(write_todo, 0), false, "write_todo", 10, "At the cursor, insert a '// TODO' comment, includes user name if it was specified in config.4coder.", 99, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 76 }, +{ PROC_LINKS(write_underscore, 0), false, "write_underscore", 16, "Inserts an underscore.", 22, "w:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 73 }, +{ PROC_LINKS(write_zero_struct, 0), false, "write_zero_struct", 17, "At the cursor, insert a ' = {};'.", 33, "w:\\4ed\\code\\custom\\4coder_combined_write_commands.cpp", 53, 100 }, }; -static i32 fcoder_metacmd_ID_default_view_input_handler = 0; -static i32 fcoder_metacmd_ID_profile_enable = 1; -static i32 fcoder_metacmd_ID_profile_disable = 2; -static i32 fcoder_metacmd_ID_profile_clear = 3; -static i32 fcoder_metacmd_ID_seek_beginning_of_textual_line = 4; -static i32 fcoder_metacmd_ID_seek_end_of_textual_line = 5; -static i32 fcoder_metacmd_ID_seek_beginning_of_line = 6; -static i32 fcoder_metacmd_ID_seek_end_of_line = 7; -static i32 fcoder_metacmd_ID_goto_beginning_of_file = 8; -static i32 fcoder_metacmd_ID_goto_end_of_file = 9; -static i32 fcoder_metacmd_ID_toggle_virtual_whitespace = 10; -static i32 fcoder_metacmd_ID_change_active_panel = 11; -static i32 fcoder_metacmd_ID_change_active_panel_backwards = 12; -static i32 fcoder_metacmd_ID_open_panel_vsplit = 13; -static i32 fcoder_metacmd_ID_open_panel_hsplit = 14; -static i32 fcoder_metacmd_ID_save_all_dirty_buffers = 15; -static i32 fcoder_metacmd_ID_suppress_mouse = 16; -static i32 fcoder_metacmd_ID_allow_mouse = 17; -static i32 fcoder_metacmd_ID_toggle_mouse = 18; -static i32 fcoder_metacmd_ID_set_mode_to_original = 19; -static i32 fcoder_metacmd_ID_set_mode_to_notepad_like = 20; -static i32 fcoder_metacmd_ID_toggle_highlight_line_at_cursor = 21; -static i32 fcoder_metacmd_ID_toggle_highlight_enclosing_scopes = 22; -static i32 fcoder_metacmd_ID_toggle_paren_matching_helper = 23; -static i32 fcoder_metacmd_ID_toggle_fullscreen = 24; -static i32 fcoder_metacmd_ID_load_themes_default_folder = 25; -static i32 fcoder_metacmd_ID_load_themes_hot_directory = 26; -static i32 fcoder_metacmd_ID_clear_all_themes = 27; -static i32 fcoder_metacmd_ID_write_text_input = 28; -static i32 fcoder_metacmd_ID_write_space = 29; -static i32 fcoder_metacmd_ID_write_underscore = 30; -static i32 fcoder_metacmd_ID_delete_char = 31; -static i32 fcoder_metacmd_ID_backspace_char = 32; -static i32 fcoder_metacmd_ID_set_mark = 33; -static i32 fcoder_metacmd_ID_cursor_mark_swap = 34; -static i32 fcoder_metacmd_ID_delete_range = 35; -static i32 fcoder_metacmd_ID_backspace_alpha_numeric_boundary = 36; -static i32 fcoder_metacmd_ID_delete_alpha_numeric_boundary = 37; -static i32 fcoder_metacmd_ID_snipe_backward_whitespace_or_token_boundary = 38; -static i32 fcoder_metacmd_ID_snipe_forward_whitespace_or_token_boundary = 39; -static i32 fcoder_metacmd_ID_center_view = 40; -static i32 fcoder_metacmd_ID_left_adjust_view = 41; -static i32 fcoder_metacmd_ID_click_set_cursor_and_mark = 42; -static i32 fcoder_metacmd_ID_click_set_cursor = 43; -static i32 fcoder_metacmd_ID_click_set_cursor_if_lbutton = 44; -static i32 fcoder_metacmd_ID_click_set_mark = 45; -static i32 fcoder_metacmd_ID_mouse_wheel_scroll = 46; -static i32 fcoder_metacmd_ID_move_up = 47; -static i32 fcoder_metacmd_ID_move_down = 48; -static i32 fcoder_metacmd_ID_move_up_10 = 49; -static i32 fcoder_metacmd_ID_move_down_10 = 50; -static i32 fcoder_metacmd_ID_move_down_textual = 51; -static i32 fcoder_metacmd_ID_page_up = 52; -static i32 fcoder_metacmd_ID_page_down = 53; -static i32 fcoder_metacmd_ID_move_up_to_blank_line = 54; -static i32 fcoder_metacmd_ID_move_down_to_blank_line = 55; -static i32 fcoder_metacmd_ID_move_up_to_blank_line_skip_whitespace = 56; -static i32 fcoder_metacmd_ID_move_down_to_blank_line_skip_whitespace = 57; -static i32 fcoder_metacmd_ID_move_up_to_blank_line_end = 58; -static i32 fcoder_metacmd_ID_move_down_to_blank_line_end = 59; -static i32 fcoder_metacmd_ID_move_left = 60; -static i32 fcoder_metacmd_ID_move_right = 61; -static i32 fcoder_metacmd_ID_move_right_whitespace_boundary = 62; -static i32 fcoder_metacmd_ID_move_left_whitespace_boundary = 63; -static i32 fcoder_metacmd_ID_move_right_token_boundary = 64; -static i32 fcoder_metacmd_ID_move_left_token_boundary = 65; -static i32 fcoder_metacmd_ID_move_right_whitespace_or_token_boundary = 66; -static i32 fcoder_metacmd_ID_move_left_whitespace_or_token_boundary = 67; -static i32 fcoder_metacmd_ID_move_right_alpha_numeric_boundary = 68; -static i32 fcoder_metacmd_ID_move_left_alpha_numeric_boundary = 69; -static i32 fcoder_metacmd_ID_move_right_alpha_numeric_or_camel_boundary = 70; -static i32 fcoder_metacmd_ID_move_left_alpha_numeric_or_camel_boundary = 71; -static i32 fcoder_metacmd_ID_select_all = 72; -static i32 fcoder_metacmd_ID_to_uppercase = 73; -static i32 fcoder_metacmd_ID_to_lowercase = 74; -static i32 fcoder_metacmd_ID_clean_all_lines = 75; -static i32 fcoder_metacmd_ID_basic_change_active_panel = 76; -static i32 fcoder_metacmd_ID_close_panel = 77; -static i32 fcoder_metacmd_ID_show_scrollbar = 78; -static i32 fcoder_metacmd_ID_hide_scrollbar = 79; -static i32 fcoder_metacmd_ID_show_filebar = 80; -static i32 fcoder_metacmd_ID_hide_filebar = 81; -static i32 fcoder_metacmd_ID_toggle_filebar = 82; -static i32 fcoder_metacmd_ID_toggle_fps_meter = 83; -static i32 fcoder_metacmd_ID_increase_face_size = 84; -static i32 fcoder_metacmd_ID_decrease_face_size = 85; -static i32 fcoder_metacmd_ID_mouse_wheel_change_face_size = 86; -static i32 fcoder_metacmd_ID_toggle_show_whitespace = 87; -static i32 fcoder_metacmd_ID_toggle_line_numbers = 88; -static i32 fcoder_metacmd_ID_toggle_line_wrap = 89; -static i32 fcoder_metacmd_ID_exit_4coder = 90; -static i32 fcoder_metacmd_ID_goto_line = 91; -static i32 fcoder_metacmd_ID_search = 92; -static i32 fcoder_metacmd_ID_reverse_search = 93; -static i32 fcoder_metacmd_ID_search_identifier = 94; -static i32 fcoder_metacmd_ID_reverse_search_identifier = 95; -static i32 fcoder_metacmd_ID_replace_in_range = 96; -static i32 fcoder_metacmd_ID_replace_in_buffer = 97; -static i32 fcoder_metacmd_ID_replace_in_all_buffers = 98; -static i32 fcoder_metacmd_ID_query_replace = 99; -static i32 fcoder_metacmd_ID_query_replace_identifier = 100; -static i32 fcoder_metacmd_ID_query_replace_selection = 101; -static i32 fcoder_metacmd_ID_delete_file_query = 102; -static i32 fcoder_metacmd_ID_save_to_query = 103; -static i32 fcoder_metacmd_ID_rename_file_query = 104; -static i32 fcoder_metacmd_ID_make_directory_query = 105; -static i32 fcoder_metacmd_ID_move_line_up = 106; -static i32 fcoder_metacmd_ID_move_line_down = 107; -static i32 fcoder_metacmd_ID_duplicate_line = 108; -static i32 fcoder_metacmd_ID_delete_line = 109; -static i32 fcoder_metacmd_ID_open_file_in_quotes = 110; -static i32 fcoder_metacmd_ID_open_matching_file_cpp = 111; -static i32 fcoder_metacmd_ID_view_buffer_other_panel = 112; -static i32 fcoder_metacmd_ID_swap_panels = 113; -static i32 fcoder_metacmd_ID_kill_buffer = 114; -static i32 fcoder_metacmd_ID_save = 115; -static i32 fcoder_metacmd_ID_reopen = 116; -static i32 fcoder_metacmd_ID_undo = 117; -static i32 fcoder_metacmd_ID_redo = 118; -static i32 fcoder_metacmd_ID_undo_all_buffers = 119; -static i32 fcoder_metacmd_ID_redo_all_buffers = 120; -static i32 fcoder_metacmd_ID_open_in_other = 121; -static i32 fcoder_metacmd_ID_default_file_externally_modified = 122; -static i32 fcoder_metacmd_ID_set_eol_mode_to_crlf = 123; -static i32 fcoder_metacmd_ID_set_eol_mode_to_lf = 124; -static i32 fcoder_metacmd_ID_set_eol_mode_to_binary = 125; -static i32 fcoder_metacmd_ID_set_eol_mode_from_contents = 126; -static i32 fcoder_metacmd_ID_interactive_switch_buffer = 127; -static i32 fcoder_metacmd_ID_interactive_kill_buffer = 128; -static i32 fcoder_metacmd_ID_interactive_open_or_new = 129; -static i32 fcoder_metacmd_ID_interactive_new = 130; -static i32 fcoder_metacmd_ID_interactive_open = 131; -static i32 fcoder_metacmd_ID_command_lister = 132; -static i32 fcoder_metacmd_ID_theme_lister = 133; -static i32 fcoder_metacmd_ID_auto_indent_whole_file = 134; -static i32 fcoder_metacmd_ID_auto_indent_line_at_cursor = 135; -static i32 fcoder_metacmd_ID_auto_indent_range = 136; -static i32 fcoder_metacmd_ID_write_text_and_auto_indent = 137; -static i32 fcoder_metacmd_ID_list_all_locations = 138; -static i32 fcoder_metacmd_ID_list_all_substring_locations = 139; -static i32 fcoder_metacmd_ID_list_all_locations_case_insensitive = 140; -static i32 fcoder_metacmd_ID_list_all_substring_locations_case_insensitive = 141; -static i32 fcoder_metacmd_ID_list_all_locations_of_identifier = 142; -static i32 fcoder_metacmd_ID_list_all_locations_of_identifier_case_insensitive = 143; -static i32 fcoder_metacmd_ID_list_all_locations_of_selection = 144; -static i32 fcoder_metacmd_ID_list_all_locations_of_selection_case_insensitive = 145; -static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition = 146; -static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition_of_identifier = 147; -static i32 fcoder_metacmd_ID_word_complete = 148; -static i32 fcoder_metacmd_ID_word_complete_drop_down = 149; -static i32 fcoder_metacmd_ID_goto_jump_at_cursor = 150; -static i32 fcoder_metacmd_ID_goto_jump_at_cursor_same_panel = 151; -static i32 fcoder_metacmd_ID_goto_next_jump = 152; -static i32 fcoder_metacmd_ID_goto_prev_jump = 153; -static i32 fcoder_metacmd_ID_goto_next_jump_no_skips = 154; -static i32 fcoder_metacmd_ID_goto_prev_jump_no_skips = 155; -static i32 fcoder_metacmd_ID_goto_first_jump = 156; -static i32 fcoder_metacmd_ID_goto_first_jump_same_panel_sticky = 157; -static i32 fcoder_metacmd_ID_if_read_only_goto_position = 158; -static i32 fcoder_metacmd_ID_if_read_only_goto_position_same_panel = 159; -static i32 fcoder_metacmd_ID_view_jump_list_with_lister = 160; -static i32 fcoder_metacmd_ID_show_the_log_graph = 161; -static i32 fcoder_metacmd_ID_copy = 162; -static i32 fcoder_metacmd_ID_cut = 163; -static i32 fcoder_metacmd_ID_paste = 164; -static i32 fcoder_metacmd_ID_paste_next = 165; -static i32 fcoder_metacmd_ID_paste_and_indent = 166; -static i32 fcoder_metacmd_ID_paste_next_and_indent = 167; -static i32 fcoder_metacmd_ID_keyboard_macro_start_recording = 168; -static i32 fcoder_metacmd_ID_keyboard_macro_finish_recording = 169; -static i32 fcoder_metacmd_ID_keyboard_macro_replay = 170; -static i32 fcoder_metacmd_ID_execute_previous_cli = 171; -static i32 fcoder_metacmd_ID_execute_any_cli = 172; -static i32 fcoder_metacmd_ID_build_search = 173; -static i32 fcoder_metacmd_ID_build_in_build_panel = 174; -static i32 fcoder_metacmd_ID_close_build_panel = 175; -static i32 fcoder_metacmd_ID_change_to_build_panel = 176; -static i32 fcoder_metacmd_ID_close_all_code = 177; -static i32 fcoder_metacmd_ID_open_all_code = 178; -static i32 fcoder_metacmd_ID_open_all_code_recursive = 179; -static i32 fcoder_metacmd_ID_load_project = 180; -static i32 fcoder_metacmd_ID_project_fkey_command = 181; -static i32 fcoder_metacmd_ID_project_go_to_root_directory = 182; -static i32 fcoder_metacmd_ID_setup_new_project = 183; -static i32 fcoder_metacmd_ID_setup_build_bat = 184; +static i32 fcoder_metacmd_ID_allow_mouse = 0; +static i32 fcoder_metacmd_ID_auto_indent_line_at_cursor = 1; +static i32 fcoder_metacmd_ID_auto_indent_range = 2; +static i32 fcoder_metacmd_ID_auto_indent_whole_file = 3; +static i32 fcoder_metacmd_ID_backspace_alpha_numeric_boundary = 4; +static i32 fcoder_metacmd_ID_backspace_char = 5; +static i32 fcoder_metacmd_ID_basic_change_active_panel = 6; +static i32 fcoder_metacmd_ID_build_in_build_panel = 7; +static i32 fcoder_metacmd_ID_build_search = 8; +static i32 fcoder_metacmd_ID_center_view = 9; +static i32 fcoder_metacmd_ID_change_active_panel = 10; +static i32 fcoder_metacmd_ID_change_active_panel_backwards = 11; +static i32 fcoder_metacmd_ID_change_to_build_panel = 12; +static i32 fcoder_metacmd_ID_clean_all_lines = 13; +static i32 fcoder_metacmd_ID_clear_all_themes = 14; +static i32 fcoder_metacmd_ID_click_set_cursor = 15; +static i32 fcoder_metacmd_ID_click_set_cursor_and_mark = 16; +static i32 fcoder_metacmd_ID_click_set_cursor_if_lbutton = 17; +static i32 fcoder_metacmd_ID_click_set_mark = 18; +static i32 fcoder_metacmd_ID_close_all_code = 19; +static i32 fcoder_metacmd_ID_close_build_panel = 20; +static i32 fcoder_metacmd_ID_close_panel = 21; +static i32 fcoder_metacmd_ID_command_lister = 22; +static i32 fcoder_metacmd_ID_comment_line = 23; +static i32 fcoder_metacmd_ID_comment_line_toggle = 24; +static i32 fcoder_metacmd_ID_copy = 25; +static i32 fcoder_metacmd_ID_cursor_mark_swap = 26; +static i32 fcoder_metacmd_ID_cut = 27; +static i32 fcoder_metacmd_ID_decrease_face_size = 28; +static i32 fcoder_metacmd_ID_default_file_externally_modified = 29; +static i32 fcoder_metacmd_ID_default_startup = 30; +static i32 fcoder_metacmd_ID_default_try_exit = 31; +static i32 fcoder_metacmd_ID_default_view_input_handler = 32; +static i32 fcoder_metacmd_ID_delete_alpha_numeric_boundary = 33; +static i32 fcoder_metacmd_ID_delete_char = 34; +static i32 fcoder_metacmd_ID_delete_current_scope = 35; +static i32 fcoder_metacmd_ID_delete_file_query = 36; +static i32 fcoder_metacmd_ID_delete_line = 37; +static i32 fcoder_metacmd_ID_delete_range = 38; +static i32 fcoder_metacmd_ID_duplicate_line = 39; +static i32 fcoder_metacmd_ID_execute_any_cli = 40; +static i32 fcoder_metacmd_ID_execute_previous_cli = 41; +static i32 fcoder_metacmd_ID_exit_4coder = 42; +static i32 fcoder_metacmd_ID_goto_beginning_of_file = 43; +static i32 fcoder_metacmd_ID_goto_end_of_file = 44; +static i32 fcoder_metacmd_ID_goto_first_jump = 45; +static i32 fcoder_metacmd_ID_goto_first_jump_same_panel_sticky = 46; +static i32 fcoder_metacmd_ID_goto_jump_at_cursor = 47; +static i32 fcoder_metacmd_ID_goto_jump_at_cursor_same_panel = 48; +static i32 fcoder_metacmd_ID_goto_line = 49; +static i32 fcoder_metacmd_ID_goto_next_jump = 50; +static i32 fcoder_metacmd_ID_goto_next_jump_no_skips = 51; +static i32 fcoder_metacmd_ID_goto_prev_jump = 52; +static i32 fcoder_metacmd_ID_goto_prev_jump_no_skips = 53; +static i32 fcoder_metacmd_ID_hide_filebar = 54; +static i32 fcoder_metacmd_ID_hide_scrollbar = 55; +static i32 fcoder_metacmd_ID_hms_demo_tutorial = 56; +static i32 fcoder_metacmd_ID_if0_off = 57; +static i32 fcoder_metacmd_ID_if_read_only_goto_position = 58; +static i32 fcoder_metacmd_ID_if_read_only_goto_position_same_panel = 59; +static i32 fcoder_metacmd_ID_increase_face_size = 60; +static i32 fcoder_metacmd_ID_interactive_kill_buffer = 61; +static i32 fcoder_metacmd_ID_interactive_new = 62; +static i32 fcoder_metacmd_ID_interactive_open = 63; +static i32 fcoder_metacmd_ID_interactive_open_or_new = 64; +static i32 fcoder_metacmd_ID_interactive_switch_buffer = 65; +static i32 fcoder_metacmd_ID_keyboard_macro_finish_recording = 66; +static i32 fcoder_metacmd_ID_keyboard_macro_replay = 67; +static i32 fcoder_metacmd_ID_keyboard_macro_start_recording = 68; +static i32 fcoder_metacmd_ID_kill_buffer = 69; +static i32 fcoder_metacmd_ID_kill_tutorial = 70; +static i32 fcoder_metacmd_ID_left_adjust_view = 71; +static i32 fcoder_metacmd_ID_list_all_functions_all_buffers = 72; +static i32 fcoder_metacmd_ID_list_all_functions_all_buffers_lister = 73; +static i32 fcoder_metacmd_ID_list_all_functions_current_buffer = 74; +static i32 fcoder_metacmd_ID_list_all_functions_current_buffer_lister = 75; +static i32 fcoder_metacmd_ID_list_all_locations = 76; +static i32 fcoder_metacmd_ID_list_all_locations_case_insensitive = 77; +static i32 fcoder_metacmd_ID_list_all_locations_of_identifier = 78; +static i32 fcoder_metacmd_ID_list_all_locations_of_identifier_case_insensitive = 79; +static i32 fcoder_metacmd_ID_list_all_locations_of_selection = 80; +static i32 fcoder_metacmd_ID_list_all_locations_of_selection_case_insensitive = 81; +static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition = 82; +static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition_of_identifier = 83; +static i32 fcoder_metacmd_ID_list_all_substring_locations = 84; +static i32 fcoder_metacmd_ID_list_all_substring_locations_case_insensitive = 85; +static i32 fcoder_metacmd_ID_load_project = 86; +static i32 fcoder_metacmd_ID_load_themes_default_folder = 87; +static i32 fcoder_metacmd_ID_load_themes_hot_directory = 88; +static i32 fcoder_metacmd_ID_make_directory_query = 89; +static i32 fcoder_metacmd_ID_miblo_decrement_basic = 90; +static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp = 91; +static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 92; +static i32 fcoder_metacmd_ID_miblo_increment_basic = 93; +static i32 fcoder_metacmd_ID_miblo_increment_time_stamp = 94; +static i32 fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 95; +static i32 fcoder_metacmd_ID_mouse_wheel_change_face_size = 96; +static i32 fcoder_metacmd_ID_mouse_wheel_scroll = 97; +static i32 fcoder_metacmd_ID_move_down = 98; +static i32 fcoder_metacmd_ID_move_down_10 = 99; +static i32 fcoder_metacmd_ID_move_down_textual = 100; +static i32 fcoder_metacmd_ID_move_down_to_blank_line = 101; +static i32 fcoder_metacmd_ID_move_down_to_blank_line_end = 102; +static i32 fcoder_metacmd_ID_move_down_to_blank_line_skip_whitespace = 103; +static i32 fcoder_metacmd_ID_move_left = 104; +static i32 fcoder_metacmd_ID_move_left_alpha_numeric_boundary = 105; +static i32 fcoder_metacmd_ID_move_left_alpha_numeric_or_camel_boundary = 106; +static i32 fcoder_metacmd_ID_move_left_token_boundary = 107; +static i32 fcoder_metacmd_ID_move_left_whitespace_boundary = 108; +static i32 fcoder_metacmd_ID_move_left_whitespace_or_token_boundary = 109; +static i32 fcoder_metacmd_ID_move_line_down = 110; +static i32 fcoder_metacmd_ID_move_line_up = 111; +static i32 fcoder_metacmd_ID_move_right = 112; +static i32 fcoder_metacmd_ID_move_right_alpha_numeric_boundary = 113; +static i32 fcoder_metacmd_ID_move_right_alpha_numeric_or_camel_boundary = 114; +static i32 fcoder_metacmd_ID_move_right_token_boundary = 115; +static i32 fcoder_metacmd_ID_move_right_whitespace_boundary = 116; +static i32 fcoder_metacmd_ID_move_right_whitespace_or_token_boundary = 117; +static i32 fcoder_metacmd_ID_move_up = 118; +static i32 fcoder_metacmd_ID_move_up_10 = 119; +static i32 fcoder_metacmd_ID_move_up_to_blank_line = 120; +static i32 fcoder_metacmd_ID_move_up_to_blank_line_end = 121; +static i32 fcoder_metacmd_ID_move_up_to_blank_line_skip_whitespace = 122; +static i32 fcoder_metacmd_ID_open_all_code = 123; +static i32 fcoder_metacmd_ID_open_all_code_recursive = 124; +static i32 fcoder_metacmd_ID_open_documentation = 125; +static i32 fcoder_metacmd_ID_open_file_in_quotes = 126; +static i32 fcoder_metacmd_ID_open_in_other = 127; +static i32 fcoder_metacmd_ID_open_long_braces = 128; +static i32 fcoder_metacmd_ID_open_long_braces_break = 129; +static i32 fcoder_metacmd_ID_open_long_braces_semicolon = 130; +static i32 fcoder_metacmd_ID_open_matching_file_cpp = 131; +static i32 fcoder_metacmd_ID_open_panel_hsplit = 132; +static i32 fcoder_metacmd_ID_open_panel_vsplit = 133; +static i32 fcoder_metacmd_ID_page_down = 134; +static i32 fcoder_metacmd_ID_page_up = 135; +static i32 fcoder_metacmd_ID_paste = 136; +static i32 fcoder_metacmd_ID_paste_and_indent = 137; +static i32 fcoder_metacmd_ID_paste_next = 138; +static i32 fcoder_metacmd_ID_paste_next_and_indent = 139; +static i32 fcoder_metacmd_ID_place_in_scope = 140; +static i32 fcoder_metacmd_ID_profile_clear = 141; +static i32 fcoder_metacmd_ID_profile_disable = 142; +static i32 fcoder_metacmd_ID_profile_enable = 143; +static i32 fcoder_metacmd_ID_profile_inspect = 144; +static i32 fcoder_metacmd_ID_project_command_lister = 145; +static i32 fcoder_metacmd_ID_project_fkey_command = 146; +static i32 fcoder_metacmd_ID_project_go_to_root_directory = 147; +static i32 fcoder_metacmd_ID_query_replace = 148; +static i32 fcoder_metacmd_ID_query_replace_identifier = 149; +static i32 fcoder_metacmd_ID_query_replace_selection = 150; +static i32 fcoder_metacmd_ID_redo = 151; +static i32 fcoder_metacmd_ID_redo_all_buffers = 152; +static i32 fcoder_metacmd_ID_rename_file_query = 153; +static i32 fcoder_metacmd_ID_reopen = 154; +static i32 fcoder_metacmd_ID_replace_in_all_buffers = 155; +static i32 fcoder_metacmd_ID_replace_in_buffer = 156; +static i32 fcoder_metacmd_ID_replace_in_range = 157; +static i32 fcoder_metacmd_ID_reverse_search = 158; +static i32 fcoder_metacmd_ID_reverse_search_identifier = 159; +static i32 fcoder_metacmd_ID_save = 160; +static i32 fcoder_metacmd_ID_save_all_dirty_buffers = 161; +static i32 fcoder_metacmd_ID_save_to_query = 162; +static i32 fcoder_metacmd_ID_search = 163; +static i32 fcoder_metacmd_ID_search_identifier = 164; +static i32 fcoder_metacmd_ID_seek_beginning_of_line = 165; +static i32 fcoder_metacmd_ID_seek_beginning_of_textual_line = 166; +static i32 fcoder_metacmd_ID_seek_end_of_line = 167; +static i32 fcoder_metacmd_ID_seek_end_of_textual_line = 168; +static i32 fcoder_metacmd_ID_select_all = 169; +static i32 fcoder_metacmd_ID_select_next_scope_absolute = 170; +static i32 fcoder_metacmd_ID_select_next_scope_after_current = 171; +static i32 fcoder_metacmd_ID_select_prev_scope_absolute = 172; +static i32 fcoder_metacmd_ID_select_prev_top_most_scope = 173; +static i32 fcoder_metacmd_ID_select_surrounding_scope = 174; +static i32 fcoder_metacmd_ID_select_surrounding_scope_maximal = 175; +static i32 fcoder_metacmd_ID_set_eol_mode_from_contents = 176; +static i32 fcoder_metacmd_ID_set_eol_mode_to_binary = 177; +static i32 fcoder_metacmd_ID_set_eol_mode_to_crlf = 178; +static i32 fcoder_metacmd_ID_set_eol_mode_to_lf = 179; +static i32 fcoder_metacmd_ID_set_mark = 180; +static i32 fcoder_metacmd_ID_set_mode_to_notepad_like = 181; +static i32 fcoder_metacmd_ID_set_mode_to_original = 182; +static i32 fcoder_metacmd_ID_setup_build_bat = 183; +static i32 fcoder_metacmd_ID_setup_build_bat_and_sh = 184; static i32 fcoder_metacmd_ID_setup_build_sh = 185; -static i32 fcoder_metacmd_ID_setup_build_bat_and_sh = 186; -static i32 fcoder_metacmd_ID_project_command_lister = 187; -static i32 fcoder_metacmd_ID_list_all_functions_current_buffer = 188; -static i32 fcoder_metacmd_ID_list_all_functions_current_buffer_lister = 189; -static i32 fcoder_metacmd_ID_list_all_functions_all_buffers = 190; -static i32 fcoder_metacmd_ID_list_all_functions_all_buffers_lister = 191; -static i32 fcoder_metacmd_ID_select_surrounding_scope = 192; -static i32 fcoder_metacmd_ID_select_surrounding_scope_maximal = 193; -static i32 fcoder_metacmd_ID_select_next_scope_absolute = 194; -static i32 fcoder_metacmd_ID_select_next_scope_after_current = 195; -static i32 fcoder_metacmd_ID_select_prev_scope_absolute = 196; -static i32 fcoder_metacmd_ID_select_prev_top_most_scope = 197; -static i32 fcoder_metacmd_ID_place_in_scope = 198; -static i32 fcoder_metacmd_ID_delete_current_scope = 199; -static i32 fcoder_metacmd_ID_open_long_braces = 200; -static i32 fcoder_metacmd_ID_open_long_braces_semicolon = 201; -static i32 fcoder_metacmd_ID_open_long_braces_break = 202; -static i32 fcoder_metacmd_ID_if0_off = 203; -static i32 fcoder_metacmd_ID_write_todo = 204; -static i32 fcoder_metacmd_ID_write_hack = 205; -static i32 fcoder_metacmd_ID_write_note = 206; -static i32 fcoder_metacmd_ID_write_block = 207; -static i32 fcoder_metacmd_ID_write_zero_struct = 208; -static i32 fcoder_metacmd_ID_comment_line = 209; -static i32 fcoder_metacmd_ID_uncomment_line = 210; -static i32 fcoder_metacmd_ID_comment_line_toggle = 211; -static i32 fcoder_metacmd_ID_snippet_lister = 212; -static i32 fcoder_metacmd_ID_miblo_increment_basic = 213; -static i32 fcoder_metacmd_ID_miblo_decrement_basic = 214; -static i32 fcoder_metacmd_ID_miblo_increment_time_stamp = 215; -static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp = 216; -static i32 fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 217; -static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 218; -static i32 fcoder_metacmd_ID_profile_inspect = 219; -static i32 fcoder_metacmd_ID_kill_tutorial = 220; -static i32 fcoder_metacmd_ID_tutorial_maximize = 221; -static i32 fcoder_metacmd_ID_tutorial_minimize = 222; -static i32 fcoder_metacmd_ID_hms_demo_tutorial = 223; -static i32 fcoder_metacmd_ID_open_documentation = 224; -static i32 fcoder_metacmd_ID_default_startup = 225; -static i32 fcoder_metacmd_ID_default_try_exit = 226; +static i32 fcoder_metacmd_ID_setup_new_project = 186; +static i32 fcoder_metacmd_ID_show_filebar = 187; +static i32 fcoder_metacmd_ID_show_scrollbar = 188; +static i32 fcoder_metacmd_ID_show_the_log_graph = 189; +static i32 fcoder_metacmd_ID_snipe_backward_whitespace_or_token_boundary = 190; +static i32 fcoder_metacmd_ID_snipe_forward_whitespace_or_token_boundary = 191; +static i32 fcoder_metacmd_ID_snippet_lister = 192; +static i32 fcoder_metacmd_ID_suppress_mouse = 193; +static i32 fcoder_metacmd_ID_swap_panels = 194; +static i32 fcoder_metacmd_ID_theme_lister = 195; +static i32 fcoder_metacmd_ID_to_lowercase = 196; +static i32 fcoder_metacmd_ID_to_uppercase = 197; +static i32 fcoder_metacmd_ID_toggle_filebar = 198; +static i32 fcoder_metacmd_ID_toggle_fps_meter = 199; +static i32 fcoder_metacmd_ID_toggle_fullscreen = 200; +static i32 fcoder_metacmd_ID_toggle_highlight_enclosing_scopes = 201; +static i32 fcoder_metacmd_ID_toggle_highlight_line_at_cursor = 202; +static i32 fcoder_metacmd_ID_toggle_line_numbers = 203; +static i32 fcoder_metacmd_ID_toggle_line_wrap = 204; +static i32 fcoder_metacmd_ID_toggle_mouse = 205; +static i32 fcoder_metacmd_ID_toggle_paren_matching_helper = 206; +static i32 fcoder_metacmd_ID_toggle_show_whitespace = 207; +static i32 fcoder_metacmd_ID_toggle_virtual_whitespace = 208; +static i32 fcoder_metacmd_ID_tutorial_maximize = 209; +static i32 fcoder_metacmd_ID_tutorial_minimize = 210; +static i32 fcoder_metacmd_ID_uncomment_line = 211; +static i32 fcoder_metacmd_ID_undo = 212; +static i32 fcoder_metacmd_ID_undo_all_buffers = 213; +static i32 fcoder_metacmd_ID_view_buffer_other_panel = 214; +static i32 fcoder_metacmd_ID_view_jump_list_with_lister = 215; +static i32 fcoder_metacmd_ID_word_complete = 216; +static i32 fcoder_metacmd_ID_word_complete_drop_down = 217; +static i32 fcoder_metacmd_ID_write_block = 218; +static i32 fcoder_metacmd_ID_write_hack = 219; +static i32 fcoder_metacmd_ID_write_note = 220; +static i32 fcoder_metacmd_ID_write_space = 221; +static i32 fcoder_metacmd_ID_write_text_and_auto_indent = 222; +static i32 fcoder_metacmd_ID_write_text_input = 223; +static i32 fcoder_metacmd_ID_write_todo = 224; +static i32 fcoder_metacmd_ID_write_underscore = 225; +static i32 fcoder_metacmd_ID_write_zero_struct = 226; #endif diff --git a/docs/4ed_doc_content_types.cpp b/docs/4ed_doc_content_types.cpp index c5ad0901..c1a972c6 100644 --- a/docs/4ed_doc_content_types.cpp +++ b/docs/4ed_doc_content_types.cpp @@ -18,7 +18,7 @@ doc_date_now(void){ Doc_Date date = {}; date.day = time->tm_mday; date.month = time->tm_mon + 1; - date.year = 1990 + time->tm_year; + date.year = 1900 + time->tm_year; return(date); } @@ -203,15 +203,16 @@ make_doc_function(Arena *arena, Doc_Cluster *cluster, API_Call *call){ result.sig = new_doc_block(arena, result.page, "Signature"); new_doc_block_jump(arena, result.page, result.sig); - String_Const_u8 opener = push_u8_stringf(arena, "%.*s %.*s(", + String_Const_u8 opener = push_u8_stringf(arena, "%.*s\n%.*s(", string_expand(call->return_type), string_expand(call->name)); - u8 *buffer = push_array(arena, u8, opener.size); - for (umem i = 0; i < opener.size; i += 1){ + umem indent_size = call->name.size + 1; + u8 *buffer = push_array(arena, u8, indent_size); + for (umem i = 0; i < indent_size; i += 1){ buffer[i] = ' '; } - String_Const_u8 indent = SCu8(buffer, opener.size); + String_Const_u8 indent = SCu8(buffer, indent_size); List_String_Const_u8 list = {}; string_list_push(arena, &list, opener); diff --git a/docs/4ed_doc_custom_api.cpp b/docs/4ed_doc_custom_api.cpp index 5fd32686..4b203743 100644 --- a/docs/4ed_doc_custom_api.cpp +++ b/docs/4ed_doc_custom_api.cpp @@ -22,7 +22,7 @@ doc_custom_app_ptr(Arena *arena, Doc_Function *func){ function Doc_Cluster* doc_custom_api(Arena *arena, API_Definition *api_def){ - Doc_Cluster *cluster = new_doc_cluster(arena, "Custom Layer Boundary API", "custom api"); + Doc_Cluster *cluster = new_doc_cluster(arena, "Custom Layer Boundary API", "custom_api"); doc_custom_api__global(arena, api_def, cluster); doc_custom_api__buffer(arena, api_def, cluster); diff --git a/docs/4ed_doc_custom_api_global.cpp b/docs/4ed_doc_custom_api_global.cpp index b33ced97..04be9f89 100644 --- a/docs/4ed_doc_custom_api_global.cpp +++ b/docs/4ed_doc_custom_api_global.cpp @@ -344,7 +344,7 @@ doc_custom_api__global(Arena *arena, API_Definition *api_def, Doc_Cluster *clust doc_paragraph(arena, det); doc_text(arena, det, "1. When there is only one scope in the parameters, that scope is the result. {A} -> A;"); doc_paragraph(arena, det); - doc_text(arena, det, "2. When there are two or more parameters that are the same scope, the result is the that scope again. {A, A, ...} -> A;"); + doc_text(arena, det, "2. When there are two or more parameters that are the same scope, the result is that scope again. {A, A, ..., A} -> A;"); doc_paragraph(arena, det); doc_text(arena, det, "3. When any scope in the parameters is the special global scope, it is as if it is not there. {A, G} -> A"); doc_paragraph(arena, det); @@ -354,7 +354,7 @@ doc_custom_api__global(Arena *arena, API_Definition *api_def, Doc_Cluster *clust doc_paragraph(arena, det); doc_text(arena, det, "6. When the parameter set is empty the result is the global scope. {} -> G"); doc_paragraph(arena, det); - doc_text(arena, det, "For a set-theoretic definition one can think of scopes as being keyed by a set of 'atoms'. Getting the key for a scope with multiple dependencies is defined by the operation of union of sets of atoms. The global scope is keyed by the empty set. A scope continues to exist as long all the atoms in it's key set exist."); + doc_text(arena, det, "For a set-theoretic definition one can think of scopes as being keyed by sets of 'atoms'. Getting the key for a scope with multiple dependencies is defined by the operation of union of sets. The global scope is keyed by the empty set. A scope continues to exist for as long all of the atoms in it's key set exist."); } //////////////////////////////// diff --git a/project.4coder b/project.4coder index 26ad9930..804b68d8 100644 --- a/project.4coder +++ b/project.4coder @@ -79,6 +79,10 @@ command_list = { .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cmd = { { "custom\\bin\\build_one_time 4ed_generate_keycodes.cpp ..\\build", .os = "win" }, }, }, + { .name = "build site render", + .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, + .cmd = { { "custom\\bin\\build_one_time site/4ed_site_render_main.cpp ..\\build", .os = "win" }, }, }, + { .name = "generate custom api master list", .out = "*run*", .footer_panel = false, .save_dirty_files = false, .cmd = { { "..\\build\\api_parser 4ed_api_implementation.cpp", .os = "win" }, }, }, @@ -86,6 +90,7 @@ command_list = { fkey_command[1] = "build x64"; fkey_command[2] = "build custom api docs"; +fkey_command[3] = "build site render"; fkey_command[4] = "run one time"; fkey_command[5] = "build C++ lexer generator"; fkey_command[6] = "build token tester"; diff --git a/site/4ed_site_render_main.cpp b/site/4ed_site_render_main.cpp new file mode 100644 index 00000000..787dbc4c --- /dev/null +++ b/site/4ed_site_render_main.cpp @@ -0,0 +1,508 @@ +/* + * Mr. 4th Dimention - Allen Webster + * + * 12.12.2019 + * + * Render website static pages + * + */ + +// TOP + +#include "4coder_base_types.h" +#include "../4ed_api_definition.h" +#include "4coder_doc_content_types.h" +#include "../docs/4ed_doc_helper.h" + +#include "4coder_base_types.cpp" +#include "4coder_stringf.cpp" +#include "4coder_malloc_allocator.cpp" +#include "../4ed_api_definition.cpp" +#include "../docs/4ed_doc_content_types.cpp" +#include "4coder_file.cpp" + +#include "generated/custom_api_constructor.cpp" +#include "../docs/4ed_doc_custom_api.cpp" + +#include + +//////////////////////////////// + +char html_header[] = R"HTMLFOO( + + + + + +%.*s + + + + + +
+)HTMLFOO"; + +char html_footer[] = R"HTMLFOO( +
+
+ + +)HTMLFOO"; + +function void +render_doc_page_to_html__content(Arena *scratch, Doc_Content_List *list, FILE *out){ + fprintf(out, "
"); + + for (Doc_Content *content = list->first; + content != 0; + content = content->next){ + switch (content->emphasis){ + case DocContentEmphasis_Normal: + { + // do nothing + }break; + + case DocContentEmphasis_SmallHeader: + { + fprintf(out, "

"); + }break; + + case DocContentEmphasis_Heavy: + { + fprintf(out, ""); + }break; + + case DocContentEmphasis_Stylish: + { + fprintf(out, ""); + }break; + + case DocContentEmphasis_Code: + { + fprintf(out, "
");
+            }break;
+            }
+        
+        b32 close_link = false;
+        if (content->page_link.size > 0){
+            fprintf(out, "", string_expand(content->page_link));
+        }
+        else if (content->block_link.size > 0){
+            fprintf(out, "", string_expand(content->block_link));
+        }
+        fprintf(out, "%.*s", string_expand(content->text));
+        if (close_link){
+            fprintf(out, "");
+        }
+        
+        switch (content->emphasis){
+            case DocContentEmphasis_Normal:
+            {
+                // do nothing
+            }break;
+            
+            case DocContentEmphasis_SmallHeader:
+            {
+                fprintf(out, "

"); + }break; + + case DocContentEmphasis_Heavy: + case DocContentEmphasis_Stylish: + { + fprintf(out, ""); + }break; + + case DocContentEmphasis_Code: + { + fprintf(out, ""); + }break; + } + fprintf(out, " "); + } + + fprintf(out, "
\n"); +} + +function void +render_doc_page_to_html__code(Arena *scratch, Doc_Code_Sample_List *code, FILE *out){ + for (Doc_Code_Sample *node = code->first; + node != 0; + node = node->next){ + fprintf(out, "
%s
", doc_language_name[node->language]); + fprintf(out, "
\n"); + fprintf(out, "
" + "
%.*s
" + "
", + string_expand(node->contents)); + if (node->next != 0){ + fprintf(out, "
\n"); + } + } +} + +function void +render_doc_page_to_html__table(Arena *scratch, Vec2_i32 dim, Doc_Content_List *vals, FILE *out){ + +} + +function void +render_doc_page_to_html(Arena *scratch, Doc_Page *page, FILE *file){ + Temp_Memory_Block temp(scratch); + + Doc_Cluster *cluster = page->owner; + + fprintf(file, html_header, string_expand(page->title)); + + fprintf(file, "
\n"); + + fprintf(file, "\n", + string_expand(cluster->name), + string_expand(cluster->title)); + + fprintf(file, "
\n"); + + fprintf(file, "

%.*s

\n", string_expand(page->name)); + + fprintf(file, "
"); + fprintf(file, "%s %s %d", + doc_month_names[cluster->gen_date.month], + doc_day_names[cluster->gen_date.day], + cluster->gen_date.year); + fprintf(file, "
\n"); + + fprintf(file, "
\n"); + + for (Doc_Block *block = page->first_block; + block != 0; + block = block->next){ + if (block->name.size > 0 && + !string_match(block->name, string_u8_litexpr("brief"))){ + fprintf(file, "

%.*s

\n", string_expand(block->name)); + } + + for (Doc_Paragraph *par = block->first_par; + par != 0; + par = par->next){ + switch (par->kind){ + case DocParagraphKind_Text: + { + render_doc_page_to_html__content(scratch, &par->text, file); + }break; + + case DocParagraphKind_Code: + { + render_doc_page_to_html__code(scratch, &par->code, file); + }break; + + case DocParagraphKind_Table: + { + render_doc_page_to_html__table(scratch, par->table.dim, par->table.vals, file); + }break; + } + + if (par->next != 0){ + fprintf(file, "
\n"); + } + } + + if (block->next != 0){ + fprintf(file, "
\n"); + } + } + + fprintf(file, html_footer); +} + +function void +render_doc_page_to_html(Arena *scratch, Doc_Page *page, String_Const_u8 docs_root){ + Temp_Memory_Block temp(scratch); + String_Const_u8 file_name = push_u8_stringf(scratch, "%.*s%.*s.html", + string_expand(docs_root), + string_expand(page->name)); + + FILE *file = fopen((char*)file_name.str, "wb"); + if (file == 0){ + printf("could not open %s\n", file_name.str); + return; + } + + render_doc_page_to_html(scratch, page, file); + fclose(file); +} + +function void +sort_doc_page_array(Doc_Page **ptrs, i32 first, i32 one_past_last){ + if (first + 1 < one_past_last){ + i32 pivot_index = one_past_last - 1; + String_Const_u8 pivot_name = ptrs[pivot_index]->name; + i32 j = first; + for (i32 i = first; i < pivot_index; i += 1){ + String_Const_u8 name = ptrs[i]->name; + if (string_compare(name, pivot_name) < 0){ + Swap(Doc_Page*, ptrs[j], ptrs[i]); + j += 1; + } + } + Swap(Doc_Page*, ptrs[j], ptrs[pivot_index]); + sort_doc_page_array(ptrs, first, j); + sort_doc_page_array(ptrs, j + 1, one_past_last); + } +} + +function void +render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster, + FILE *file, FILE *file_index){ + { + Temp_Memory_Block temp(scratch); + + fprintf(file, html_header, string_expand(cluster->title)); + + + fprintf(file, "
\n"); + fprintf(file, "

%.*s

\n", string_expand(cluster->title)); + fprintf(file, "
\n"); + + // TODO(allen): Cluster description. + fprintf(file, "
More documentation under construction
\n"); + + fprintf(file, "
\n"); + + fprintf(file, "

Index

\n", + string_expand(cluster->name)); + + fprintf(file, html_footer); + } + +{ + Temp_Memory_Block temp(scratch); + + fprintf(file_index, html_header, string_expand(cluster->title)); + + fprintf(file_index, "
\n"); + fprintf(file_index, "

%.*s Index

\n", string_expand(cluster->title)); + fprintf(file_index, "
\n"); + + Doc_Page **ptrs = push_array(scratch, Doc_Page*, cluster->page_count); + i32 counter = 0; + for (Doc_Page *node = cluster->first_page; + node != 0; + node = node->next){ + ptrs[counter] = node; + counter += 1; + } + + sort_doc_page_array(ptrs, 0, counter); + + for (i32 i = 0; i < counter; i += 1){ + Doc_Page *node = ptrs[i]; + fprintf(file_index, "
"); + fprintf(file_index, "%.*s", + string_expand(node->name), + string_expand(node->name)); + fprintf(file_index, "
\n"); + } + + fprintf(file_index, html_footer); +} +} + +function void +render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster, String_Const_u8 docs_root){ + Temp_Memory_Block temp(scratch); + String_Const_u8 file_name = push_u8_stringf(scratch, "%.*s%.*s.html", + string_expand(docs_root), + string_expand(cluster->name)); + + String_Const_u8 indx_name = push_u8_stringf(scratch, "%.*s%.*s_index.html", + string_expand(docs_root), + string_expand(cluster->name)); + + FILE *file = fopen((char*)file_name.str, "wb"); + if (file == 0){ + printf("could not open %s\n", file_name.str); + return; + } + + FILE *file_index = fopen((char*)indx_name.str, "wb"); + if (file_index == 0){ + printf("could not open %s\n", indx_name.str); + return; + } + + render_doc_cluster_to_html(scratch, cluster, + file, file_index); + fclose(file); +} + +//////////////////////////////// + +int main(){ + Arena arena = make_arena_malloc(); + + String_Const_u8 self = string_u8_litexpr(__FILE__); + umem code_pos = string_find_first(self, string_u8_litexpr("code")); + String_Const_u8 root = string_prefix(self, code_pos + 5); + String_Const_u8 outside_root = string_prefix(self, code_pos); + String_Const_u8 build_root = push_u8_stringf(&arena, "%.*sbuild/", + string_expand(outside_root)); + String_Const_u8 site_root = push_u8_stringf(&arena, "%.*ssite/", + string_expand(build_root)); + String_Const_u8 docs_root = push_u8_stringf(&arena, "%.*sdocs/", + string_expand(site_root)); + + API_Definition *api_def = custom_api_construct(&arena); + Doc_Cluster *cluster = doc_custom_api(&arena, api_def); + + for (Doc_Page *node = cluster->first_page; + node != 0; + node = node->next){ + render_doc_page_to_html(&arena, node, docs_root); + } + render_doc_cluster_to_html(&arena, cluster, docs_root); + + return(0); +} + +// BOTTOM +