Removing tracking for generated files
This commit is contained in:
parent
73492010b3
commit
d8d99eefdd
|
@ -1,319 +0,0 @@
|
|||
/* Generated by: 4ed_generate_keycodes.cpp */
|
||||
enum{
|
||||
KeyCode_A = 1,
|
||||
KeyCode_B = 2,
|
||||
KeyCode_C = 3,
|
||||
KeyCode_D = 4,
|
||||
KeyCode_E = 5,
|
||||
KeyCode_F = 6,
|
||||
KeyCode_G = 7,
|
||||
KeyCode_H = 8,
|
||||
KeyCode_I = 9,
|
||||
KeyCode_J = 10,
|
||||
KeyCode_K = 11,
|
||||
KeyCode_L = 12,
|
||||
KeyCode_M = 13,
|
||||
KeyCode_N = 14,
|
||||
KeyCode_O = 15,
|
||||
KeyCode_P = 16,
|
||||
KeyCode_Q = 17,
|
||||
KeyCode_R = 18,
|
||||
KeyCode_S = 19,
|
||||
KeyCode_T = 20,
|
||||
KeyCode_U = 21,
|
||||
KeyCode_V = 22,
|
||||
KeyCode_W = 23,
|
||||
KeyCode_X = 24,
|
||||
KeyCode_Y = 25,
|
||||
KeyCode_Z = 26,
|
||||
KeyCode_0 = 27,
|
||||
KeyCode_1 = 28,
|
||||
KeyCode_2 = 29,
|
||||
KeyCode_3 = 30,
|
||||
KeyCode_4 = 31,
|
||||
KeyCode_5 = 32,
|
||||
KeyCode_6 = 33,
|
||||
KeyCode_7 = 34,
|
||||
KeyCode_8 = 35,
|
||||
KeyCode_9 = 36,
|
||||
KeyCode_Space = 37,
|
||||
KeyCode_Tick = 38,
|
||||
KeyCode_Minus = 39,
|
||||
KeyCode_Equal = 40,
|
||||
KeyCode_LeftBracket = 41,
|
||||
KeyCode_RightBracket = 42,
|
||||
KeyCode_Semicolon = 43,
|
||||
KeyCode_Quote = 44,
|
||||
KeyCode_Comma = 45,
|
||||
KeyCode_Period = 46,
|
||||
KeyCode_ForwardSlash = 47,
|
||||
KeyCode_BackwardSlash = 48,
|
||||
KeyCode_Tab = 49,
|
||||
KeyCode_Escape = 50,
|
||||
KeyCode_Pause = 51,
|
||||
KeyCode_Up = 52,
|
||||
KeyCode_Down = 53,
|
||||
KeyCode_Left = 54,
|
||||
KeyCode_Right = 55,
|
||||
KeyCode_Backspace = 56,
|
||||
KeyCode_Return = 57,
|
||||
KeyCode_Delete = 58,
|
||||
KeyCode_Insert = 59,
|
||||
KeyCode_Home = 60,
|
||||
KeyCode_End = 61,
|
||||
KeyCode_PageUp = 62,
|
||||
KeyCode_PageDown = 63,
|
||||
KeyCode_CapsLock = 64,
|
||||
KeyCode_NumLock = 65,
|
||||
KeyCode_ScrollLock = 66,
|
||||
KeyCode_Menu = 67,
|
||||
KeyCode_Shift = 68,
|
||||
KeyCode_Control = 69,
|
||||
KeyCode_Alt = 70,
|
||||
KeyCode_Command = 71,
|
||||
KeyCode_F1 = 72,
|
||||
KeyCode_F2 = 73,
|
||||
KeyCode_F3 = 74,
|
||||
KeyCode_F4 = 75,
|
||||
KeyCode_F5 = 76,
|
||||
KeyCode_F6 = 77,
|
||||
KeyCode_F7 = 78,
|
||||
KeyCode_F8 = 79,
|
||||
KeyCode_F9 = 80,
|
||||
KeyCode_F10 = 81,
|
||||
KeyCode_F11 = 82,
|
||||
KeyCode_F12 = 83,
|
||||
KeyCode_F13 = 84,
|
||||
KeyCode_F14 = 85,
|
||||
KeyCode_F15 = 86,
|
||||
KeyCode_F16 = 87,
|
||||
KeyCode_F17 = 88,
|
||||
KeyCode_F18 = 89,
|
||||
KeyCode_F19 = 90,
|
||||
KeyCode_F20 = 91,
|
||||
KeyCode_F21 = 92,
|
||||
KeyCode_F22 = 93,
|
||||
KeyCode_F23 = 94,
|
||||
KeyCode_F24 = 95,
|
||||
KeyCode_NumPad0 = 96,
|
||||
KeyCode_NumPad1 = 97,
|
||||
KeyCode_NumPad2 = 98,
|
||||
KeyCode_NumPad3 = 99,
|
||||
KeyCode_NumPad4 = 100,
|
||||
KeyCode_NumPad5 = 101,
|
||||
KeyCode_NumPad6 = 102,
|
||||
KeyCode_NumPad7 = 103,
|
||||
KeyCode_NumPad8 = 104,
|
||||
KeyCode_NumPad9 = 105,
|
||||
KeyCode_NumPadStar = 106,
|
||||
KeyCode_NumPadPlus = 107,
|
||||
KeyCode_NumPadMinus = 108,
|
||||
KeyCode_NumPadDot = 109,
|
||||
KeyCode_NumPadSlash = 110,
|
||||
KeyCode_Ex0 = 111,
|
||||
KeyCode_Ex1 = 112,
|
||||
KeyCode_Ex2 = 113,
|
||||
KeyCode_Ex3 = 114,
|
||||
KeyCode_Ex4 = 115,
|
||||
KeyCode_Ex5 = 116,
|
||||
KeyCode_Ex6 = 117,
|
||||
KeyCode_Ex7 = 118,
|
||||
KeyCode_Ex8 = 119,
|
||||
KeyCode_Ex9 = 120,
|
||||
KeyCode_Ex10 = 121,
|
||||
KeyCode_Ex11 = 122,
|
||||
KeyCode_Ex12 = 123,
|
||||
KeyCode_Ex13 = 124,
|
||||
KeyCode_Ex14 = 125,
|
||||
KeyCode_Ex15 = 126,
|
||||
KeyCode_Ex16 = 127,
|
||||
KeyCode_Ex17 = 128,
|
||||
KeyCode_Ex18 = 129,
|
||||
KeyCode_Ex19 = 130,
|
||||
KeyCode_Ex20 = 131,
|
||||
KeyCode_Ex21 = 132,
|
||||
KeyCode_Ex22 = 133,
|
||||
KeyCode_Ex23 = 134,
|
||||
KeyCode_Ex24 = 135,
|
||||
KeyCode_Ex25 = 136,
|
||||
KeyCode_Ex26 = 137,
|
||||
KeyCode_Ex27 = 138,
|
||||
KeyCode_Ex28 = 139,
|
||||
KeyCode_Ex29 = 140,
|
||||
KeyCode_COUNT = 141,
|
||||
};
|
||||
global char* key_code_name[KeyCode_COUNT] = {
|
||||
"None",
|
||||
"A",
|
||||
"B",
|
||||
"C",
|
||||
"D",
|
||||
"E",
|
||||
"F",
|
||||
"G",
|
||||
"H",
|
||||
"I",
|
||||
"J",
|
||||
"K",
|
||||
"L",
|
||||
"M",
|
||||
"N",
|
||||
"O",
|
||||
"P",
|
||||
"Q",
|
||||
"R",
|
||||
"S",
|
||||
"T",
|
||||
"U",
|
||||
"V",
|
||||
"W",
|
||||
"X",
|
||||
"Y",
|
||||
"Z",
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"Space",
|
||||
"Tick",
|
||||
"Minus",
|
||||
"Equal",
|
||||
"LeftBracket",
|
||||
"RightBracket",
|
||||
"Semicolon",
|
||||
"Quote",
|
||||
"Comma",
|
||||
"Period",
|
||||
"ForwardSlash",
|
||||
"BackwardSlash",
|
||||
"Tab",
|
||||
"Escape",
|
||||
"Pause",
|
||||
"Up",
|
||||
"Down",
|
||||
"Left",
|
||||
"Right",
|
||||
"Backspace",
|
||||
"Return",
|
||||
"Delete",
|
||||
"Insert",
|
||||
"Home",
|
||||
"End",
|
||||
"PageUp",
|
||||
"PageDown",
|
||||
"CapsLock",
|
||||
"NumLock",
|
||||
"ScrollLock",
|
||||
"Menu",
|
||||
"Shift",
|
||||
"Control",
|
||||
"Alt",
|
||||
"Command",
|
||||
"F1",
|
||||
"F2",
|
||||
"F3",
|
||||
"F4",
|
||||
"F5",
|
||||
"F6",
|
||||
"F7",
|
||||
"F8",
|
||||
"F9",
|
||||
"F10",
|
||||
"F11",
|
||||
"F12",
|
||||
"F13",
|
||||
"F14",
|
||||
"F15",
|
||||
"F16",
|
||||
"F17",
|
||||
"F18",
|
||||
"F19",
|
||||
"F20",
|
||||
"F21",
|
||||
"F22",
|
||||
"F23",
|
||||
"F24",
|
||||
"NumPad0",
|
||||
"NumPad1",
|
||||
"NumPad2",
|
||||
"NumPad3",
|
||||
"NumPad4",
|
||||
"NumPad5",
|
||||
"NumPad6",
|
||||
"NumPad7",
|
||||
"NumPad8",
|
||||
"NumPad9",
|
||||
"NumPadStar",
|
||||
"NumPadPlus",
|
||||
"NumPadMinus",
|
||||
"NumPadDot",
|
||||
"NumPadSlash",
|
||||
"Ex0",
|
||||
"Ex1",
|
||||
"Ex2",
|
||||
"Ex3",
|
||||
"Ex4",
|
||||
"Ex5",
|
||||
"Ex6",
|
||||
"Ex7",
|
||||
"Ex8",
|
||||
"Ex9",
|
||||
"Ex10",
|
||||
"Ex11",
|
||||
"Ex12",
|
||||
"Ex13",
|
||||
"Ex14",
|
||||
"Ex15",
|
||||
"Ex16",
|
||||
"Ex17",
|
||||
"Ex18",
|
||||
"Ex19",
|
||||
"Ex20",
|
||||
"Ex21",
|
||||
"Ex22",
|
||||
"Ex23",
|
||||
"Ex24",
|
||||
"Ex25",
|
||||
"Ex26",
|
||||
"Ex27",
|
||||
"Ex28",
|
||||
"Ex29",
|
||||
};
|
||||
enum{
|
||||
MouseCode_Left = 1,
|
||||
MouseCode_Middle = 2,
|
||||
MouseCode_Right = 3,
|
||||
MouseCode_COUNT = 4,
|
||||
};
|
||||
global char* mouse_code_name[MouseCode_COUNT] = {
|
||||
"None",
|
||||
"Left",
|
||||
"Middle",
|
||||
"Right",
|
||||
};
|
||||
enum{
|
||||
CoreCode_Startup = 1,
|
||||
CoreCode_Animate = 2,
|
||||
CoreCode_ClickActivateView = 3,
|
||||
CoreCode_ClickDeactivateView = 4,
|
||||
CoreCode_TryExit = 5,
|
||||
CoreCode_FileExternallyModified = 6,
|
||||
CoreCode_NewClipboardContents = 7,
|
||||
CoreCode_COUNT = 8,
|
||||
};
|
||||
global char* core_code_name[CoreCode_COUNT] = {
|
||||
"None",
|
||||
"Startup",
|
||||
"Animate",
|
||||
"ClickActivateView",
|
||||
"ClickDeactivateView",
|
||||
"TryExit",
|
||||
"FileExternallyModified",
|
||||
"NewClipboardContents",
|
||||
};
|
|
@ -1,872 +0,0 @@
|
|||
#if !defined(META_PASS)
|
||||
#define command_id(c) (fcoder_metacmd_ID_##c)
|
||||
#define command_metadata(c) (&fcoder_metacmd_table[command_id(c)])
|
||||
#define command_metadata_by_id(id) (&fcoder_metacmd_table[id])
|
||||
#define command_one_past_last_id 282
|
||||
#if defined(CUSTOM_COMMAND_SIG)
|
||||
#define PROC_LINKS(x,y) x
|
||||
#else
|
||||
#define PROC_LINKS(x,y) y
|
||||
#endif
|
||||
#if defined(CUSTOM_COMMAND_SIG)
|
||||
CUSTOM_COMMAND_SIG(allow_mouse);
|
||||
CUSTOM_COMMAND_SIG(auto_indent_line_at_cursor);
|
||||
CUSTOM_COMMAND_SIG(auto_indent_range);
|
||||
CUSTOM_COMMAND_SIG(auto_indent_whole_file);
|
||||
CUSTOM_COMMAND_SIG(backspace_alpha_numeric_boundary);
|
||||
CUSTOM_COMMAND_SIG(backspace_alpha_numeric_or_camel_boundary);
|
||||
CUSTOM_COMMAND_SIG(backspace_char);
|
||||
CUSTOM_COMMAND_SIG(backspace_token_boundary);
|
||||
CUSTOM_COMMAND_SIG(basic_change_active_panel);
|
||||
CUSTOM_COMMAND_SIG(begin_clipboard_collection_mode);
|
||||
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(clean_trailing_whitespace);
|
||||
CUSTOM_COMMAND_SIG(clear_all_themes);
|
||||
CUSTOM_COMMAND_SIG(clear_clipboard);
|
||||
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(clipboard_record_clip);
|
||||
CUSTOM_COMMAND_SIG(close_all_code);
|
||||
CUSTOM_COMMAND_SIG(close_build_panel);
|
||||
CUSTOM_COMMAND_SIG(close_panel);
|
||||
CUSTOM_COMMAND_SIG(command_documentation);
|
||||
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(custom_api_documentation);
|
||||
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(delete_to_end_of_line);
|
||||
CUSTOM_COMMAND_SIG(display_key_codes);
|
||||
CUSTOM_COMMAND_SIG(display_text_input);
|
||||
CUSTOM_COMMAND_SIG(double_backspace);
|
||||
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(go_to_user_directory);
|
||||
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(jump_to_definition);
|
||||
CUSTOM_COMMAND_SIG(jump_to_definition_at_cursor);
|
||||
CUSTOM_COMMAND_SIG(jump_to_last_point);
|
||||
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_locations_case_insensitive);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_identifier);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_identifier_case_insensitive);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_selection);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_selection_case_insensitive);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_type_definition);
|
||||
CUSTOM_COMMAND_SIG(list_all_locations_of_type_definition_of_identifier);
|
||||
CUSTOM_COMMAND_SIG(list_all_substring_locations);
|
||||
CUSTOM_COMMAND_SIG(list_all_substring_locations_case_insensitive);
|
||||
CUSTOM_COMMAND_SIG(lister_search_all);
|
||||
CUSTOM_COMMAND_SIG(load_project);
|
||||
CUSTOM_COMMAND_SIG(load_theme_current_buffer);
|
||||
CUSTOM_COMMAND_SIG(load_themes_default_folder);
|
||||
CUSTOM_COMMAND_SIG(load_themes_hot_directory);
|
||||
CUSTOM_COMMAND_SIG(loco_jump_between_yeet);
|
||||
CUSTOM_COMMAND_SIG(loco_load_yeet_snapshot_1);
|
||||
CUSTOM_COMMAND_SIG(loco_load_yeet_snapshot_2);
|
||||
CUSTOM_COMMAND_SIG(loco_load_yeet_snapshot_3);
|
||||
CUSTOM_COMMAND_SIG(loco_save_yeet_snapshot_1);
|
||||
CUSTOM_COMMAND_SIG(loco_save_yeet_snapshot_2);
|
||||
CUSTOM_COMMAND_SIG(loco_save_yeet_snapshot_3);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_clear);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_remove_marker_pair);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_reset_all);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_selected_range_or_jump);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_surrounding_function);
|
||||
CUSTOM_COMMAND_SIG(loco_yeet_tag);
|
||||
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(multi_paste);
|
||||
CUSTOM_COMMAND_SIG(multi_paste_interactive);
|
||||
CUSTOM_COMMAND_SIG(multi_paste_interactive_quick);
|
||||
CUSTOM_COMMAND_SIG(open_all_code);
|
||||
CUSTOM_COMMAND_SIG(open_all_code_recursive);
|
||||
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(play_with_a_counter);
|
||||
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_F1);
|
||||
CUSTOM_COMMAND_SIG(project_command_F10);
|
||||
CUSTOM_COMMAND_SIG(project_command_F11);
|
||||
CUSTOM_COMMAND_SIG(project_command_F12);
|
||||
CUSTOM_COMMAND_SIG(project_command_F13);
|
||||
CUSTOM_COMMAND_SIG(project_command_F14);
|
||||
CUSTOM_COMMAND_SIG(project_command_F15);
|
||||
CUSTOM_COMMAND_SIG(project_command_F16);
|
||||
CUSTOM_COMMAND_SIG(project_command_F2);
|
||||
CUSTOM_COMMAND_SIG(project_command_F3);
|
||||
CUSTOM_COMMAND_SIG(project_command_F4);
|
||||
CUSTOM_COMMAND_SIG(project_command_F5);
|
||||
CUSTOM_COMMAND_SIG(project_command_F6);
|
||||
CUSTOM_COMMAND_SIG(project_command_F7);
|
||||
CUSTOM_COMMAND_SIG(project_command_F8);
|
||||
CUSTOM_COMMAND_SIG(project_command_F9);
|
||||
CUSTOM_COMMAND_SIG(project_command_lister);
|
||||
CUSTOM_COMMAND_SIG(project_fkey_command);
|
||||
CUSTOM_COMMAND_SIG(project_go_to_root_directory);
|
||||
CUSTOM_COMMAND_SIG(project_reprint);
|
||||
CUSTOM_COMMAND_SIG(query_replace);
|
||||
CUSTOM_COMMAND_SIG(query_replace_identifier);
|
||||
CUSTOM_COMMAND_SIG(query_replace_selection);
|
||||
CUSTOM_COMMAND_SIG(quick_swap_buffer);
|
||||
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(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_face_size);
|
||||
CUSTOM_COMMAND_SIG(set_face_size_this_buffer);
|
||||
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(string_repeat);
|
||||
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(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;
|
||||
b32 is_ui;
|
||||
char *name;
|
||||
i32 name_len;
|
||||
char *description;
|
||||
i32 description_len;
|
||||
char *source_name;
|
||||
i32 source_name_len;
|
||||
i32 line_number;
|
||||
};
|
||||
static Command_Metadata fcoder_metacmd_table[282] = {
|
||||
{ PROC_LINKS(allow_mouse, 0), false, "allow_mouse", 11, "Shows the mouse and causes all mouse input to be processed normally.", 68, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 481 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_auto_indent.cpp", 63, 420 },
|
||||
{ PROC_LINKS(auto_indent_range, 0), false, "auto_indent_range", 17, "Auto-indents the range between the cursor and the mark.", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_auto_indent.cpp", 63, 430 },
|
||||
{ PROC_LINKS(auto_indent_whole_file, 0), false, "auto_indent_whole_file", 22, "Audo-indents the entire current buffer.", 39, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_auto_indent.cpp", 63, 411 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 154 },
|
||||
{ PROC_LINKS(backspace_alpha_numeric_or_camel_boundary, 0), false, "backspace_alpha_numeric_or_camel_boundary", 41, "Deletes left to a alphanumeric or camel boundary.", 49, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 277 },
|
||||
{ PROC_LINKS(backspace_char, 0), false, "backspace_char", 14, "Deletes the character to the left of the cursor.", 48, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 96 },
|
||||
{ PROC_LINKS(backspace_token_boundary, 0), false, "backspace_token_boundary", 24, "Deletes left to a token boundary.", 33, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 287 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 801 },
|
||||
{ PROC_LINKS(begin_clipboard_collection_mode, 0), true, "begin_clipboard_collection_mode", 31, "Allows the user to copy multiple strings from other applications before switching to 4coder and pasting them all.", 113, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 71 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_build_commands.cpp", 66, 160 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_build_commands.cpp", 66, 123 },
|
||||
{ PROC_LINKS(center_view, 0), false, "center_view", 11, "Centers the view vertically on the line on which the cursor sits.", 65, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 330 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 356 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 362 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_build_commands.cpp", 66, 181 },
|
||||
{ PROC_LINKS(clean_all_lines, 0), false, "clean_all_lines", 15, "Removes trailing whitespace from all lines and removes all blank lines in the current buffer.", 93, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 781 },
|
||||
{ PROC_LINKS(clean_trailing_whitespace, 0), false, "clean_trailing_whitespace", 25, "Removes trailing whitespace from all lines in the current buffer.", 65, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 790 },
|
||||
{ PROC_LINKS(clear_all_themes, 0), false, "clear_all_themes", 16, "Clear the theme list", 20, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 565 },
|
||||
{ PROC_LINKS(clear_clipboard, 0), false, "clear_clipboard", 15, "Clears the history of the clipboard", 35, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 221 },
|
||||
{ PROC_LINKS(click_set_cursor, 0), false, "click_set_cursor", 16, "Sets the cursor position to the mouse position.", 47, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 368 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 358 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 378 },
|
||||
{ PROC_LINKS(click_set_mark, 0), false, "click_set_mark", 14, "Sets the mark position to the mouse position.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 391 },
|
||||
{ PROC_LINKS(clipboard_record_clip, 0), false, "clipboard_record_clip", 21, "In response to a new clipboard contents events, saves the new clip onto the clipboard history", 93, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 7 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 835 },
|
||||
{ PROC_LINKS(close_build_panel, 0), false, "close_build_panel", 17, "If the special build panel is open, closes it.", 46, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_build_commands.cpp", 66, 175 },
|
||||
{ PROC_LINKS(close_panel, 0), false, "close_panel", 11, "Closes the currently active panel if it is not the only panel open.", 67, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 809 },
|
||||
{ PROC_LINKS(command_documentation, 0), true, "command_documentation", 21, "Prompts the user to select a command then loads a doc buffer for that item", 74, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_docs.cpp", 56, 190 },
|
||||
{ PROC_LINKS(command_lister, 0), true, "command_lister", 14, "Opens an interactive list of all registered commands.", 53, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 756 },
|
||||
{ PROC_LINKS(comment_line, 0), false, "comment_line", 12, "Insert '//' at the beginning of the line after leading whitespace.", 66, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 149 },
|
||||
{ PROC_LINKS(copy, 0), false, "copy", 4, "Copy the text in the range from the cursor to the mark onto the clipboard.", 74, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 110 },
|
||||
{ PROC_LINKS(cursor_mark_swap, 0), false, "cursor_mark_swap", 16, "Swaps the position of the cursor and the mark.", 46, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 124 },
|
||||
{ PROC_LINKS(custom_api_documentation, 0), true, "custom_api_documentation", 24, "Prompts the user to select a Custom API item then loads a doc buffer for that item", 82, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_docs.cpp", 56, 175 },
|
||||
{ PROC_LINKS(cut, 0), false, "cut", 3, "Cut the text in the range from the cursor to the mark onto the clipboard.", 73, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 119 },
|
||||
{ PROC_LINKS(decrease_face_size, 0), false, "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 892 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 2225 },
|
||||
{ PROC_LINKS(default_startup, 0), false, "default_startup", 15, "Default command for responding to a startup event", 49, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_hooks.cpp", 65, 7 },
|
||||
{ PROC_LINKS(default_try_exit, 0), false, "default_try_exit", 16, "Default command for responding to a try-exit event", 50, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_hooks.cpp", 65, 63 },
|
||||
{ PROC_LINKS(default_view_input_handler, 0), false, "default_view_input_handler", 26, "Input consumption loop for default view behavior", 48, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_hooks.cpp", 65, 109 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 295 },
|
||||
{ PROC_LINKS(delete_char, 0), false, "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1518 },
|
||||
{ PROC_LINKS(delete_line, 0), false, "delete_line", 11, "Delete the line the on which the cursor sits.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1690 },
|
||||
{ PROC_LINKS(delete_range, 0), false, "delete_range", 12, "Deletes the text in the range between the cursor and the mark.", 62, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 134 },
|
||||
{ PROC_LINKS(delete_to_end_of_line, 0), false, "delete_to_end_of_line", 21, "Deletes all text from the cursor to the end of the line", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1709 },
|
||||
{ PROC_LINKS(display_key_codes, 0), false, "display_key_codes", 17, "Example of input handling loop", 30, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_examples.cpp", 60, 90 },
|
||||
{ PROC_LINKS(display_text_input, 0), false, "display_text_input", 18, "Example of to_writable and leave_current_input_unhandled", 56, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_examples.cpp", 60, 137 },
|
||||
{ PROC_LINKS(double_backspace, 0), false, "double_backspace", 16, "Example of history group helpers", 32, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_examples.cpp", 60, 10 },
|
||||
{ PROC_LINKS(duplicate_line, 0), false, "duplicate_line", 14, "Create a copy of the line on which the cursor sits.", 51, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1676 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_cli_command.cpp", 63, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_cli_command.cpp", 63, 7 },
|
||||
{ PROC_LINKS(exit_4coder, 0), false, "exit_4coder", 11, "Attempts to close 4coder.", 25, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 981 },
|
||||
{ PROC_LINKS(go_to_user_directory, 0), false, "go_to_user_directory", 20, "Go to the 4coder user directory", 31, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_config.cpp", 58, 1661 },
|
||||
{ PROC_LINKS(goto_beginning_of_file, 0), false, "goto_beginning_of_file", 22, "Sets the cursor to the beginning of the file.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2258 },
|
||||
{ PROC_LINKS(goto_end_of_file, 0), false, "goto_end_of_file", 16, "Sets the cursor to the end of the file.", 39, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2266 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 525 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 542 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 348 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 375 },
|
||||
{ PROC_LINKS(goto_line, 0), false, "goto_line", 9, "Queries the user for a number, and jumps the cursor to the corresponding line.", 78, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 989 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 464 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 494 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 481 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 511 },
|
||||
{ PROC_LINKS(hide_filebar, 0), false, "hide_filebar", 12, "Sets the current view to hide it's filebar.", 43, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 839 },
|
||||
{ PROC_LINKS(hide_scrollbar, 0), false, "hide_scrollbar", 14, "Sets the current view to hide it's scrollbar.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 825 },
|
||||
{ PROC_LINKS(hms_demo_tutorial, 0), false, "hms_demo_tutorial", 17, "Tutorial for built in 4coder bindings and features.", 51, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_tutorial.cpp", 60, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 564 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_sticky.cpp", 63, 581 },
|
||||
{ PROC_LINKS(increase_face_size, 0), false, "increase_face_size", 18, "Increase the size of the face used by the current buffer.", 57, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 881 },
|
||||
{ PROC_LINKS(interactive_kill_buffer, 0), true, "interactive_kill_buffer", 23, "Interactively kill an open buffer.", 34, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 516 },
|
||||
{ PROC_LINKS(interactive_new, 0), true, "interactive_new", 15, "Interactively creates a new file.", 33, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 656 },
|
||||
{ PROC_LINKS(interactive_open, 0), true, "interactive_open", 16, "Interactively opens a file.", 27, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 710 },
|
||||
{ PROC_LINKS(interactive_open_or_new, 0), true, "interactive_open_or_new", 23, "Interactively open a file out of the file system.", 49, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 607 },
|
||||
{ PROC_LINKS(interactive_switch_buffer, 0), true, "interactive_switch_buffer", 25, "Interactively switch to an open buffer.", 39, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 506 },
|
||||
{ PROC_LINKS(jump_to_definition, 0), true, "jump_to_definition", 18, "List all definitions in the code index and jump to one chosen by the user.", 74, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_code_index_listers.cpp", 70, 12 },
|
||||
{ PROC_LINKS(jump_to_definition_at_cursor, 0), true, "jump_to_definition_at_cursor", 28, "Jump to the first definition in the code index matching an identifier at the cursor", 83, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_code_index_listers.cpp", 70, 68 },
|
||||
{ PROC_LINKS(jump_to_last_point, 0), false, "jump_to_last_point", 18, "Read from the top of the point stack and jump there; if already there pop the top and go to the next option", 107, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1471 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_keyboard_macro.cpp", 66, 54 },
|
||||
{ PROC_LINKS(keyboard_macro_replay, 0), false, "keyboard_macro_replay", 21, "Replay the most recently recorded keyboard macro", 48, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_keyboard_macro.cpp", 66, 77 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_keyboard_macro.cpp", 66, 41 },
|
||||
{ PROC_LINKS(kill_buffer, 0), false, "kill_buffer", 11, "Kills the current buffer.", 25, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1886 },
|
||||
{ PROC_LINKS(kill_tutorial, 0), false, "kill_tutorial", 13, "If there is an active tutorial, kill it.", 40, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_tutorial.cpp", 60, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 345 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_function_list.cpp", 65, 296 },
|
||||
{ PROC_LINKS(list_all_functions_all_buffers_lister, 0), true, "list_all_functions_all_buffers_lister", 37, "Creates a lister of locations that look like function definitions and declarations all buffers.", 95, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_function_list.cpp", 65, 302 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_function_list.cpp", 65, 268 },
|
||||
{ PROC_LINKS(list_all_functions_current_buffer_lister, 0), true, "list_all_functions_current_buffer_lister", 40, "Creates a lister of locations that look like function definitions and declarations in the buffer.", 97, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_function_list.cpp", 65, 278 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 192 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 198 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 204 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 210 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 216 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 224 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 186 },
|
||||
{ PROC_LINKS(lister_search_all, 0), true, "lister_search_all", 17, "Runs a search lister on all code indices of the project", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_code_index_listers.cpp", 70, 176 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 862 },
|
||||
{ PROC_LINKS(load_theme_current_buffer, 0), false, "load_theme_current_buffer", 25, "Parse the current buffer as a theme file and add the theme to the theme list. If the buffer has a .4coder postfix in it's name, it is removed when the name is saved.", 165, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_config.cpp", 58, 1617 },
|
||||
{ PROC_LINKS(load_themes_default_folder, 0), false, "load_themes_default_folder", 26, "Loads all the theme files in the default theme folder.", 54, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 535 },
|
||||
{ PROC_LINKS(load_themes_hot_directory, 0), false, "load_themes_hot_directory", 25, "Loads all the theme files in the current hot directory.", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 554 },
|
||||
{ PROC_LINKS(loco_jump_between_yeet, 0), false, "loco_jump_between_yeet", 22, "Jumps from the yeet sheet to the original buffer or vice versa.", 63, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 716 },
|
||||
{ PROC_LINKS(loco_load_yeet_snapshot_1, 0), false, "loco_load_yeet_snapshot_1", 25, "Load yeets snapshot from slot 1.", 32, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 879 },
|
||||
{ PROC_LINKS(loco_load_yeet_snapshot_2, 0), false, "loco_load_yeet_snapshot_2", 25, "Load yeets snapshot from slot 2.", 32, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 886 },
|
||||
{ PROC_LINKS(loco_load_yeet_snapshot_3, 0), false, "loco_load_yeet_snapshot_3", 25, "Load yeets snapshot from slot 3.", 32, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 893 },
|
||||
{ PROC_LINKS(loco_save_yeet_snapshot_1, 0), false, "loco_save_yeet_snapshot_1", 25, "Save yeets snapshot to slot 1.", 30, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 858 },
|
||||
{ PROC_LINKS(loco_save_yeet_snapshot_2, 0), false, "loco_save_yeet_snapshot_2", 25, "Save yeets snapshot to slot 2.", 30, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 865 },
|
||||
{ PROC_LINKS(loco_save_yeet_snapshot_3, 0), false, "loco_save_yeet_snapshot_3", 25, "Save yeets snapshot to slot 3.", 30, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 872 },
|
||||
{ PROC_LINKS(loco_yeet_clear, 0), false, "loco_yeet_clear", 15, "Clears all yeets.", 17, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 764 },
|
||||
{ PROC_LINKS(loco_yeet_remove_marker_pair, 0), false, "loco_yeet_remove_marker_pair", 28, "Removes the marker pair the cursor is currently inside.", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 810 },
|
||||
{ PROC_LINKS(loco_yeet_reset_all, 0), false, "loco_yeet_reset_all", 19, "Clears all yeets in all snapshots, also clears all the markers.", 63, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 793 },
|
||||
{ PROC_LINKS(loco_yeet_selected_range_or_jump, 0), false, "loco_yeet_selected_range_or_jump", 32, "Yeets some code into a yeet buffer.", 35, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 723 },
|
||||
{ PROC_LINKS(loco_yeet_surrounding_function, 0), false, "loco_yeet_surrounding_function", 30, "Selects the surrounding function scope and yeets it.", 52, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 738 },
|
||||
{ PROC_LINKS(loco_yeet_tag, 0), false, "loco_yeet_tag", 13, "Find all locations of a comment tag (//@tag) in all buffers and yeet the scope they precede.", 92, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_yeet.cpp", 56, 1032 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1630 },
|
||||
{ PROC_LINKS(miblo_decrement_basic, 0), false, "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 249 },
|
||||
{ PROC_LINKS(miblo_increment_basic, 0), false, "miblo_increment_basic", 21, "Increment an integer under the cursor by one.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_miblo_numbers.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 934 },
|
||||
{ PROC_LINKS(mouse_wheel_scroll, 0), false, "mouse_wheel_scroll", 18, "Reads the scroll wheel value from the mouse state and scrolls accordingly.", 74, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 401 },
|
||||
{ PROC_LINKS(move_down, 0), false, "move_down", 9, "Moves the cursor down one line.", 31, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 475 },
|
||||
{ PROC_LINKS(move_down_10, 0), false, "move_down_10", 12, "Moves the cursor down ten lines.", 32, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 487 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 493 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 546 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 570 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 558 },
|
||||
{ PROC_LINKS(move_left, 0), false, "move_left", 9, "Moves the cursor one character to the left.", 43, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 576 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 653 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 667 },
|
||||
{ PROC_LINKS(move_left_token_boundary, 0), false, "move_left_token_boundary", 24, "Seek left for the next beginning of a token.", 44, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 625 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 610 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 639 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1670 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1664 },
|
||||
{ PROC_LINKS(move_right, 0), false, "move_right", 10, "Moves the cursor one character to the right.", 44, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 584 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 646 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 660 },
|
||||
{ PROC_LINKS(move_right_token_boundary, 0), false, "move_right_token_boundary", 25, "Seek right for the next end of a token.", 39, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 618 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 602 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 632 },
|
||||
{ PROC_LINKS(move_up, 0), false, "move_up", 7, "Moves the cursor up one line.", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 469 },
|
||||
{ PROC_LINKS(move_up_10, 0), false, "move_up_10", 10, "Moves the cursor up ten lines.", 30, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 481 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 540 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 564 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 552 },
|
||||
{ PROC_LINKS(multi_paste, 0), false, "multi_paste", 11, "Paste multiple entries from the clipboard at once", 49, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 229 },
|
||||
{ PROC_LINKS(multi_paste_interactive, 0), false, "multi_paste_interactive", 23, "Paste multiple lines from the clipboard history, controlled with arrow keys", 75, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 371 },
|
||||
{ PROC_LINKS(multi_paste_interactive_quick, 0), false, "multi_paste_interactive_quick", 29, "Paste multiple lines from the clipboard history, controlled by inputing the number of lines to paste", 100, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 380 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 844 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 853 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1736 },
|
||||
{ PROC_LINKS(open_in_other, 0), false, "open_in_other", 13, "Interactively opens a file in the other panel.", 46, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 2219 },
|
||||
{ PROC_LINKS(open_long_braces, 0), false, "open_long_braces", 16, "At the cursor, insert a '{' and '}' separated by a blank line.", 62, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1819 },
|
||||
{ PROC_LINKS(open_panel_hsplit, 0), false, "open_panel_hsplit", 17, "Create a new panel by horizontally splitting the active panel.", 62, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 382 },
|
||||
{ PROC_LINKS(open_panel_vsplit, 0), false, "open_panel_vsplit", 17, "Create a new panel by vertically splitting the active panel.", 60, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 372 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 511 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 503 },
|
||||
{ PROC_LINKS(paste, 0), false, "paste", 5, "At the cursor, insert the text at the top of the clipboard.", 59, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 130 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 207 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 164 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_clipboard.cpp", 61, 214 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 106 },
|
||||
{ PROC_LINKS(play_with_a_counter, 0), false, "play_with_a_counter", 19, "Example of query bar", 20, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_examples.cpp", 60, 29 },
|
||||
{ PROC_LINKS(profile_clear, 0), false, "profile_clear", 13, "Clear all profiling information from 4coder's self profiler.", 60, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_profile.cpp", 59, 226 },
|
||||
{ PROC_LINKS(profile_disable, 0), false, "profile_disable", 15, "Prevent 4coder's self profiler from gathering new profiling information.", 72, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_profile.cpp", 59, 219 },
|
||||
{ PROC_LINKS(profile_enable, 0), false, "profile_enable", 14, "Allow 4coder's self profiler to gather new profiling information.", 65, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_profile.cpp", 59, 212 },
|
||||
{ PROC_LINKS(profile_inspect, 0), true, "profile_inspect", 15, "Inspect all currently collected profiling information in 4coder's self profiler.", 80, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_profile_inspect.cpp", 67, 886 },
|
||||
{ PROC_LINKS(project_command_F1, 0), false, "project_command_F1", 18, "Run the command with index 1", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1090 },
|
||||
{ PROC_LINKS(project_command_F10, 0), false, "project_command_F10", 19, "Run the command with index 10", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1144 },
|
||||
{ PROC_LINKS(project_command_F11, 0), false, "project_command_F11", 19, "Run the command with index 11", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1150 },
|
||||
{ PROC_LINKS(project_command_F12, 0), false, "project_command_F12", 19, "Run the command with index 12", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1156 },
|
||||
{ PROC_LINKS(project_command_F13, 0), false, "project_command_F13", 19, "Run the command with index 13", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1162 },
|
||||
{ PROC_LINKS(project_command_F14, 0), false, "project_command_F14", 19, "Run the command with index 14", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1168 },
|
||||
{ PROC_LINKS(project_command_F15, 0), false, "project_command_F15", 19, "Run the command with index 15", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1174 },
|
||||
{ PROC_LINKS(project_command_F16, 0), false, "project_command_F16", 19, "Run the command with index 16", 29, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1180 },
|
||||
{ PROC_LINKS(project_command_F2, 0), false, "project_command_F2", 18, "Run the command with index 2", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1096 },
|
||||
{ PROC_LINKS(project_command_F3, 0), false, "project_command_F3", 18, "Run the command with index 3", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1102 },
|
||||
{ PROC_LINKS(project_command_F4, 0), false, "project_command_F4", 18, "Run the command with index 4", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1108 },
|
||||
{ PROC_LINKS(project_command_F5, 0), false, "project_command_F5", 18, "Run the command with index 5", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1114 },
|
||||
{ PROC_LINKS(project_command_F6, 0), false, "project_command_F6", 18, "Run the command with index 6", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1120 },
|
||||
{ PROC_LINKS(project_command_F7, 0), false, "project_command_F7", 18, "Run the command with index 7", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1126 },
|
||||
{ PROC_LINKS(project_command_F8, 0), false, "project_command_F8", 18, "Run the command with index 8", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1132 },
|
||||
{ PROC_LINKS(project_command_F9, 0), false, "project_command_F9", 18, "Run the command with index 9", 28, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1138 },
|
||||
{ PROC_LINKS(project_command_lister, 0), false, "project_command_lister", 22, "Open a lister of all commands in the currently loaded project.", 62, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1042 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 980 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1006 },
|
||||
{ PROC_LINKS(project_reprint, 0), false, "project_reprint", 15, "Prints the current project to the file it was loaded from; prints in the most recent project file version", 105, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1052 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1417 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1438 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1454 },
|
||||
{ PROC_LINKS(quick_swap_buffer, 0), false, "quick_swap_buffer", 17, "Change to the most recently used buffer in this view - or to the top of the buffer stack if the most recent doesn't exist anymore", 129, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1866 },
|
||||
{ PROC_LINKS(redo, 0), false, "redo", 4, "Advances forwards through the undo history of the current buffer.", 65, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 2046 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 2143 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1595 },
|
||||
{ PROC_LINKS(reopen, 0), false, "reopen", 6, "Reopen the current buffer from the hard drive.", 46, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1904 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1327 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1318 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1309 },
|
||||
{ PROC_LINKS(reverse_search, 0), false, "reverse_search", 14, "Begins an incremental search up through the current buffer for a user specified string.", 87, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1250 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1262 },
|
||||
{ PROC_LINKS(save, 0), false, "save", 4, "Saves the current buffer.", 25, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1894 },
|
||||
{ PROC_LINKS(save_all_dirty_buffers, 0), false, "save_all_dirty_buffers", 22, "Saves all buffers marked dirty (showing the '*' indicator).", 59, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 454 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1562 },
|
||||
{ PROC_LINKS(search, 0), false, "search", 6, "Begins an incremental search down through the current buffer for a user specified string.", 89, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1244 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1256 },
|
||||
{ PROC_LINKS(seek_beginning_of_line, 0), false, "seek_beginning_of_line", 22, "Seeks the cursor to the beginning of the visual line.", 53, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2246 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2234 },
|
||||
{ PROC_LINKS(seek_end_of_line, 0), false, "seek_end_of_line", 16, "Seeks the cursor to the end of the visual line.", 47, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2252 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_helper.cpp", 58, 2240 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 676 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 99 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 27 },
|
||||
{ PROC_LINKS(select_surrounding_scope_maximal, 0), false, "select_surrounding_scope_maximal", 32, "Selects the top-most scope that surrounds the cursor.", 53, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_scope_commands.cpp", 66, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_eol.cpp", 55, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_eol.cpp", 55, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_eol.cpp", 55, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_eol.cpp", 55, 99 },
|
||||
{ PROC_LINKS(set_face_size, 0), false, "set_face_size", 13, "Set face size of the face used by the current buffer.", 53, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 861 },
|
||||
{ PROC_LINKS(set_face_size_this_buffer, 0), false, "set_face_size_this_buffer", 25, "Set face size of the face used by the current buffer; if any other buffers are using the same face a new face is created so that only this buffer is effected", 157, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 903 },
|
||||
{ PROC_LINKS(set_mark, 0), false, "set_mark", 8, "Sets the mark to the current position of the cursor.", 52, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 115 },
|
||||
{ PROC_LINKS(set_mode_to_notepad_like, 0), false, "set_mode_to_notepad_like", 24, "Sets the edit mode to Notepad like.", 35, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 499 },
|
||||
{ PROC_LINKS(set_mode_to_original, 0), false, "set_mode_to_original", 20, "Sets the edit mode to 4coder original.", 38, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 493 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1024 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1036 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1030 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_project_commands.cpp", 68, 1017 },
|
||||
{ PROC_LINKS(show_filebar, 0), false, "show_filebar", 12, "Sets the current view to show it's filebar.", 43, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 832 },
|
||||
{ PROC_LINKS(show_scrollbar, 0), false, "show_scrollbar", 14, "Sets the current view to show it's scrollbar.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 818 },
|
||||
{ PROC_LINKS(show_the_log_graph, 0), true, "show_the_log_graph", 18, "Parses *log* and displays the 'log graph' UI", 44, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_log_parser.cpp", 62, 991 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 312 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 320 },
|
||||
{ PROC_LINKS(snippet_lister, 0), true, "snippet_lister", 14, "Opens a snippet lister for inserting whole pre-written snippets of text.", 72, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 237 },
|
||||
{ PROC_LINKS(string_repeat, 0), false, "string_repeat", 13, "Example of query_user_string and query_user_number", 50, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_examples.cpp", 60, 179 },
|
||||
{ PROC_LINKS(suppress_mouse, 0), false, "suppress_mouse", 14, "Hides the mouse and causes all mosue input (clicks, position, wheel) to be ignored.", 83, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 475 },
|
||||
{ PROC_LINKS(swap_panels, 0), false, "swap_panels", 11, "Swaps the active panel with it's sibling.", 41, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1844 },
|
||||
{ PROC_LINKS(theme_lister, 0), true, "theme_lister", 12, "Opens an interactive list of all registered themes.", 51, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_lists.cpp", 57, 780 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 702 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 689 },
|
||||
{ PROC_LINKS(toggle_filebar, 0), false, "toggle_filebar", 14, "Toggles the visibility status of the current view's filebar.", 60, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 846 },
|
||||
{ PROC_LINKS(toggle_fps_meter, 0), false, "toggle_fps_meter", 16, "Toggles the visibility of the FPS performance meter", 51, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 855 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 529 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 513 },
|
||||
{ PROC_LINKS(toggle_highlight_line_at_cursor, 0), false, "toggle_highlight_line_at_cursor", 31, "Toggles the line highlight at the cursor.", 41, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 505 },
|
||||
{ PROC_LINKS(toggle_line_numbers, 0), false, "toggle_line_numbers", 19, "Toggles the left margin line numbers.", 37, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 960 },
|
||||
{ PROC_LINKS(toggle_line_wrap, 0), false, "toggle_line_wrap", 16, "Toggles the line wrap setting on this buffer.", 45, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 968 },
|
||||
{ PROC_LINKS(toggle_mouse, 0), false, "toggle_mouse", 12, "Toggles the mouse suppression mode, see suppress_mouse and allow_mouse.", 71, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 487 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_default_framework.cpp", 69, 521 },
|
||||
{ PROC_LINKS(toggle_show_whitespace, 0), false, "toggle_show_whitespace", 22, "Toggles the current buffer's whitespace visibility status.", 58, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 951 },
|
||||
{ PROC_LINKS(toggle_virtual_whitespace, 0), false, "toggle_virtual_whitespace", 25, "Toggles virtual whitespace for all files.", 41, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_code_index.cpp", 62, 1238 },
|
||||
{ PROC_LINKS(tutorial_maximize, 0), false, "tutorial_maximize", 17, "Expand the tutorial window", 26, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_tutorial.cpp", 60, 20 },
|
||||
{ PROC_LINKS(tutorial_minimize, 0), false, "tutorial_minimize", 17, "Shrink the tutorial window", 26, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_tutorial.cpp", 60, 34 },
|
||||
{ PROC_LINKS(uncomment_line, 0), false, "uncomment_line", 14, "If present, delete '//' at the beginning of the line after leading whitespace.", 78, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 137 },
|
||||
{ PROC_LINKS(undo, 0), false, "undo", 4, "Advances backwards through the undo history of the current buffer.", 66, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1994 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 2072 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 1832 },
|
||||
{ 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_jump_lister.cpp", 63, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 433 },
|
||||
{ PROC_LINKS(word_complete_drop_down, 0), false, "word_complete_drop_down", 23, "Word complete with drop down menu.", 34, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_search.cpp", 58, 679 },
|
||||
{ PROC_LINKS(write_block, 0), false, "write_block", 11, "At the cursor, insert a block comment.", 38, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 88 },
|
||||
{ PROC_LINKS(write_space, 0), false, "write_space", 11, "Inserts a space.", 16, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_auto_indent.cpp", 63, 507 },
|
||||
{ PROC_LINKS(write_text_input, 0), false, "write_text_input", 16, "Inserts whatever text was used to trigger this command.", 55, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 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, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 76 },
|
||||
{ PROC_LINKS(write_underscore, 0), false, "write_underscore", 16, "Inserts an underscore.", 22, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_base_commands.cpp", 65, 73 },
|
||||
{ PROC_LINKS(write_zero_struct, 0), false, "write_zero_struct", 17, "At the cursor, insert a ' = {};'.", 33, "/Users/ps/work/4coder_CLAUDE/code/custom/4coder_combined_write_commands.cpp", 75, 100 },
|
||||
};
|
||||
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_alpha_numeric_or_camel_boundary = 5;
|
||||
static i32 fcoder_metacmd_ID_backspace_char = 6;
|
||||
static i32 fcoder_metacmd_ID_backspace_token_boundary = 7;
|
||||
static i32 fcoder_metacmd_ID_basic_change_active_panel = 8;
|
||||
static i32 fcoder_metacmd_ID_begin_clipboard_collection_mode = 9;
|
||||
static i32 fcoder_metacmd_ID_build_in_build_panel = 10;
|
||||
static i32 fcoder_metacmd_ID_build_search = 11;
|
||||
static i32 fcoder_metacmd_ID_center_view = 12;
|
||||
static i32 fcoder_metacmd_ID_change_active_panel = 13;
|
||||
static i32 fcoder_metacmd_ID_change_active_panel_backwards = 14;
|
||||
static i32 fcoder_metacmd_ID_change_to_build_panel = 15;
|
||||
static i32 fcoder_metacmd_ID_clean_all_lines = 16;
|
||||
static i32 fcoder_metacmd_ID_clean_trailing_whitespace = 17;
|
||||
static i32 fcoder_metacmd_ID_clear_all_themes = 18;
|
||||
static i32 fcoder_metacmd_ID_clear_clipboard = 19;
|
||||
static i32 fcoder_metacmd_ID_click_set_cursor = 20;
|
||||
static i32 fcoder_metacmd_ID_click_set_cursor_and_mark = 21;
|
||||
static i32 fcoder_metacmd_ID_click_set_cursor_if_lbutton = 22;
|
||||
static i32 fcoder_metacmd_ID_click_set_mark = 23;
|
||||
static i32 fcoder_metacmd_ID_clipboard_record_clip = 24;
|
||||
static i32 fcoder_metacmd_ID_close_all_code = 25;
|
||||
static i32 fcoder_metacmd_ID_close_build_panel = 26;
|
||||
static i32 fcoder_metacmd_ID_close_panel = 27;
|
||||
static i32 fcoder_metacmd_ID_command_documentation = 28;
|
||||
static i32 fcoder_metacmd_ID_command_lister = 29;
|
||||
static i32 fcoder_metacmd_ID_comment_line = 30;
|
||||
static i32 fcoder_metacmd_ID_comment_line_toggle = 31;
|
||||
static i32 fcoder_metacmd_ID_copy = 32;
|
||||
static i32 fcoder_metacmd_ID_cursor_mark_swap = 33;
|
||||
static i32 fcoder_metacmd_ID_custom_api_documentation = 34;
|
||||
static i32 fcoder_metacmd_ID_cut = 35;
|
||||
static i32 fcoder_metacmd_ID_decrease_face_size = 36;
|
||||
static i32 fcoder_metacmd_ID_default_file_externally_modified = 37;
|
||||
static i32 fcoder_metacmd_ID_default_startup = 38;
|
||||
static i32 fcoder_metacmd_ID_default_try_exit = 39;
|
||||
static i32 fcoder_metacmd_ID_default_view_input_handler = 40;
|
||||
static i32 fcoder_metacmd_ID_delete_alpha_numeric_boundary = 41;
|
||||
static i32 fcoder_metacmd_ID_delete_char = 42;
|
||||
static i32 fcoder_metacmd_ID_delete_current_scope = 43;
|
||||
static i32 fcoder_metacmd_ID_delete_file_query = 44;
|
||||
static i32 fcoder_metacmd_ID_delete_line = 45;
|
||||
static i32 fcoder_metacmd_ID_delete_range = 46;
|
||||
static i32 fcoder_metacmd_ID_delete_to_end_of_line = 47;
|
||||
static i32 fcoder_metacmd_ID_display_key_codes = 48;
|
||||
static i32 fcoder_metacmd_ID_display_text_input = 49;
|
||||
static i32 fcoder_metacmd_ID_double_backspace = 50;
|
||||
static i32 fcoder_metacmd_ID_duplicate_line = 51;
|
||||
static i32 fcoder_metacmd_ID_execute_any_cli = 52;
|
||||
static i32 fcoder_metacmd_ID_execute_previous_cli = 53;
|
||||
static i32 fcoder_metacmd_ID_exit_4coder = 54;
|
||||
static i32 fcoder_metacmd_ID_go_to_user_directory = 55;
|
||||
static i32 fcoder_metacmd_ID_goto_beginning_of_file = 56;
|
||||
static i32 fcoder_metacmd_ID_goto_end_of_file = 57;
|
||||
static i32 fcoder_metacmd_ID_goto_first_jump = 58;
|
||||
static i32 fcoder_metacmd_ID_goto_first_jump_same_panel_sticky = 59;
|
||||
static i32 fcoder_metacmd_ID_goto_jump_at_cursor = 60;
|
||||
static i32 fcoder_metacmd_ID_goto_jump_at_cursor_same_panel = 61;
|
||||
static i32 fcoder_metacmd_ID_goto_line = 62;
|
||||
static i32 fcoder_metacmd_ID_goto_next_jump = 63;
|
||||
static i32 fcoder_metacmd_ID_goto_next_jump_no_skips = 64;
|
||||
static i32 fcoder_metacmd_ID_goto_prev_jump = 65;
|
||||
static i32 fcoder_metacmd_ID_goto_prev_jump_no_skips = 66;
|
||||
static i32 fcoder_metacmd_ID_hide_filebar = 67;
|
||||
static i32 fcoder_metacmd_ID_hide_scrollbar = 68;
|
||||
static i32 fcoder_metacmd_ID_hms_demo_tutorial = 69;
|
||||
static i32 fcoder_metacmd_ID_if0_off = 70;
|
||||
static i32 fcoder_metacmd_ID_if_read_only_goto_position = 71;
|
||||
static i32 fcoder_metacmd_ID_if_read_only_goto_position_same_panel = 72;
|
||||
static i32 fcoder_metacmd_ID_increase_face_size = 73;
|
||||
static i32 fcoder_metacmd_ID_interactive_kill_buffer = 74;
|
||||
static i32 fcoder_metacmd_ID_interactive_new = 75;
|
||||
static i32 fcoder_metacmd_ID_interactive_open = 76;
|
||||
static i32 fcoder_metacmd_ID_interactive_open_or_new = 77;
|
||||
static i32 fcoder_metacmd_ID_interactive_switch_buffer = 78;
|
||||
static i32 fcoder_metacmd_ID_jump_to_definition = 79;
|
||||
static i32 fcoder_metacmd_ID_jump_to_definition_at_cursor = 80;
|
||||
static i32 fcoder_metacmd_ID_jump_to_last_point = 81;
|
||||
static i32 fcoder_metacmd_ID_keyboard_macro_finish_recording = 82;
|
||||
static i32 fcoder_metacmd_ID_keyboard_macro_replay = 83;
|
||||
static i32 fcoder_metacmd_ID_keyboard_macro_start_recording = 84;
|
||||
static i32 fcoder_metacmd_ID_kill_buffer = 85;
|
||||
static i32 fcoder_metacmd_ID_kill_tutorial = 86;
|
||||
static i32 fcoder_metacmd_ID_left_adjust_view = 87;
|
||||
static i32 fcoder_metacmd_ID_list_all_functions_all_buffers = 88;
|
||||
static i32 fcoder_metacmd_ID_list_all_functions_all_buffers_lister = 89;
|
||||
static i32 fcoder_metacmd_ID_list_all_functions_current_buffer = 90;
|
||||
static i32 fcoder_metacmd_ID_list_all_functions_current_buffer_lister = 91;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations = 92;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_case_insensitive = 93;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_identifier = 94;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_identifier_case_insensitive = 95;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_selection = 96;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_selection_case_insensitive = 97;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition = 98;
|
||||
static i32 fcoder_metacmd_ID_list_all_locations_of_type_definition_of_identifier = 99;
|
||||
static i32 fcoder_metacmd_ID_list_all_substring_locations = 100;
|
||||
static i32 fcoder_metacmd_ID_list_all_substring_locations_case_insensitive = 101;
|
||||
static i32 fcoder_metacmd_ID_lister_search_all = 102;
|
||||
static i32 fcoder_metacmd_ID_load_project = 103;
|
||||
static i32 fcoder_metacmd_ID_load_theme_current_buffer = 104;
|
||||
static i32 fcoder_metacmd_ID_load_themes_default_folder = 105;
|
||||
static i32 fcoder_metacmd_ID_load_themes_hot_directory = 106;
|
||||
static i32 fcoder_metacmd_ID_loco_jump_between_yeet = 107;
|
||||
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_1 = 108;
|
||||
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_2 = 109;
|
||||
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_3 = 110;
|
||||
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_1 = 111;
|
||||
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_2 = 112;
|
||||
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_3 = 113;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_clear = 114;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_remove_marker_pair = 115;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_reset_all = 116;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_selected_range_or_jump = 117;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_surrounding_function = 118;
|
||||
static i32 fcoder_metacmd_ID_loco_yeet_tag = 119;
|
||||
static i32 fcoder_metacmd_ID_make_directory_query = 120;
|
||||
static i32 fcoder_metacmd_ID_miblo_decrement_basic = 121;
|
||||
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp = 122;
|
||||
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 123;
|
||||
static i32 fcoder_metacmd_ID_miblo_increment_basic = 124;
|
||||
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp = 125;
|
||||
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 126;
|
||||
static i32 fcoder_metacmd_ID_mouse_wheel_change_face_size = 127;
|
||||
static i32 fcoder_metacmd_ID_mouse_wheel_scroll = 128;
|
||||
static i32 fcoder_metacmd_ID_move_down = 129;
|
||||
static i32 fcoder_metacmd_ID_move_down_10 = 130;
|
||||
static i32 fcoder_metacmd_ID_move_down_textual = 131;
|
||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line = 132;
|
||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line_end = 133;
|
||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line_skip_whitespace = 134;
|
||||
static i32 fcoder_metacmd_ID_move_left = 135;
|
||||
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_boundary = 136;
|
||||
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_or_camel_boundary = 137;
|
||||
static i32 fcoder_metacmd_ID_move_left_token_boundary = 138;
|
||||
static i32 fcoder_metacmd_ID_move_left_whitespace_boundary = 139;
|
||||
static i32 fcoder_metacmd_ID_move_left_whitespace_or_token_boundary = 140;
|
||||
static i32 fcoder_metacmd_ID_move_line_down = 141;
|
||||
static i32 fcoder_metacmd_ID_move_line_up = 142;
|
||||
static i32 fcoder_metacmd_ID_move_right = 143;
|
||||
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_boundary = 144;
|
||||
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_or_camel_boundary = 145;
|
||||
static i32 fcoder_metacmd_ID_move_right_token_boundary = 146;
|
||||
static i32 fcoder_metacmd_ID_move_right_whitespace_boundary = 147;
|
||||
static i32 fcoder_metacmd_ID_move_right_whitespace_or_token_boundary = 148;
|
||||
static i32 fcoder_metacmd_ID_move_up = 149;
|
||||
static i32 fcoder_metacmd_ID_move_up_10 = 150;
|
||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line = 151;
|
||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line_end = 152;
|
||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line_skip_whitespace = 153;
|
||||
static i32 fcoder_metacmd_ID_multi_paste = 154;
|
||||
static i32 fcoder_metacmd_ID_multi_paste_interactive = 155;
|
||||
static i32 fcoder_metacmd_ID_multi_paste_interactive_quick = 156;
|
||||
static i32 fcoder_metacmd_ID_open_all_code = 157;
|
||||
static i32 fcoder_metacmd_ID_open_all_code_recursive = 158;
|
||||
static i32 fcoder_metacmd_ID_open_file_in_quotes = 159;
|
||||
static i32 fcoder_metacmd_ID_open_in_other = 160;
|
||||
static i32 fcoder_metacmd_ID_open_long_braces = 161;
|
||||
static i32 fcoder_metacmd_ID_open_long_braces_break = 162;
|
||||
static i32 fcoder_metacmd_ID_open_long_braces_semicolon = 163;
|
||||
static i32 fcoder_metacmd_ID_open_matching_file_cpp = 164;
|
||||
static i32 fcoder_metacmd_ID_open_panel_hsplit = 165;
|
||||
static i32 fcoder_metacmd_ID_open_panel_vsplit = 166;
|
||||
static i32 fcoder_metacmd_ID_page_down = 167;
|
||||
static i32 fcoder_metacmd_ID_page_up = 168;
|
||||
static i32 fcoder_metacmd_ID_paste = 169;
|
||||
static i32 fcoder_metacmd_ID_paste_and_indent = 170;
|
||||
static i32 fcoder_metacmd_ID_paste_next = 171;
|
||||
static i32 fcoder_metacmd_ID_paste_next_and_indent = 172;
|
||||
static i32 fcoder_metacmd_ID_place_in_scope = 173;
|
||||
static i32 fcoder_metacmd_ID_play_with_a_counter = 174;
|
||||
static i32 fcoder_metacmd_ID_profile_clear = 175;
|
||||
static i32 fcoder_metacmd_ID_profile_disable = 176;
|
||||
static i32 fcoder_metacmd_ID_profile_enable = 177;
|
||||
static i32 fcoder_metacmd_ID_profile_inspect = 178;
|
||||
static i32 fcoder_metacmd_ID_project_command_F1 = 179;
|
||||
static i32 fcoder_metacmd_ID_project_command_F10 = 180;
|
||||
static i32 fcoder_metacmd_ID_project_command_F11 = 181;
|
||||
static i32 fcoder_metacmd_ID_project_command_F12 = 182;
|
||||
static i32 fcoder_metacmd_ID_project_command_F13 = 183;
|
||||
static i32 fcoder_metacmd_ID_project_command_F14 = 184;
|
||||
static i32 fcoder_metacmd_ID_project_command_F15 = 185;
|
||||
static i32 fcoder_metacmd_ID_project_command_F16 = 186;
|
||||
static i32 fcoder_metacmd_ID_project_command_F2 = 187;
|
||||
static i32 fcoder_metacmd_ID_project_command_F3 = 188;
|
||||
static i32 fcoder_metacmd_ID_project_command_F4 = 189;
|
||||
static i32 fcoder_metacmd_ID_project_command_F5 = 190;
|
||||
static i32 fcoder_metacmd_ID_project_command_F6 = 191;
|
||||
static i32 fcoder_metacmd_ID_project_command_F7 = 192;
|
||||
static i32 fcoder_metacmd_ID_project_command_F8 = 193;
|
||||
static i32 fcoder_metacmd_ID_project_command_F9 = 194;
|
||||
static i32 fcoder_metacmd_ID_project_command_lister = 195;
|
||||
static i32 fcoder_metacmd_ID_project_fkey_command = 196;
|
||||
static i32 fcoder_metacmd_ID_project_go_to_root_directory = 197;
|
||||
static i32 fcoder_metacmd_ID_project_reprint = 198;
|
||||
static i32 fcoder_metacmd_ID_query_replace = 199;
|
||||
static i32 fcoder_metacmd_ID_query_replace_identifier = 200;
|
||||
static i32 fcoder_metacmd_ID_query_replace_selection = 201;
|
||||
static i32 fcoder_metacmd_ID_quick_swap_buffer = 202;
|
||||
static i32 fcoder_metacmd_ID_redo = 203;
|
||||
static i32 fcoder_metacmd_ID_redo_all_buffers = 204;
|
||||
static i32 fcoder_metacmd_ID_rename_file_query = 205;
|
||||
static i32 fcoder_metacmd_ID_reopen = 206;
|
||||
static i32 fcoder_metacmd_ID_replace_in_all_buffers = 207;
|
||||
static i32 fcoder_metacmd_ID_replace_in_buffer = 208;
|
||||
static i32 fcoder_metacmd_ID_replace_in_range = 209;
|
||||
static i32 fcoder_metacmd_ID_reverse_search = 210;
|
||||
static i32 fcoder_metacmd_ID_reverse_search_identifier = 211;
|
||||
static i32 fcoder_metacmd_ID_save = 212;
|
||||
static i32 fcoder_metacmd_ID_save_all_dirty_buffers = 213;
|
||||
static i32 fcoder_metacmd_ID_save_to_query = 214;
|
||||
static i32 fcoder_metacmd_ID_search = 215;
|
||||
static i32 fcoder_metacmd_ID_search_identifier = 216;
|
||||
static i32 fcoder_metacmd_ID_seek_beginning_of_line = 217;
|
||||
static i32 fcoder_metacmd_ID_seek_beginning_of_textual_line = 218;
|
||||
static i32 fcoder_metacmd_ID_seek_end_of_line = 219;
|
||||
static i32 fcoder_metacmd_ID_seek_end_of_textual_line = 220;
|
||||
static i32 fcoder_metacmd_ID_select_all = 221;
|
||||
static i32 fcoder_metacmd_ID_select_next_scope_absolute = 222;
|
||||
static i32 fcoder_metacmd_ID_select_next_scope_after_current = 223;
|
||||
static i32 fcoder_metacmd_ID_select_prev_scope_absolute = 224;
|
||||
static i32 fcoder_metacmd_ID_select_prev_top_most_scope = 225;
|
||||
static i32 fcoder_metacmd_ID_select_surrounding_scope = 226;
|
||||
static i32 fcoder_metacmd_ID_select_surrounding_scope_maximal = 227;
|
||||
static i32 fcoder_metacmd_ID_set_eol_mode_from_contents = 228;
|
||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_binary = 229;
|
||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_crlf = 230;
|
||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_lf = 231;
|
||||
static i32 fcoder_metacmd_ID_set_face_size = 232;
|
||||
static i32 fcoder_metacmd_ID_set_face_size_this_buffer = 233;
|
||||
static i32 fcoder_metacmd_ID_set_mark = 234;
|
||||
static i32 fcoder_metacmd_ID_set_mode_to_notepad_like = 235;
|
||||
static i32 fcoder_metacmd_ID_set_mode_to_original = 236;
|
||||
static i32 fcoder_metacmd_ID_setup_build_bat = 237;
|
||||
static i32 fcoder_metacmd_ID_setup_build_bat_and_sh = 238;
|
||||
static i32 fcoder_metacmd_ID_setup_build_sh = 239;
|
||||
static i32 fcoder_metacmd_ID_setup_new_project = 240;
|
||||
static i32 fcoder_metacmd_ID_show_filebar = 241;
|
||||
static i32 fcoder_metacmd_ID_show_scrollbar = 242;
|
||||
static i32 fcoder_metacmd_ID_show_the_log_graph = 243;
|
||||
static i32 fcoder_metacmd_ID_snipe_backward_whitespace_or_token_boundary = 244;
|
||||
static i32 fcoder_metacmd_ID_snipe_forward_whitespace_or_token_boundary = 245;
|
||||
static i32 fcoder_metacmd_ID_snippet_lister = 246;
|
||||
static i32 fcoder_metacmd_ID_string_repeat = 247;
|
||||
static i32 fcoder_metacmd_ID_suppress_mouse = 248;
|
||||
static i32 fcoder_metacmd_ID_swap_panels = 249;
|
||||
static i32 fcoder_metacmd_ID_theme_lister = 250;
|
||||
static i32 fcoder_metacmd_ID_to_lowercase = 251;
|
||||
static i32 fcoder_metacmd_ID_to_uppercase = 252;
|
||||
static i32 fcoder_metacmd_ID_toggle_filebar = 253;
|
||||
static i32 fcoder_metacmd_ID_toggle_fps_meter = 254;
|
||||
static i32 fcoder_metacmd_ID_toggle_fullscreen = 255;
|
||||
static i32 fcoder_metacmd_ID_toggle_highlight_enclosing_scopes = 256;
|
||||
static i32 fcoder_metacmd_ID_toggle_highlight_line_at_cursor = 257;
|
||||
static i32 fcoder_metacmd_ID_toggle_line_numbers = 258;
|
||||
static i32 fcoder_metacmd_ID_toggle_line_wrap = 259;
|
||||
static i32 fcoder_metacmd_ID_toggle_mouse = 260;
|
||||
static i32 fcoder_metacmd_ID_toggle_paren_matching_helper = 261;
|
||||
static i32 fcoder_metacmd_ID_toggle_show_whitespace = 262;
|
||||
static i32 fcoder_metacmd_ID_toggle_virtual_whitespace = 263;
|
||||
static i32 fcoder_metacmd_ID_tutorial_maximize = 264;
|
||||
static i32 fcoder_metacmd_ID_tutorial_minimize = 265;
|
||||
static i32 fcoder_metacmd_ID_uncomment_line = 266;
|
||||
static i32 fcoder_metacmd_ID_undo = 267;
|
||||
static i32 fcoder_metacmd_ID_undo_all_buffers = 268;
|
||||
static i32 fcoder_metacmd_ID_view_buffer_other_panel = 269;
|
||||
static i32 fcoder_metacmd_ID_view_jump_list_with_lister = 270;
|
||||
static i32 fcoder_metacmd_ID_word_complete = 271;
|
||||
static i32 fcoder_metacmd_ID_word_complete_drop_down = 272;
|
||||
static i32 fcoder_metacmd_ID_write_block = 273;
|
||||
static i32 fcoder_metacmd_ID_write_hack = 274;
|
||||
static i32 fcoder_metacmd_ID_write_note = 275;
|
||||
static i32 fcoder_metacmd_ID_write_space = 276;
|
||||
static i32 fcoder_metacmd_ID_write_text_and_auto_indent = 277;
|
||||
static i32 fcoder_metacmd_ID_write_text_input = 278;
|
||||
static i32 fcoder_metacmd_ID_write_todo = 279;
|
||||
static i32 fcoder_metacmd_ID_write_underscore = 280;
|
||||
static i32 fcoder_metacmd_ID_write_zero_struct = 281;
|
||||
#endif
|
|
@ -1,370 +0,0 @@
|
|||
/* Generated by "code/4ed_api_parser_main.exe 4ed_api_implementation.cpp" */
|
||||
|
||||
function void
|
||||
custom_api_fill_vtable(API_VTable_custom *vtable){
|
||||
vtable->global_set_setting = global_set_setting;
|
||||
vtable->global_get_screen_rectangle = global_get_screen_rectangle;
|
||||
vtable->get_thread_context = get_thread_context;
|
||||
vtable->create_child_process = create_child_process;
|
||||
vtable->child_process_set_target_buffer = child_process_set_target_buffer;
|
||||
vtable->buffer_get_attached_child_process = buffer_get_attached_child_process;
|
||||
vtable->child_process_get_attached_buffer = child_process_get_attached_buffer;
|
||||
vtable->child_process_get_state = child_process_get_state;
|
||||
vtable->enqueue_virtual_event = enqueue_virtual_event;
|
||||
vtable->get_buffer_count = get_buffer_count;
|
||||
vtable->get_buffer_next = get_buffer_next;
|
||||
vtable->get_buffer_by_name = get_buffer_by_name;
|
||||
vtable->get_buffer_by_file_name = get_buffer_by_file_name;
|
||||
vtable->buffer_read_range = buffer_read_range;
|
||||
vtable->buffer_replace_range = buffer_replace_range;
|
||||
vtable->buffer_batch_edit = buffer_batch_edit;
|
||||
vtable->buffer_seek_string = buffer_seek_string;
|
||||
vtable->buffer_seek_character_class = buffer_seek_character_class;
|
||||
vtable->buffer_line_y_difference = buffer_line_y_difference;
|
||||
vtable->buffer_line_shift_y = buffer_line_shift_y;
|
||||
vtable->buffer_pos_at_relative_xy = buffer_pos_at_relative_xy;
|
||||
vtable->buffer_relative_box_of_pos = buffer_relative_box_of_pos;
|
||||
vtable->buffer_padded_box_of_pos = buffer_padded_box_of_pos;
|
||||
vtable->buffer_relative_character_from_pos = buffer_relative_character_from_pos;
|
||||
vtable->buffer_pos_from_relative_character = buffer_pos_from_relative_character;
|
||||
vtable->view_line_y_difference = view_line_y_difference;
|
||||
vtable->view_line_shift_y = view_line_shift_y;
|
||||
vtable->view_pos_at_relative_xy = view_pos_at_relative_xy;
|
||||
vtable->view_relative_box_of_pos = view_relative_box_of_pos;
|
||||
vtable->view_padded_box_of_pos = view_padded_box_of_pos;
|
||||
vtable->view_relative_character_from_pos = view_relative_character_from_pos;
|
||||
vtable->view_pos_from_relative_character = view_pos_from_relative_character;
|
||||
vtable->buffer_exists = buffer_exists;
|
||||
vtable->buffer_get_access_flags = buffer_get_access_flags;
|
||||
vtable->buffer_get_size = buffer_get_size;
|
||||
vtable->buffer_get_line_count = buffer_get_line_count;
|
||||
vtable->push_buffer_base_name = push_buffer_base_name;
|
||||
vtable->push_buffer_unique_name = push_buffer_unique_name;
|
||||
vtable->push_buffer_file_name = push_buffer_file_name;
|
||||
vtable->buffer_get_dirty_state = buffer_get_dirty_state;
|
||||
vtable->buffer_set_dirty_state = buffer_set_dirty_state;
|
||||
vtable->buffer_set_layout = buffer_set_layout;
|
||||
vtable->buffer_clear_layout_cache = buffer_clear_layout_cache;
|
||||
vtable->buffer_get_layout = buffer_get_layout;
|
||||
vtable->buffer_get_setting = buffer_get_setting;
|
||||
vtable->buffer_set_setting = buffer_set_setting;
|
||||
vtable->buffer_get_managed_scope = buffer_get_managed_scope;
|
||||
vtable->buffer_send_end_signal = buffer_send_end_signal;
|
||||
vtable->create_buffer = create_buffer;
|
||||
vtable->buffer_save = buffer_save;
|
||||
vtable->buffer_kill = buffer_kill;
|
||||
vtable->buffer_reopen = buffer_reopen;
|
||||
vtable->buffer_get_file_attributes = buffer_get_file_attributes;
|
||||
vtable->get_view_next = get_view_next;
|
||||
vtable->get_view_prev = get_view_prev;
|
||||
vtable->get_this_ctx_view = get_this_ctx_view;
|
||||
vtable->get_active_view = get_active_view;
|
||||
vtable->view_exists = view_exists;
|
||||
vtable->view_get_buffer = view_get_buffer;
|
||||
vtable->view_get_cursor_pos = view_get_cursor_pos;
|
||||
vtable->view_get_mark_pos = view_get_mark_pos;
|
||||
vtable->view_get_preferred_x = view_get_preferred_x;
|
||||
vtable->view_set_preferred_x = view_set_preferred_x;
|
||||
vtable->view_get_screen_rect = view_get_screen_rect;
|
||||
vtable->view_get_panel = view_get_panel;
|
||||
vtable->panel_get_view = panel_get_view;
|
||||
vtable->panel_is_split = panel_is_split;
|
||||
vtable->panel_is_leaf = panel_is_leaf;
|
||||
vtable->panel_split = panel_split;
|
||||
vtable->panel_set_split = panel_set_split;
|
||||
vtable->panel_swap_children = panel_swap_children;
|
||||
vtable->panel_get_root = panel_get_root;
|
||||
vtable->panel_get_parent = panel_get_parent;
|
||||
vtable->panel_get_child = panel_get_child;
|
||||
vtable->view_close = view_close;
|
||||
vtable->view_get_buffer_region = view_get_buffer_region;
|
||||
vtable->view_get_buffer_scroll = view_get_buffer_scroll;
|
||||
vtable->view_set_active = view_set_active;
|
||||
vtable->view_enqueue_command_function = view_enqueue_command_function;
|
||||
vtable->view_get_setting = view_get_setting;
|
||||
vtable->view_set_setting = view_set_setting;
|
||||
vtable->view_get_managed_scope = view_get_managed_scope;
|
||||
vtable->buffer_compute_cursor = buffer_compute_cursor;
|
||||
vtable->view_compute_cursor = view_compute_cursor;
|
||||
vtable->view_set_camera_bounds = view_set_camera_bounds;
|
||||
vtable->view_get_camera_bounds = view_get_camera_bounds;
|
||||
vtable->view_set_cursor = view_set_cursor;
|
||||
vtable->view_set_buffer_scroll = view_set_buffer_scroll;
|
||||
vtable->view_set_mark = view_set_mark;
|
||||
vtable->view_quit_ui = view_quit_ui;
|
||||
vtable->view_set_buffer = view_set_buffer;
|
||||
vtable->view_push_context = view_push_context;
|
||||
vtable->view_pop_context = view_pop_context;
|
||||
vtable->view_alter_context = view_alter_context;
|
||||
vtable->view_current_context = view_current_context;
|
||||
vtable->view_current_context_hook_memory = view_current_context_hook_memory;
|
||||
vtable->create_user_managed_scope = create_user_managed_scope;
|
||||
vtable->destroy_user_managed_scope = destroy_user_managed_scope;
|
||||
vtable->get_global_managed_scope = get_global_managed_scope;
|
||||
vtable->get_managed_scope_with_multiple_dependencies = get_managed_scope_with_multiple_dependencies;
|
||||
vtable->managed_scope_clear_contents = managed_scope_clear_contents;
|
||||
vtable->managed_scope_clear_self_all_dependent_scopes = managed_scope_clear_self_all_dependent_scopes;
|
||||
vtable->managed_scope_allocator = managed_scope_allocator;
|
||||
vtable->managed_id_group_highest_id = managed_id_group_highest_id;
|
||||
vtable->managed_id_declare = managed_id_declare;
|
||||
vtable->managed_id_get = managed_id_get;
|
||||
vtable->managed_scope_get_attachment = managed_scope_get_attachment;
|
||||
vtable->managed_scope_attachment_erase = managed_scope_attachment_erase;
|
||||
vtable->alloc_managed_memory_in_scope = alloc_managed_memory_in_scope;
|
||||
vtable->alloc_buffer_markers_on_buffer = alloc_buffer_markers_on_buffer;
|
||||
vtable->managed_object_get_item_size = managed_object_get_item_size;
|
||||
vtable->managed_object_get_item_count = managed_object_get_item_count;
|
||||
vtable->managed_object_get_pointer = managed_object_get_pointer;
|
||||
vtable->managed_object_get_type = managed_object_get_type;
|
||||
vtable->managed_object_get_containing_scope = managed_object_get_containing_scope;
|
||||
vtable->managed_object_free = managed_object_free;
|
||||
vtable->managed_object_store_data = managed_object_store_data;
|
||||
vtable->managed_object_load_data = managed_object_load_data;
|
||||
vtable->get_next_input_raw = get_next_input_raw;
|
||||
vtable->get_current_input_sequence_number = get_current_input_sequence_number;
|
||||
vtable->get_current_input = get_current_input;
|
||||
vtable->set_current_input = set_current_input;
|
||||
vtable->leave_current_input_unhandled = leave_current_input_unhandled;
|
||||
vtable->set_custom_hook = set_custom_hook;
|
||||
vtable->get_custom_hook = get_custom_hook;
|
||||
vtable->set_custom_hook_memory_size = set_custom_hook_memory_size;
|
||||
vtable->get_mouse_state = get_mouse_state;
|
||||
vtable->get_active_query_bars = get_active_query_bars;
|
||||
vtable->start_query_bar = start_query_bar;
|
||||
vtable->end_query_bar = end_query_bar;
|
||||
vtable->clear_all_query_bars = clear_all_query_bars;
|
||||
vtable->print_message = print_message;
|
||||
vtable->log_string = log_string;
|
||||
vtable->get_largest_face_id = get_largest_face_id;
|
||||
vtable->set_global_face = set_global_face;
|
||||
vtable->buffer_history_get_max_record_index = buffer_history_get_max_record_index;
|
||||
vtable->buffer_history_get_record_info = buffer_history_get_record_info;
|
||||
vtable->buffer_history_get_group_sub_record = buffer_history_get_group_sub_record;
|
||||
vtable->buffer_history_get_current_state_index = buffer_history_get_current_state_index;
|
||||
vtable->buffer_history_set_current_state_index = buffer_history_set_current_state_index;
|
||||
vtable->buffer_history_merge_record_range = buffer_history_merge_record_range;
|
||||
vtable->buffer_history_clear_after_current_state = buffer_history_clear_after_current_state;
|
||||
vtable->global_history_edit_group_begin = global_history_edit_group_begin;
|
||||
vtable->global_history_edit_group_end = global_history_edit_group_end;
|
||||
vtable->buffer_set_face = buffer_set_face;
|
||||
vtable->get_face_description = get_face_description;
|
||||
vtable->get_face_metrics = get_face_metrics;
|
||||
vtable->get_face_advance_map = get_face_advance_map;
|
||||
vtable->get_face_id = get_face_id;
|
||||
vtable->try_create_new_face = try_create_new_face;
|
||||
vtable->try_modify_face = try_modify_face;
|
||||
vtable->try_release_face = try_release_face;
|
||||
vtable->push_hot_directory = push_hot_directory;
|
||||
vtable->set_hot_directory = set_hot_directory;
|
||||
vtable->send_exit_signal = send_exit_signal;
|
||||
vtable->hard_exit = hard_exit;
|
||||
vtable->set_window_title = set_window_title;
|
||||
vtable->acquire_global_frame_mutex = acquire_global_frame_mutex;
|
||||
vtable->release_global_frame_mutex = release_global_frame_mutex;
|
||||
vtable->draw_string_oriented = draw_string_oriented;
|
||||
vtable->get_string_advance = get_string_advance;
|
||||
vtable->draw_rectangle = draw_rectangle;
|
||||
vtable->draw_rectangle_outline = draw_rectangle_outline;
|
||||
vtable->draw_set_clip = draw_set_clip;
|
||||
vtable->text_layout_create = text_layout_create;
|
||||
vtable->text_layout_region = text_layout_region;
|
||||
vtable->text_layout_get_buffer = text_layout_get_buffer;
|
||||
vtable->text_layout_get_visible_range = text_layout_get_visible_range;
|
||||
vtable->text_layout_line_on_screen = text_layout_line_on_screen;
|
||||
vtable->text_layout_character_on_screen = text_layout_character_on_screen;
|
||||
vtable->paint_text_color = paint_text_color;
|
||||
vtable->paint_text_color_blend = paint_text_color_blend;
|
||||
vtable->text_layout_free = text_layout_free;
|
||||
vtable->draw_text_layout = draw_text_layout;
|
||||
vtable->open_color_picker = open_color_picker;
|
||||
vtable->animate_in_n_milliseconds = animate_in_n_milliseconds;
|
||||
vtable->buffer_find_all_matches = buffer_find_all_matches;
|
||||
vtable->get_core_profile_list = get_core_profile_list;
|
||||
vtable->get_custom_layer_boundary_docs = get_custom_layer_boundary_docs;
|
||||
}
|
||||
|
||||
#if defined(DYNAMIC_LINK_API)
|
||||
function void
|
||||
custom_api_read_vtable(API_VTable_custom *vtable){
|
||||
global_set_setting = vtable->global_set_setting;
|
||||
global_get_screen_rectangle = vtable->global_get_screen_rectangle;
|
||||
get_thread_context = vtable->get_thread_context;
|
||||
create_child_process = vtable->create_child_process;
|
||||
child_process_set_target_buffer = vtable->child_process_set_target_buffer;
|
||||
buffer_get_attached_child_process = vtable->buffer_get_attached_child_process;
|
||||
child_process_get_attached_buffer = vtable->child_process_get_attached_buffer;
|
||||
child_process_get_state = vtable->child_process_get_state;
|
||||
enqueue_virtual_event = vtable->enqueue_virtual_event;
|
||||
get_buffer_count = vtable->get_buffer_count;
|
||||
get_buffer_next = vtable->get_buffer_next;
|
||||
get_buffer_by_name = vtable->get_buffer_by_name;
|
||||
get_buffer_by_file_name = vtable->get_buffer_by_file_name;
|
||||
buffer_read_range = vtable->buffer_read_range;
|
||||
buffer_replace_range = vtable->buffer_replace_range;
|
||||
buffer_batch_edit = vtable->buffer_batch_edit;
|
||||
buffer_seek_string = vtable->buffer_seek_string;
|
||||
buffer_seek_character_class = vtable->buffer_seek_character_class;
|
||||
buffer_line_y_difference = vtable->buffer_line_y_difference;
|
||||
buffer_line_shift_y = vtable->buffer_line_shift_y;
|
||||
buffer_pos_at_relative_xy = vtable->buffer_pos_at_relative_xy;
|
||||
buffer_relative_box_of_pos = vtable->buffer_relative_box_of_pos;
|
||||
buffer_padded_box_of_pos = vtable->buffer_padded_box_of_pos;
|
||||
buffer_relative_character_from_pos = vtable->buffer_relative_character_from_pos;
|
||||
buffer_pos_from_relative_character = vtable->buffer_pos_from_relative_character;
|
||||
view_line_y_difference = vtable->view_line_y_difference;
|
||||
view_line_shift_y = vtable->view_line_shift_y;
|
||||
view_pos_at_relative_xy = vtable->view_pos_at_relative_xy;
|
||||
view_relative_box_of_pos = vtable->view_relative_box_of_pos;
|
||||
view_padded_box_of_pos = vtable->view_padded_box_of_pos;
|
||||
view_relative_character_from_pos = vtable->view_relative_character_from_pos;
|
||||
view_pos_from_relative_character = vtable->view_pos_from_relative_character;
|
||||
buffer_exists = vtable->buffer_exists;
|
||||
buffer_get_access_flags = vtable->buffer_get_access_flags;
|
||||
buffer_get_size = vtable->buffer_get_size;
|
||||
buffer_get_line_count = vtable->buffer_get_line_count;
|
||||
push_buffer_base_name = vtable->push_buffer_base_name;
|
||||
push_buffer_unique_name = vtable->push_buffer_unique_name;
|
||||
push_buffer_file_name = vtable->push_buffer_file_name;
|
||||
buffer_get_dirty_state = vtable->buffer_get_dirty_state;
|
||||
buffer_set_dirty_state = vtable->buffer_set_dirty_state;
|
||||
buffer_set_layout = vtable->buffer_set_layout;
|
||||
buffer_clear_layout_cache = vtable->buffer_clear_layout_cache;
|
||||
buffer_get_layout = vtable->buffer_get_layout;
|
||||
buffer_get_setting = vtable->buffer_get_setting;
|
||||
buffer_set_setting = vtable->buffer_set_setting;
|
||||
buffer_get_managed_scope = vtable->buffer_get_managed_scope;
|
||||
buffer_send_end_signal = vtable->buffer_send_end_signal;
|
||||
create_buffer = vtable->create_buffer;
|
||||
buffer_save = vtable->buffer_save;
|
||||
buffer_kill = vtable->buffer_kill;
|
||||
buffer_reopen = vtable->buffer_reopen;
|
||||
buffer_get_file_attributes = vtable->buffer_get_file_attributes;
|
||||
get_view_next = vtable->get_view_next;
|
||||
get_view_prev = vtable->get_view_prev;
|
||||
get_this_ctx_view = vtable->get_this_ctx_view;
|
||||
get_active_view = vtable->get_active_view;
|
||||
view_exists = vtable->view_exists;
|
||||
view_get_buffer = vtable->view_get_buffer;
|
||||
view_get_cursor_pos = vtable->view_get_cursor_pos;
|
||||
view_get_mark_pos = vtable->view_get_mark_pos;
|
||||
view_get_preferred_x = vtable->view_get_preferred_x;
|
||||
view_set_preferred_x = vtable->view_set_preferred_x;
|
||||
view_get_screen_rect = vtable->view_get_screen_rect;
|
||||
view_get_panel = vtable->view_get_panel;
|
||||
panel_get_view = vtable->panel_get_view;
|
||||
panel_is_split = vtable->panel_is_split;
|
||||
panel_is_leaf = vtable->panel_is_leaf;
|
||||
panel_split = vtable->panel_split;
|
||||
panel_set_split = vtable->panel_set_split;
|
||||
panel_swap_children = vtable->panel_swap_children;
|
||||
panel_get_root = vtable->panel_get_root;
|
||||
panel_get_parent = vtable->panel_get_parent;
|
||||
panel_get_child = vtable->panel_get_child;
|
||||
view_close = vtable->view_close;
|
||||
view_get_buffer_region = vtable->view_get_buffer_region;
|
||||
view_get_buffer_scroll = vtable->view_get_buffer_scroll;
|
||||
view_set_active = vtable->view_set_active;
|
||||
view_enqueue_command_function = vtable->view_enqueue_command_function;
|
||||
view_get_setting = vtable->view_get_setting;
|
||||
view_set_setting = vtable->view_set_setting;
|
||||
view_get_managed_scope = vtable->view_get_managed_scope;
|
||||
buffer_compute_cursor = vtable->buffer_compute_cursor;
|
||||
view_compute_cursor = vtable->view_compute_cursor;
|
||||
view_set_camera_bounds = vtable->view_set_camera_bounds;
|
||||
view_get_camera_bounds = vtable->view_get_camera_bounds;
|
||||
view_set_cursor = vtable->view_set_cursor;
|
||||
view_set_buffer_scroll = vtable->view_set_buffer_scroll;
|
||||
view_set_mark = vtable->view_set_mark;
|
||||
view_quit_ui = vtable->view_quit_ui;
|
||||
view_set_buffer = vtable->view_set_buffer;
|
||||
view_push_context = vtable->view_push_context;
|
||||
view_pop_context = vtable->view_pop_context;
|
||||
view_alter_context = vtable->view_alter_context;
|
||||
view_current_context = vtable->view_current_context;
|
||||
view_current_context_hook_memory = vtable->view_current_context_hook_memory;
|
||||
create_user_managed_scope = vtable->create_user_managed_scope;
|
||||
destroy_user_managed_scope = vtable->destroy_user_managed_scope;
|
||||
get_global_managed_scope = vtable->get_global_managed_scope;
|
||||
get_managed_scope_with_multiple_dependencies = vtable->get_managed_scope_with_multiple_dependencies;
|
||||
managed_scope_clear_contents = vtable->managed_scope_clear_contents;
|
||||
managed_scope_clear_self_all_dependent_scopes = vtable->managed_scope_clear_self_all_dependent_scopes;
|
||||
managed_scope_allocator = vtable->managed_scope_allocator;
|
||||
managed_id_group_highest_id = vtable->managed_id_group_highest_id;
|
||||
managed_id_declare = vtable->managed_id_declare;
|
||||
managed_id_get = vtable->managed_id_get;
|
||||
managed_scope_get_attachment = vtable->managed_scope_get_attachment;
|
||||
managed_scope_attachment_erase = vtable->managed_scope_attachment_erase;
|
||||
alloc_managed_memory_in_scope = vtable->alloc_managed_memory_in_scope;
|
||||
alloc_buffer_markers_on_buffer = vtable->alloc_buffer_markers_on_buffer;
|
||||
managed_object_get_item_size = vtable->managed_object_get_item_size;
|
||||
managed_object_get_item_count = vtable->managed_object_get_item_count;
|
||||
managed_object_get_pointer = vtable->managed_object_get_pointer;
|
||||
managed_object_get_type = vtable->managed_object_get_type;
|
||||
managed_object_get_containing_scope = vtable->managed_object_get_containing_scope;
|
||||
managed_object_free = vtable->managed_object_free;
|
||||
managed_object_store_data = vtable->managed_object_store_data;
|
||||
managed_object_load_data = vtable->managed_object_load_data;
|
||||
get_next_input_raw = vtable->get_next_input_raw;
|
||||
get_current_input_sequence_number = vtable->get_current_input_sequence_number;
|
||||
get_current_input = vtable->get_current_input;
|
||||
set_current_input = vtable->set_current_input;
|
||||
leave_current_input_unhandled = vtable->leave_current_input_unhandled;
|
||||
set_custom_hook = vtable->set_custom_hook;
|
||||
get_custom_hook = vtable->get_custom_hook;
|
||||
set_custom_hook_memory_size = vtable->set_custom_hook_memory_size;
|
||||
get_mouse_state = vtable->get_mouse_state;
|
||||
get_active_query_bars = vtable->get_active_query_bars;
|
||||
start_query_bar = vtable->start_query_bar;
|
||||
end_query_bar = vtable->end_query_bar;
|
||||
clear_all_query_bars = vtable->clear_all_query_bars;
|
||||
print_message = vtable->print_message;
|
||||
log_string = vtable->log_string;
|
||||
get_largest_face_id = vtable->get_largest_face_id;
|
||||
set_global_face = vtable->set_global_face;
|
||||
buffer_history_get_max_record_index = vtable->buffer_history_get_max_record_index;
|
||||
buffer_history_get_record_info = vtable->buffer_history_get_record_info;
|
||||
buffer_history_get_group_sub_record = vtable->buffer_history_get_group_sub_record;
|
||||
buffer_history_get_current_state_index = vtable->buffer_history_get_current_state_index;
|
||||
buffer_history_set_current_state_index = vtable->buffer_history_set_current_state_index;
|
||||
buffer_history_merge_record_range = vtable->buffer_history_merge_record_range;
|
||||
buffer_history_clear_after_current_state = vtable->buffer_history_clear_after_current_state;
|
||||
global_history_edit_group_begin = vtable->global_history_edit_group_begin;
|
||||
global_history_edit_group_end = vtable->global_history_edit_group_end;
|
||||
buffer_set_face = vtable->buffer_set_face;
|
||||
get_face_description = vtable->get_face_description;
|
||||
get_face_metrics = vtable->get_face_metrics;
|
||||
get_face_advance_map = vtable->get_face_advance_map;
|
||||
get_face_id = vtable->get_face_id;
|
||||
try_create_new_face = vtable->try_create_new_face;
|
||||
try_modify_face = vtable->try_modify_face;
|
||||
try_release_face = vtable->try_release_face;
|
||||
push_hot_directory = vtable->push_hot_directory;
|
||||
set_hot_directory = vtable->set_hot_directory;
|
||||
send_exit_signal = vtable->send_exit_signal;
|
||||
hard_exit = vtable->hard_exit;
|
||||
set_window_title = vtable->set_window_title;
|
||||
acquire_global_frame_mutex = vtable->acquire_global_frame_mutex;
|
||||
release_global_frame_mutex = vtable->release_global_frame_mutex;
|
||||
draw_string_oriented = vtable->draw_string_oriented;
|
||||
get_string_advance = vtable->get_string_advance;
|
||||
draw_rectangle = vtable->draw_rectangle;
|
||||
draw_rectangle_outline = vtable->draw_rectangle_outline;
|
||||
draw_set_clip = vtable->draw_set_clip;
|
||||
text_layout_create = vtable->text_layout_create;
|
||||
text_layout_region = vtable->text_layout_region;
|
||||
text_layout_get_buffer = vtable->text_layout_get_buffer;
|
||||
text_layout_get_visible_range = vtable->text_layout_get_visible_range;
|
||||
text_layout_line_on_screen = vtable->text_layout_line_on_screen;
|
||||
text_layout_character_on_screen = vtable->text_layout_character_on_screen;
|
||||
paint_text_color = vtable->paint_text_color;
|
||||
paint_text_color_blend = vtable->paint_text_color_blend;
|
||||
text_layout_free = vtable->text_layout_free;
|
||||
draw_text_layout = vtable->draw_text_layout;
|
||||
open_color_picker = vtable->open_color_picker;
|
||||
animate_in_n_milliseconds = vtable->animate_in_n_milliseconds;
|
||||
buffer_find_all_matches = vtable->buffer_find_all_matches;
|
||||
get_core_profile_list = vtable->get_core_profile_list;
|
||||
get_custom_layer_boundary_docs = vtable->get_custom_layer_boundary_docs;
|
||||
}
|
||||
#undef DYNAMIC_LINK_API
|
||||
#endif
|
|
@ -1,908 +0,0 @@
|
|||
/* Generated by "code/4ed_api_parser_main.exe 4ed_api_implementation.cpp" */
|
||||
|
||||
#define custom_global_set_setting_sig() b32 custom_global_set_setting(Application_Links* app, Global_Setting_ID setting, i64 value)
|
||||
#define custom_global_get_screen_rectangle_sig() Rect_f32 custom_global_get_screen_rectangle(Application_Links* app)
|
||||
#define custom_get_thread_context_sig() Thread_Context* custom_get_thread_context(Application_Links* app)
|
||||
#define custom_create_child_process_sig() Child_Process_ID custom_create_child_process(Application_Links* app, String_Const_u8 path, String_Const_u8 command)
|
||||
#define custom_child_process_set_target_buffer_sig() b32 custom_child_process_set_target_buffer(Application_Links* app, Child_Process_ID child_process_id, Buffer_ID buffer_id, Child_Process_Set_Target_Flags flags)
|
||||
#define custom_buffer_get_attached_child_process_sig() Child_Process_ID custom_buffer_get_attached_child_process(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_child_process_get_attached_buffer_sig() Buffer_ID custom_child_process_get_attached_buffer(Application_Links* app, Child_Process_ID child_process_id)
|
||||
#define custom_child_process_get_state_sig() Process_State custom_child_process_get_state(Application_Links* app, Child_Process_ID child_process_id)
|
||||
#define custom_enqueue_virtual_event_sig() b32 custom_enqueue_virtual_event(Application_Links* app, Input_Event* event)
|
||||
#define custom_get_buffer_count_sig() i32 custom_get_buffer_count(Application_Links* app)
|
||||
#define custom_get_buffer_next_sig() Buffer_ID custom_get_buffer_next(Application_Links* app, Buffer_ID buffer_id, Access_Flag access)
|
||||
#define custom_get_buffer_by_name_sig() Buffer_ID custom_get_buffer_by_name(Application_Links* app, String_Const_u8 name, Access_Flag access)
|
||||
#define custom_get_buffer_by_file_name_sig() Buffer_ID custom_get_buffer_by_file_name(Application_Links* app, String_Const_u8 file_name, Access_Flag access)
|
||||
#define custom_buffer_read_range_sig() b32 custom_buffer_read_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, u8* out)
|
||||
#define custom_buffer_replace_range_sig() b32 custom_buffer_replace_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, String_Const_u8 string)
|
||||
#define custom_buffer_batch_edit_sig() b32 custom_buffer_batch_edit(Application_Links* app, Buffer_ID buffer_id, Batch_Edit* batch)
|
||||
#define custom_buffer_seek_string_sig() String_Match custom_buffer_seek_string(Application_Links* app, Buffer_ID buffer, String_Const_u8 needle, Scan_Direction direction, i64 start_pos)
|
||||
#define custom_buffer_seek_character_class_sig() String_Match custom_buffer_seek_character_class(Application_Links* app, Buffer_ID buffer, Character_Predicate* predicate, Scan_Direction direction, i64 start_pos)
|
||||
#define custom_buffer_line_y_difference_sig() f32 custom_buffer_line_y_difference(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line_a, i64 line_b)
|
||||
#define custom_buffer_line_shift_y_sig() Line_Shift_Vertical custom_buffer_line_shift_y(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line, f32 y_shift)
|
||||
#define custom_buffer_pos_at_relative_xy_sig() i64 custom_buffer_pos_at_relative_xy(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, Vec2_f32 relative_xy)
|
||||
#define custom_buffer_relative_box_of_pos_sig() Rect_f32 custom_buffer_relative_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos)
|
||||
#define custom_buffer_padded_box_of_pos_sig() Rect_f32 custom_buffer_padded_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos)
|
||||
#define custom_buffer_relative_character_from_pos_sig() i64 custom_buffer_relative_character_from_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos)
|
||||
#define custom_buffer_pos_from_relative_character_sig() i64 custom_buffer_pos_from_relative_character(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 relative_character)
|
||||
#define custom_view_line_y_difference_sig() f32 custom_view_line_y_difference(Application_Links* app, View_ID view_id, i64 line_a, i64 line_b)
|
||||
#define custom_view_line_shift_y_sig() Line_Shift_Vertical custom_view_line_shift_y(Application_Links* app, View_ID view_id, i64 line, f32 y_shift)
|
||||
#define custom_view_pos_at_relative_xy_sig() i64 custom_view_pos_at_relative_xy(Application_Links* app, View_ID view_id, i64 base_line, Vec2_f32 relative_xy)
|
||||
#define custom_view_relative_box_of_pos_sig() Rect_f32 custom_view_relative_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos)
|
||||
#define custom_view_padded_box_of_pos_sig() Rect_f32 custom_view_padded_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos)
|
||||
#define custom_view_relative_character_from_pos_sig() i64 custom_view_relative_character_from_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos)
|
||||
#define custom_view_pos_from_relative_character_sig() i64 custom_view_pos_from_relative_character(Application_Links* app, View_ID view_id, i64 base_line, i64 character)
|
||||
#define custom_buffer_exists_sig() b32 custom_buffer_exists(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_access_flags_sig() Access_Flag custom_buffer_get_access_flags(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_size_sig() i64 custom_buffer_get_size(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_line_count_sig() i64 custom_buffer_get_line_count(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_push_buffer_base_name_sig() String_Const_u8 custom_push_buffer_base_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id)
|
||||
#define custom_push_buffer_unique_name_sig() String_Const_u8 custom_push_buffer_unique_name(Application_Links* app, Arena* out, Buffer_ID buffer_id)
|
||||
#define custom_push_buffer_file_name_sig() String_Const_u8 custom_push_buffer_file_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_dirty_state_sig() Dirty_State custom_buffer_get_dirty_state(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_set_dirty_state_sig() b32 custom_buffer_set_dirty_state(Application_Links* app, Buffer_ID buffer_id, Dirty_State dirty_state)
|
||||
#define custom_buffer_set_layout_sig() b32 custom_buffer_set_layout(Application_Links* app, Buffer_ID buffer_id, Layout_Function* layout_func)
|
||||
#define custom_buffer_clear_layout_cache_sig() b32 custom_buffer_clear_layout_cache(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_layout_sig() Layout_Function* custom_buffer_get_layout(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_get_setting_sig() b32 custom_buffer_get_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64* value_out)
|
||||
#define custom_buffer_set_setting_sig() b32 custom_buffer_set_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64 value)
|
||||
#define custom_buffer_get_managed_scope_sig() Managed_Scope custom_buffer_get_managed_scope(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_send_end_signal_sig() b32 custom_buffer_send_end_signal(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_create_buffer_sig() Buffer_ID custom_create_buffer(Application_Links* app, String_Const_u8 file_name, Buffer_Create_Flag flags)
|
||||
#define custom_buffer_save_sig() b32 custom_buffer_save(Application_Links* app, Buffer_ID buffer_id, String_Const_u8 file_name, Buffer_Save_Flag flags)
|
||||
#define custom_buffer_kill_sig() Buffer_Kill_Result custom_buffer_kill(Application_Links* app, Buffer_ID buffer_id, Buffer_Kill_Flag flags)
|
||||
#define custom_buffer_reopen_sig() Buffer_Reopen_Result custom_buffer_reopen(Application_Links* app, Buffer_ID buffer_id, Buffer_Reopen_Flag flags)
|
||||
#define custom_buffer_get_file_attributes_sig() File_Attributes custom_buffer_get_file_attributes(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_get_view_next_sig() View_ID custom_get_view_next(Application_Links* app, View_ID view_id, Access_Flag access)
|
||||
#define custom_get_view_prev_sig() View_ID custom_get_view_prev(Application_Links* app, View_ID view_id, Access_Flag access)
|
||||
#define custom_get_this_ctx_view_sig() View_ID custom_get_this_ctx_view(Application_Links* app, Access_Flag access)
|
||||
#define custom_get_active_view_sig() View_ID custom_get_active_view(Application_Links* app, Access_Flag access)
|
||||
#define custom_view_exists_sig() b32 custom_view_exists(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_buffer_sig() Buffer_ID custom_view_get_buffer(Application_Links* app, View_ID view_id, Access_Flag access)
|
||||
#define custom_view_get_cursor_pos_sig() i64 custom_view_get_cursor_pos(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_mark_pos_sig() i64 custom_view_get_mark_pos(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_preferred_x_sig() f32 custom_view_get_preferred_x(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_set_preferred_x_sig() b32 custom_view_set_preferred_x(Application_Links* app, View_ID view_id, f32 x)
|
||||
#define custom_view_get_screen_rect_sig() Rect_f32 custom_view_get_screen_rect(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_panel_sig() Panel_ID custom_view_get_panel(Application_Links* app, View_ID view_id)
|
||||
#define custom_panel_get_view_sig() View_ID custom_panel_get_view(Application_Links* app, Panel_ID panel_id, Access_Flag access)
|
||||
#define custom_panel_is_split_sig() b32 custom_panel_is_split(Application_Links* app, Panel_ID panel_id)
|
||||
#define custom_panel_is_leaf_sig() b32 custom_panel_is_leaf(Application_Links* app, Panel_ID panel_id)
|
||||
#define custom_panel_split_sig() b32 custom_panel_split(Application_Links* app, Panel_ID panel_id, Dimension split_dim)
|
||||
#define custom_panel_set_split_sig() b32 custom_panel_set_split(Application_Links* app, Panel_ID panel_id, Panel_Split_Kind kind, f32 t)
|
||||
#define custom_panel_swap_children_sig() b32 custom_panel_swap_children(Application_Links* app, Panel_ID panel_id)
|
||||
#define custom_panel_get_root_sig() Panel_ID custom_panel_get_root(Application_Links* app)
|
||||
#define custom_panel_get_parent_sig() Panel_ID custom_panel_get_parent(Application_Links* app, Panel_ID panel_id)
|
||||
#define custom_panel_get_child_sig() Panel_ID custom_panel_get_child(Application_Links* app, Panel_ID panel_id, Side which_child)
|
||||
#define custom_view_close_sig() b32 custom_view_close(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_buffer_region_sig() Rect_f32 custom_view_get_buffer_region(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_get_buffer_scroll_sig() Buffer_Scroll custom_view_get_buffer_scroll(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_set_active_sig() b32 custom_view_set_active(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_enqueue_command_function_sig() b32 custom_view_enqueue_command_function(Application_Links* app, View_ID view_id, Custom_Command_Function* custom_func)
|
||||
#define custom_view_get_setting_sig() b32 custom_view_get_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64* value_out)
|
||||
#define custom_view_set_setting_sig() b32 custom_view_set_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64 value)
|
||||
#define custom_view_get_managed_scope_sig() Managed_Scope custom_view_get_managed_scope(Application_Links* app, View_ID view_id)
|
||||
#define custom_buffer_compute_cursor_sig() Buffer_Cursor custom_buffer_compute_cursor(Application_Links* app, Buffer_ID buffer, Buffer_Seek seek)
|
||||
#define custom_view_compute_cursor_sig() Buffer_Cursor custom_view_compute_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek)
|
||||
#define custom_view_set_camera_bounds_sig() b32 custom_view_set_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32 margin, Vec2_f32 push_in_multiplier)
|
||||
#define custom_view_get_camera_bounds_sig() b32 custom_view_get_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32* margin, Vec2_f32* push_in_multiplier)
|
||||
#define custom_view_set_cursor_sig() b32 custom_view_set_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek)
|
||||
#define custom_view_set_buffer_scroll_sig() b32 custom_view_set_buffer_scroll(Application_Links* app, View_ID view_id, Buffer_Scroll scroll, Set_Buffer_Scroll_Rule rule)
|
||||
#define custom_view_set_mark_sig() b32 custom_view_set_mark(Application_Links* app, View_ID view_id, Buffer_Seek seek)
|
||||
#define custom_view_quit_ui_sig() b32 custom_view_quit_ui(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_set_buffer_sig() b32 custom_view_set_buffer(Application_Links* app, View_ID view_id, Buffer_ID buffer_id, Set_Buffer_Flag flags)
|
||||
#define custom_view_push_context_sig() b32 custom_view_push_context(Application_Links* app, View_ID view_id, View_Context* ctx)
|
||||
#define custom_view_pop_context_sig() b32 custom_view_pop_context(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_alter_context_sig() b32 custom_view_alter_context(Application_Links* app, View_ID view_id, View_Context* ctx)
|
||||
#define custom_view_current_context_sig() View_Context custom_view_current_context(Application_Links* app, View_ID view_id)
|
||||
#define custom_view_current_context_hook_memory_sig() String_Const_u8 custom_view_current_context_hook_memory(Application_Links* app, View_ID view_id, Hook_ID hook_id)
|
||||
#define custom_create_user_managed_scope_sig() Managed_Scope custom_create_user_managed_scope(Application_Links* app)
|
||||
#define custom_destroy_user_managed_scope_sig() b32 custom_destroy_user_managed_scope(Application_Links* app, Managed_Scope scope)
|
||||
#define custom_get_global_managed_scope_sig() Managed_Scope custom_get_global_managed_scope(Application_Links* app)
|
||||
#define custom_get_managed_scope_with_multiple_dependencies_sig() Managed_Scope custom_get_managed_scope_with_multiple_dependencies(Application_Links* app, Managed_Scope* scopes, i32 count)
|
||||
#define custom_managed_scope_clear_contents_sig() b32 custom_managed_scope_clear_contents(Application_Links* app, Managed_Scope scope)
|
||||
#define custom_managed_scope_clear_self_all_dependent_scopes_sig() b32 custom_managed_scope_clear_self_all_dependent_scopes(Application_Links* app, Managed_Scope scope)
|
||||
#define custom_managed_scope_allocator_sig() Base_Allocator* custom_managed_scope_allocator(Application_Links* app, Managed_Scope scope)
|
||||
#define custom_managed_id_group_highest_id_sig() u64 custom_managed_id_group_highest_id(Application_Links* app, String_Const_u8 group)
|
||||
#define custom_managed_id_declare_sig() Managed_ID custom_managed_id_declare(Application_Links* app, String_Const_u8 group, String_Const_u8 name)
|
||||
#define custom_managed_id_get_sig() Managed_ID custom_managed_id_get(Application_Links* app, String_Const_u8 group, String_Const_u8 name)
|
||||
#define custom_managed_scope_get_attachment_sig() void* custom_managed_scope_get_attachment(Application_Links* app, Managed_Scope scope, Managed_ID id, u64 size)
|
||||
#define custom_managed_scope_attachment_erase_sig() b32 custom_managed_scope_attachment_erase(Application_Links* app, Managed_Scope scope, Managed_ID id)
|
||||
#define custom_alloc_managed_memory_in_scope_sig() Managed_Object custom_alloc_managed_memory_in_scope(Application_Links* app, Managed_Scope scope, i32 item_size, i32 count)
|
||||
#define custom_alloc_buffer_markers_on_buffer_sig() Managed_Object custom_alloc_buffer_markers_on_buffer(Application_Links* app, Buffer_ID buffer_id, i32 count, Managed_Scope* optional_extra_scope)
|
||||
#define custom_managed_object_get_item_size_sig() u32 custom_managed_object_get_item_size(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_get_item_count_sig() u32 custom_managed_object_get_item_count(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_get_pointer_sig() void* custom_managed_object_get_pointer(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_get_type_sig() Managed_Object_Type custom_managed_object_get_type(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_get_containing_scope_sig() Managed_Scope custom_managed_object_get_containing_scope(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_free_sig() b32 custom_managed_object_free(Application_Links* app, Managed_Object object)
|
||||
#define custom_managed_object_store_data_sig() b32 custom_managed_object_store_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem)
|
||||
#define custom_managed_object_load_data_sig() b32 custom_managed_object_load_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem_out)
|
||||
#define custom_get_next_input_raw_sig() User_Input custom_get_next_input_raw(Application_Links* app)
|
||||
#define custom_get_current_input_sequence_number_sig() i64 custom_get_current_input_sequence_number(Application_Links* app)
|
||||
#define custom_get_current_input_sig() User_Input custom_get_current_input(Application_Links* app)
|
||||
#define custom_set_current_input_sig() void custom_set_current_input(Application_Links* app, User_Input* input)
|
||||
#define custom_leave_current_input_unhandled_sig() void custom_leave_current_input_unhandled(Application_Links* app)
|
||||
#define custom_set_custom_hook_sig() void custom_set_custom_hook(Application_Links* app, Hook_ID hook_id, Void_Func* func_ptr)
|
||||
#define custom_get_custom_hook_sig() Void_Func* custom_get_custom_hook(Application_Links* app, Hook_ID hook_id)
|
||||
#define custom_set_custom_hook_memory_size_sig() b32 custom_set_custom_hook_memory_size(Application_Links* app, Hook_ID hook_id, u64 size)
|
||||
#define custom_get_mouse_state_sig() Mouse_State custom_get_mouse_state(Application_Links* app)
|
||||
#define custom_get_active_query_bars_sig() b32 custom_get_active_query_bars(Application_Links* app, View_ID view_id, i32 max_result_count, Query_Bar_Ptr_Array* array_out)
|
||||
#define custom_start_query_bar_sig() b32 custom_start_query_bar(Application_Links* app, Query_Bar* bar, u32 flags)
|
||||
#define custom_end_query_bar_sig() void custom_end_query_bar(Application_Links* app, Query_Bar* bar, u32 flags)
|
||||
#define custom_clear_all_query_bars_sig() void custom_clear_all_query_bars(Application_Links* app, View_ID view_id)
|
||||
#define custom_print_message_sig() void custom_print_message(Application_Links* app, String_Const_u8 message)
|
||||
#define custom_log_string_sig() b32 custom_log_string(Application_Links* app, String_Const_u8 str)
|
||||
#define custom_get_largest_face_id_sig() Face_ID custom_get_largest_face_id(Application_Links* app)
|
||||
#define custom_set_global_face_sig() b32 custom_set_global_face(Application_Links* app, Face_ID id)
|
||||
#define custom_buffer_history_get_max_record_index_sig() History_Record_Index custom_buffer_history_get_max_record_index(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_history_get_record_info_sig() Record_Info custom_buffer_history_get_record_info(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index)
|
||||
#define custom_buffer_history_get_group_sub_record_sig() Record_Info custom_buffer_history_get_group_sub_record(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index, i32 sub_index)
|
||||
#define custom_buffer_history_get_current_state_index_sig() History_Record_Index custom_buffer_history_get_current_state_index(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_buffer_history_set_current_state_index_sig() b32 custom_buffer_history_set_current_state_index(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index)
|
||||
#define custom_buffer_history_merge_record_range_sig() b32 custom_buffer_history_merge_record_range(Application_Links* app, Buffer_ID buffer_id, History_Record_Index first_index, History_Record_Index last_index, Record_Merge_Flag flags)
|
||||
#define custom_buffer_history_clear_after_current_state_sig() b32 custom_buffer_history_clear_after_current_state(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_global_history_edit_group_begin_sig() void custom_global_history_edit_group_begin(Application_Links* app)
|
||||
#define custom_global_history_edit_group_end_sig() void custom_global_history_edit_group_end(Application_Links* app)
|
||||
#define custom_buffer_set_face_sig() b32 custom_buffer_set_face(Application_Links* app, Buffer_ID buffer_id, Face_ID id)
|
||||
#define custom_get_face_description_sig() Face_Description custom_get_face_description(Application_Links* app, Face_ID face_id)
|
||||
#define custom_get_face_metrics_sig() Face_Metrics custom_get_face_metrics(Application_Links* app, Face_ID face_id)
|
||||
#define custom_get_face_advance_map_sig() Face_Advance_Map custom_get_face_advance_map(Application_Links* app, Face_ID face_id)
|
||||
#define custom_get_face_id_sig() Face_ID custom_get_face_id(Application_Links* app, Buffer_ID buffer_id)
|
||||
#define custom_try_create_new_face_sig() Face_ID custom_try_create_new_face(Application_Links* app, Face_Description* description)
|
||||
#define custom_try_modify_face_sig() b32 custom_try_modify_face(Application_Links* app, Face_ID id, Face_Description* description)
|
||||
#define custom_try_release_face_sig() b32 custom_try_release_face(Application_Links* app, Face_ID id, Face_ID replacement_id)
|
||||
#define custom_push_hot_directory_sig() String_Const_u8 custom_push_hot_directory(Application_Links* app, Arena* arena)
|
||||
#define custom_set_hot_directory_sig() void custom_set_hot_directory(Application_Links* app, String_Const_u8 string)
|
||||
#define custom_send_exit_signal_sig() void custom_send_exit_signal(Application_Links* app)
|
||||
#define custom_hard_exit_sig() void custom_hard_exit(Application_Links* app)
|
||||
#define custom_set_window_title_sig() void custom_set_window_title(Application_Links* app, String_Const_u8 title)
|
||||
#define custom_acquire_global_frame_mutex_sig() void custom_acquire_global_frame_mutex(Application_Links* app)
|
||||
#define custom_release_global_frame_mutex_sig() void custom_release_global_frame_mutex(Application_Links* app)
|
||||
#define custom_draw_string_oriented_sig() Vec2_f32 custom_draw_string_oriented(Application_Links* app, Face_ID font_id, ARGB_Color color, String_Const_u8 str, Vec2_f32 point, u32 flags, Vec2_f32 delta)
|
||||
#define custom_get_string_advance_sig() f32 custom_get_string_advance(Application_Links* app, Face_ID font_id, String_Const_u8 str)
|
||||
#define custom_draw_rectangle_sig() void custom_draw_rectangle(Application_Links* app, Rect_f32 rect, f32 roundness, ARGB_Color color)
|
||||
#define custom_draw_rectangle_outline_sig() void custom_draw_rectangle_outline(Application_Links* app, Rect_f32 rect, f32 roundness, f32 thickness, ARGB_Color color)
|
||||
#define custom_draw_set_clip_sig() Rect_f32 custom_draw_set_clip(Application_Links* app, Rect_f32 new_clip)
|
||||
#define custom_text_layout_create_sig() Text_Layout_ID custom_text_layout_create(Application_Links* app, Buffer_ID buffer_id, Rect_f32 rect, Buffer_Point buffer_point)
|
||||
#define custom_text_layout_region_sig() Rect_f32 custom_text_layout_region(Application_Links* app, Text_Layout_ID text_layout_id)
|
||||
#define custom_text_layout_get_buffer_sig() Buffer_ID custom_text_layout_get_buffer(Application_Links* app, Text_Layout_ID text_layout_id)
|
||||
#define custom_text_layout_get_visible_range_sig() Range_i64 custom_text_layout_get_visible_range(Application_Links* app, Text_Layout_ID text_layout_id)
|
||||
#define custom_text_layout_line_on_screen_sig() Range_f32 custom_text_layout_line_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 line_number)
|
||||
#define custom_text_layout_character_on_screen_sig() Rect_f32 custom_text_layout_character_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 pos)
|
||||
#define custom_paint_text_color_sig() void custom_paint_text_color(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color)
|
||||
#define custom_paint_text_color_blend_sig() void custom_paint_text_color_blend(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color, f32 blend)
|
||||
#define custom_text_layout_free_sig() b32 custom_text_layout_free(Application_Links* app, Text_Layout_ID text_layout_id)
|
||||
#define custom_draw_text_layout_sig() void custom_draw_text_layout(Application_Links* app, Text_Layout_ID layout_id, ARGB_Color special_color, ARGB_Color ghost_color)
|
||||
#define custom_open_color_picker_sig() void custom_open_color_picker(Application_Links* app, Color_Picker* picker)
|
||||
#define custom_animate_in_n_milliseconds_sig() void custom_animate_in_n_milliseconds(Application_Links* app, u32 n)
|
||||
#define custom_buffer_find_all_matches_sig() String_Match_List custom_buffer_find_all_matches(Application_Links* app, Arena* arena, Buffer_ID buffer, i32 string_id, Range_i64 range, String_Const_u8 needle, Character_Predicate* predicate, Scan_Direction direction)
|
||||
#define custom_get_core_profile_list_sig() Profile_Global_List* custom_get_core_profile_list(Application_Links* app)
|
||||
#define custom_get_custom_layer_boundary_docs_sig() Doc_Cluster* custom_get_custom_layer_boundary_docs(Application_Links* app, Arena* arena)
|
||||
|
||||
typedef b32 custom_global_set_setting_type(Application_Links* app, Global_Setting_ID setting, i64 value);
|
||||
typedef Rect_f32 custom_global_get_screen_rectangle_type(Application_Links* app);
|
||||
typedef Thread_Context* custom_get_thread_context_type(Application_Links* app);
|
||||
typedef Child_Process_ID custom_create_child_process_type(Application_Links* app, String_Const_u8 path, String_Const_u8 command);
|
||||
typedef b32 custom_child_process_set_target_buffer_type(Application_Links* app, Child_Process_ID child_process_id, Buffer_ID buffer_id, Child_Process_Set_Target_Flags flags);
|
||||
typedef Child_Process_ID custom_buffer_get_attached_child_process_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Buffer_ID custom_child_process_get_attached_buffer_type(Application_Links* app, Child_Process_ID child_process_id);
|
||||
typedef Process_State custom_child_process_get_state_type(Application_Links* app, Child_Process_ID child_process_id);
|
||||
typedef b32 custom_enqueue_virtual_event_type(Application_Links* app, Input_Event* event);
|
||||
typedef i32 custom_get_buffer_count_type(Application_Links* app);
|
||||
typedef Buffer_ID custom_get_buffer_next_type(Application_Links* app, Buffer_ID buffer_id, Access_Flag access);
|
||||
typedef Buffer_ID custom_get_buffer_by_name_type(Application_Links* app, String_Const_u8 name, Access_Flag access);
|
||||
typedef Buffer_ID custom_get_buffer_by_file_name_type(Application_Links* app, String_Const_u8 file_name, Access_Flag access);
|
||||
typedef b32 custom_buffer_read_range_type(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, u8* out);
|
||||
typedef b32 custom_buffer_replace_range_type(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, String_Const_u8 string);
|
||||
typedef b32 custom_buffer_batch_edit_type(Application_Links* app, Buffer_ID buffer_id, Batch_Edit* batch);
|
||||
typedef String_Match custom_buffer_seek_string_type(Application_Links* app, Buffer_ID buffer, String_Const_u8 needle, Scan_Direction direction, i64 start_pos);
|
||||
typedef String_Match custom_buffer_seek_character_class_type(Application_Links* app, Buffer_ID buffer, Character_Predicate* predicate, Scan_Direction direction, i64 start_pos);
|
||||
typedef f32 custom_buffer_line_y_difference_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line_a, i64 line_b);
|
||||
typedef Line_Shift_Vertical custom_buffer_line_shift_y_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line, f32 y_shift);
|
||||
typedef i64 custom_buffer_pos_at_relative_xy_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
typedef Rect_f32 custom_buffer_relative_box_of_pos_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
typedef Rect_f32 custom_buffer_padded_box_of_pos_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
typedef i64 custom_buffer_relative_character_from_pos_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
typedef i64 custom_buffer_pos_from_relative_character_type(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 relative_character);
|
||||
typedef f32 custom_view_line_y_difference_type(Application_Links* app, View_ID view_id, i64 line_a, i64 line_b);
|
||||
typedef Line_Shift_Vertical custom_view_line_shift_y_type(Application_Links* app, View_ID view_id, i64 line, f32 y_shift);
|
||||
typedef i64 custom_view_pos_at_relative_xy_type(Application_Links* app, View_ID view_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
typedef Rect_f32 custom_view_relative_box_of_pos_type(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
typedef Rect_f32 custom_view_padded_box_of_pos_type(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
typedef i64 custom_view_relative_character_from_pos_type(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
typedef i64 custom_view_pos_from_relative_character_type(Application_Links* app, View_ID view_id, i64 base_line, i64 character);
|
||||
typedef b32 custom_buffer_exists_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Access_Flag custom_buffer_get_access_flags_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef i64 custom_buffer_get_size_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef i64 custom_buffer_get_line_count_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef String_Const_u8 custom_push_buffer_base_name_type(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
typedef String_Const_u8 custom_push_buffer_unique_name_type(Application_Links* app, Arena* out, Buffer_ID buffer_id);
|
||||
typedef String_Const_u8 custom_push_buffer_file_name_type(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
typedef Dirty_State custom_buffer_get_dirty_state_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef b32 custom_buffer_set_dirty_state_type(Application_Links* app, Buffer_ID buffer_id, Dirty_State dirty_state);
|
||||
typedef b32 custom_buffer_set_layout_type(Application_Links* app, Buffer_ID buffer_id, Layout_Function* layout_func);
|
||||
typedef b32 custom_buffer_clear_layout_cache_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Layout_Function* custom_buffer_get_layout_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef b32 custom_buffer_get_setting_type(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64* value_out);
|
||||
typedef b32 custom_buffer_set_setting_type(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64 value);
|
||||
typedef Managed_Scope custom_buffer_get_managed_scope_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef b32 custom_buffer_send_end_signal_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Buffer_ID custom_create_buffer_type(Application_Links* app, String_Const_u8 file_name, Buffer_Create_Flag flags);
|
||||
typedef b32 custom_buffer_save_type(Application_Links* app, Buffer_ID buffer_id, String_Const_u8 file_name, Buffer_Save_Flag flags);
|
||||
typedef Buffer_Kill_Result custom_buffer_kill_type(Application_Links* app, Buffer_ID buffer_id, Buffer_Kill_Flag flags);
|
||||
typedef Buffer_Reopen_Result custom_buffer_reopen_type(Application_Links* app, Buffer_ID buffer_id, Buffer_Reopen_Flag flags);
|
||||
typedef File_Attributes custom_buffer_get_file_attributes_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef View_ID custom_get_view_next_type(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
typedef View_ID custom_get_view_prev_type(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
typedef View_ID custom_get_this_ctx_view_type(Application_Links* app, Access_Flag access);
|
||||
typedef View_ID custom_get_active_view_type(Application_Links* app, Access_Flag access);
|
||||
typedef b32 custom_view_exists_type(Application_Links* app, View_ID view_id);
|
||||
typedef Buffer_ID custom_view_get_buffer_type(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
typedef i64 custom_view_get_cursor_pos_type(Application_Links* app, View_ID view_id);
|
||||
typedef i64 custom_view_get_mark_pos_type(Application_Links* app, View_ID view_id);
|
||||
typedef f32 custom_view_get_preferred_x_type(Application_Links* app, View_ID view_id);
|
||||
typedef b32 custom_view_set_preferred_x_type(Application_Links* app, View_ID view_id, f32 x);
|
||||
typedef Rect_f32 custom_view_get_screen_rect_type(Application_Links* app, View_ID view_id);
|
||||
typedef Panel_ID custom_view_get_panel_type(Application_Links* app, View_ID view_id);
|
||||
typedef View_ID custom_panel_get_view_type(Application_Links* app, Panel_ID panel_id, Access_Flag access);
|
||||
typedef b32 custom_panel_is_split_type(Application_Links* app, Panel_ID panel_id);
|
||||
typedef b32 custom_panel_is_leaf_type(Application_Links* app, Panel_ID panel_id);
|
||||
typedef b32 custom_panel_split_type(Application_Links* app, Panel_ID panel_id, Dimension split_dim);
|
||||
typedef b32 custom_panel_set_split_type(Application_Links* app, Panel_ID panel_id, Panel_Split_Kind kind, f32 t);
|
||||
typedef b32 custom_panel_swap_children_type(Application_Links* app, Panel_ID panel_id);
|
||||
typedef Panel_ID custom_panel_get_root_type(Application_Links* app);
|
||||
typedef Panel_ID custom_panel_get_parent_type(Application_Links* app, Panel_ID panel_id);
|
||||
typedef Panel_ID custom_panel_get_child_type(Application_Links* app, Panel_ID panel_id, Side which_child);
|
||||
typedef b32 custom_view_close_type(Application_Links* app, View_ID view_id);
|
||||
typedef Rect_f32 custom_view_get_buffer_region_type(Application_Links* app, View_ID view_id);
|
||||
typedef Buffer_Scroll custom_view_get_buffer_scroll_type(Application_Links* app, View_ID view_id);
|
||||
typedef b32 custom_view_set_active_type(Application_Links* app, View_ID view_id);
|
||||
typedef b32 custom_view_enqueue_command_function_type(Application_Links* app, View_ID view_id, Custom_Command_Function* custom_func);
|
||||
typedef b32 custom_view_get_setting_type(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64* value_out);
|
||||
typedef b32 custom_view_set_setting_type(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64 value);
|
||||
typedef Managed_Scope custom_view_get_managed_scope_type(Application_Links* app, View_ID view_id);
|
||||
typedef Buffer_Cursor custom_buffer_compute_cursor_type(Application_Links* app, Buffer_ID buffer, Buffer_Seek seek);
|
||||
typedef Buffer_Cursor custom_view_compute_cursor_type(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
typedef b32 custom_view_set_camera_bounds_type(Application_Links* app, View_ID view_id, Vec2_f32 margin, Vec2_f32 push_in_multiplier);
|
||||
typedef b32 custom_view_get_camera_bounds_type(Application_Links* app, View_ID view_id, Vec2_f32* margin, Vec2_f32* push_in_multiplier);
|
||||
typedef b32 custom_view_set_cursor_type(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
typedef b32 custom_view_set_buffer_scroll_type(Application_Links* app, View_ID view_id, Buffer_Scroll scroll, Set_Buffer_Scroll_Rule rule);
|
||||
typedef b32 custom_view_set_mark_type(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
typedef b32 custom_view_quit_ui_type(Application_Links* app, View_ID view_id);
|
||||
typedef b32 custom_view_set_buffer_type(Application_Links* app, View_ID view_id, Buffer_ID buffer_id, Set_Buffer_Flag flags);
|
||||
typedef b32 custom_view_push_context_type(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
typedef b32 custom_view_pop_context_type(Application_Links* app, View_ID view_id);
|
||||
typedef b32 custom_view_alter_context_type(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
typedef View_Context custom_view_current_context_type(Application_Links* app, View_ID view_id);
|
||||
typedef String_Const_u8 custom_view_current_context_hook_memory_type(Application_Links* app, View_ID view_id, Hook_ID hook_id);
|
||||
typedef Managed_Scope custom_create_user_managed_scope_type(Application_Links* app);
|
||||
typedef b32 custom_destroy_user_managed_scope_type(Application_Links* app, Managed_Scope scope);
|
||||
typedef Managed_Scope custom_get_global_managed_scope_type(Application_Links* app);
|
||||
typedef Managed_Scope custom_get_managed_scope_with_multiple_dependencies_type(Application_Links* app, Managed_Scope* scopes, i32 count);
|
||||
typedef b32 custom_managed_scope_clear_contents_type(Application_Links* app, Managed_Scope scope);
|
||||
typedef b32 custom_managed_scope_clear_self_all_dependent_scopes_type(Application_Links* app, Managed_Scope scope);
|
||||
typedef Base_Allocator* custom_managed_scope_allocator_type(Application_Links* app, Managed_Scope scope);
|
||||
typedef u64 custom_managed_id_group_highest_id_type(Application_Links* app, String_Const_u8 group);
|
||||
typedef Managed_ID custom_managed_id_declare_type(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
typedef Managed_ID custom_managed_id_get_type(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
typedef void* custom_managed_scope_get_attachment_type(Application_Links* app, Managed_Scope scope, Managed_ID id, u64 size);
|
||||
typedef b32 custom_managed_scope_attachment_erase_type(Application_Links* app, Managed_Scope scope, Managed_ID id);
|
||||
typedef Managed_Object custom_alloc_managed_memory_in_scope_type(Application_Links* app, Managed_Scope scope, i32 item_size, i32 count);
|
||||
typedef Managed_Object custom_alloc_buffer_markers_on_buffer_type(Application_Links* app, Buffer_ID buffer_id, i32 count, Managed_Scope* optional_extra_scope);
|
||||
typedef u32 custom_managed_object_get_item_size_type(Application_Links* app, Managed_Object object);
|
||||
typedef u32 custom_managed_object_get_item_count_type(Application_Links* app, Managed_Object object);
|
||||
typedef void* custom_managed_object_get_pointer_type(Application_Links* app, Managed_Object object);
|
||||
typedef Managed_Object_Type custom_managed_object_get_type_type(Application_Links* app, Managed_Object object);
|
||||
typedef Managed_Scope custom_managed_object_get_containing_scope_type(Application_Links* app, Managed_Object object);
|
||||
typedef b32 custom_managed_object_free_type(Application_Links* app, Managed_Object object);
|
||||
typedef b32 custom_managed_object_store_data_type(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem);
|
||||
typedef b32 custom_managed_object_load_data_type(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem_out);
|
||||
typedef User_Input custom_get_next_input_raw_type(Application_Links* app);
|
||||
typedef i64 custom_get_current_input_sequence_number_type(Application_Links* app);
|
||||
typedef User_Input custom_get_current_input_type(Application_Links* app);
|
||||
typedef void custom_set_current_input_type(Application_Links* app, User_Input* input);
|
||||
typedef void custom_leave_current_input_unhandled_type(Application_Links* app);
|
||||
typedef void custom_set_custom_hook_type(Application_Links* app, Hook_ID hook_id, Void_Func* func_ptr);
|
||||
typedef Void_Func* custom_get_custom_hook_type(Application_Links* app, Hook_ID hook_id);
|
||||
typedef b32 custom_set_custom_hook_memory_size_type(Application_Links* app, Hook_ID hook_id, u64 size);
|
||||
typedef Mouse_State custom_get_mouse_state_type(Application_Links* app);
|
||||
typedef b32 custom_get_active_query_bars_type(Application_Links* app, View_ID view_id, i32 max_result_count, Query_Bar_Ptr_Array* array_out);
|
||||
typedef b32 custom_start_query_bar_type(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
typedef void custom_end_query_bar_type(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
typedef void custom_clear_all_query_bars_type(Application_Links* app, View_ID view_id);
|
||||
typedef void custom_print_message_type(Application_Links* app, String_Const_u8 message);
|
||||
typedef b32 custom_log_string_type(Application_Links* app, String_Const_u8 str);
|
||||
typedef Face_ID custom_get_largest_face_id_type(Application_Links* app);
|
||||
typedef b32 custom_set_global_face_type(Application_Links* app, Face_ID id);
|
||||
typedef History_Record_Index custom_buffer_history_get_max_record_index_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Record_Info custom_buffer_history_get_record_info_type(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
typedef Record_Info custom_buffer_history_get_group_sub_record_type(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index, i32 sub_index);
|
||||
typedef History_Record_Index custom_buffer_history_get_current_state_index_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef b32 custom_buffer_history_set_current_state_index_type(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
typedef b32 custom_buffer_history_merge_record_range_type(Application_Links* app, Buffer_ID buffer_id, History_Record_Index first_index, History_Record_Index last_index, Record_Merge_Flag flags);
|
||||
typedef b32 custom_buffer_history_clear_after_current_state_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef void custom_global_history_edit_group_begin_type(Application_Links* app);
|
||||
typedef void custom_global_history_edit_group_end_type(Application_Links* app);
|
||||
typedef b32 custom_buffer_set_face_type(Application_Links* app, Buffer_ID buffer_id, Face_ID id);
|
||||
typedef Face_Description custom_get_face_description_type(Application_Links* app, Face_ID face_id);
|
||||
typedef Face_Metrics custom_get_face_metrics_type(Application_Links* app, Face_ID face_id);
|
||||
typedef Face_Advance_Map custom_get_face_advance_map_type(Application_Links* app, Face_ID face_id);
|
||||
typedef Face_ID custom_get_face_id_type(Application_Links* app, Buffer_ID buffer_id);
|
||||
typedef Face_ID custom_try_create_new_face_type(Application_Links* app, Face_Description* description);
|
||||
typedef b32 custom_try_modify_face_type(Application_Links* app, Face_ID id, Face_Description* description);
|
||||
typedef b32 custom_try_release_face_type(Application_Links* app, Face_ID id, Face_ID replacement_id);
|
||||
typedef String_Const_u8 custom_push_hot_directory_type(Application_Links* app, Arena* arena);
|
||||
typedef void custom_set_hot_directory_type(Application_Links* app, String_Const_u8 string);
|
||||
typedef void custom_send_exit_signal_type(Application_Links* app);
|
||||
typedef void custom_hard_exit_type(Application_Links* app);
|
||||
typedef void custom_set_window_title_type(Application_Links* app, String_Const_u8 title);
|
||||
typedef void custom_acquire_global_frame_mutex_type(Application_Links* app);
|
||||
typedef void custom_release_global_frame_mutex_type(Application_Links* app);
|
||||
typedef Vec2_f32 custom_draw_string_oriented_type(Application_Links* app, Face_ID font_id, ARGB_Color color, String_Const_u8 str, Vec2_f32 point, u32 flags, Vec2_f32 delta);
|
||||
typedef f32 custom_get_string_advance_type(Application_Links* app, Face_ID font_id, String_Const_u8 str);
|
||||
typedef void custom_draw_rectangle_type(Application_Links* app, Rect_f32 rect, f32 roundness, ARGB_Color color);
|
||||
typedef void custom_draw_rectangle_outline_type(Application_Links* app, Rect_f32 rect, f32 roundness, f32 thickness, ARGB_Color color);
|
||||
typedef Rect_f32 custom_draw_set_clip_type(Application_Links* app, Rect_f32 new_clip);
|
||||
typedef Text_Layout_ID custom_text_layout_create_type(Application_Links* app, Buffer_ID buffer_id, Rect_f32 rect, Buffer_Point buffer_point);
|
||||
typedef Rect_f32 custom_text_layout_region_type(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
typedef Buffer_ID custom_text_layout_get_buffer_type(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
typedef Range_i64 custom_text_layout_get_visible_range_type(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
typedef Range_f32 custom_text_layout_line_on_screen_type(Application_Links* app, Text_Layout_ID layout_id, i64 line_number);
|
||||
typedef Rect_f32 custom_text_layout_character_on_screen_type(Application_Links* app, Text_Layout_ID layout_id, i64 pos);
|
||||
typedef void custom_paint_text_color_type(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color);
|
||||
typedef void custom_paint_text_color_blend_type(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color, f32 blend);
|
||||
typedef b32 custom_text_layout_free_type(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
typedef void custom_draw_text_layout_type(Application_Links* app, Text_Layout_ID layout_id, ARGB_Color special_color, ARGB_Color ghost_color);
|
||||
typedef void custom_open_color_picker_type(Application_Links* app, Color_Picker* picker);
|
||||
typedef void custom_animate_in_n_milliseconds_type(Application_Links* app, u32 n);
|
||||
typedef String_Match_List custom_buffer_find_all_matches_type(Application_Links* app, Arena* arena, Buffer_ID buffer, i32 string_id, Range_i64 range, String_Const_u8 needle, Character_Predicate* predicate, Scan_Direction direction);
|
||||
typedef Profile_Global_List* custom_get_core_profile_list_type(Application_Links* app);
|
||||
typedef Doc_Cluster* custom_get_custom_layer_boundary_docs_type(Application_Links* app, Arena* arena);
|
||||
|
||||
struct API_VTable_custom{
|
||||
custom_global_set_setting_type *global_set_setting;
|
||||
custom_global_get_screen_rectangle_type *global_get_screen_rectangle;
|
||||
custom_get_thread_context_type *get_thread_context;
|
||||
custom_create_child_process_type *create_child_process;
|
||||
custom_child_process_set_target_buffer_type *child_process_set_target_buffer;
|
||||
custom_buffer_get_attached_child_process_type *buffer_get_attached_child_process;
|
||||
custom_child_process_get_attached_buffer_type *child_process_get_attached_buffer;
|
||||
custom_child_process_get_state_type *child_process_get_state;
|
||||
custom_enqueue_virtual_event_type *enqueue_virtual_event;
|
||||
custom_get_buffer_count_type *get_buffer_count;
|
||||
custom_get_buffer_next_type *get_buffer_next;
|
||||
custom_get_buffer_by_name_type *get_buffer_by_name;
|
||||
custom_get_buffer_by_file_name_type *get_buffer_by_file_name;
|
||||
custom_buffer_read_range_type *buffer_read_range;
|
||||
custom_buffer_replace_range_type *buffer_replace_range;
|
||||
custom_buffer_batch_edit_type *buffer_batch_edit;
|
||||
custom_buffer_seek_string_type *buffer_seek_string;
|
||||
custom_buffer_seek_character_class_type *buffer_seek_character_class;
|
||||
custom_buffer_line_y_difference_type *buffer_line_y_difference;
|
||||
custom_buffer_line_shift_y_type *buffer_line_shift_y;
|
||||
custom_buffer_pos_at_relative_xy_type *buffer_pos_at_relative_xy;
|
||||
custom_buffer_relative_box_of_pos_type *buffer_relative_box_of_pos;
|
||||
custom_buffer_padded_box_of_pos_type *buffer_padded_box_of_pos;
|
||||
custom_buffer_relative_character_from_pos_type *buffer_relative_character_from_pos;
|
||||
custom_buffer_pos_from_relative_character_type *buffer_pos_from_relative_character;
|
||||
custom_view_line_y_difference_type *view_line_y_difference;
|
||||
custom_view_line_shift_y_type *view_line_shift_y;
|
||||
custom_view_pos_at_relative_xy_type *view_pos_at_relative_xy;
|
||||
custom_view_relative_box_of_pos_type *view_relative_box_of_pos;
|
||||
custom_view_padded_box_of_pos_type *view_padded_box_of_pos;
|
||||
custom_view_relative_character_from_pos_type *view_relative_character_from_pos;
|
||||
custom_view_pos_from_relative_character_type *view_pos_from_relative_character;
|
||||
custom_buffer_exists_type *buffer_exists;
|
||||
custom_buffer_get_access_flags_type *buffer_get_access_flags;
|
||||
custom_buffer_get_size_type *buffer_get_size;
|
||||
custom_buffer_get_line_count_type *buffer_get_line_count;
|
||||
custom_push_buffer_base_name_type *push_buffer_base_name;
|
||||
custom_push_buffer_unique_name_type *push_buffer_unique_name;
|
||||
custom_push_buffer_file_name_type *push_buffer_file_name;
|
||||
custom_buffer_get_dirty_state_type *buffer_get_dirty_state;
|
||||
custom_buffer_set_dirty_state_type *buffer_set_dirty_state;
|
||||
custom_buffer_set_layout_type *buffer_set_layout;
|
||||
custom_buffer_clear_layout_cache_type *buffer_clear_layout_cache;
|
||||
custom_buffer_get_layout_type *buffer_get_layout;
|
||||
custom_buffer_get_setting_type *buffer_get_setting;
|
||||
custom_buffer_set_setting_type *buffer_set_setting;
|
||||
custom_buffer_get_managed_scope_type *buffer_get_managed_scope;
|
||||
custom_buffer_send_end_signal_type *buffer_send_end_signal;
|
||||
custom_create_buffer_type *create_buffer;
|
||||
custom_buffer_save_type *buffer_save;
|
||||
custom_buffer_kill_type *buffer_kill;
|
||||
custom_buffer_reopen_type *buffer_reopen;
|
||||
custom_buffer_get_file_attributes_type *buffer_get_file_attributes;
|
||||
custom_get_view_next_type *get_view_next;
|
||||
custom_get_view_prev_type *get_view_prev;
|
||||
custom_get_this_ctx_view_type *get_this_ctx_view;
|
||||
custom_get_active_view_type *get_active_view;
|
||||
custom_view_exists_type *view_exists;
|
||||
custom_view_get_buffer_type *view_get_buffer;
|
||||
custom_view_get_cursor_pos_type *view_get_cursor_pos;
|
||||
custom_view_get_mark_pos_type *view_get_mark_pos;
|
||||
custom_view_get_preferred_x_type *view_get_preferred_x;
|
||||
custom_view_set_preferred_x_type *view_set_preferred_x;
|
||||
custom_view_get_screen_rect_type *view_get_screen_rect;
|
||||
custom_view_get_panel_type *view_get_panel;
|
||||
custom_panel_get_view_type *panel_get_view;
|
||||
custom_panel_is_split_type *panel_is_split;
|
||||
custom_panel_is_leaf_type *panel_is_leaf;
|
||||
custom_panel_split_type *panel_split;
|
||||
custom_panel_set_split_type *panel_set_split;
|
||||
custom_panel_swap_children_type *panel_swap_children;
|
||||
custom_panel_get_root_type *panel_get_root;
|
||||
custom_panel_get_parent_type *panel_get_parent;
|
||||
custom_panel_get_child_type *panel_get_child;
|
||||
custom_view_close_type *view_close;
|
||||
custom_view_get_buffer_region_type *view_get_buffer_region;
|
||||
custom_view_get_buffer_scroll_type *view_get_buffer_scroll;
|
||||
custom_view_set_active_type *view_set_active;
|
||||
custom_view_enqueue_command_function_type *view_enqueue_command_function;
|
||||
custom_view_get_setting_type *view_get_setting;
|
||||
custom_view_set_setting_type *view_set_setting;
|
||||
custom_view_get_managed_scope_type *view_get_managed_scope;
|
||||
custom_buffer_compute_cursor_type *buffer_compute_cursor;
|
||||
custom_view_compute_cursor_type *view_compute_cursor;
|
||||
custom_view_set_camera_bounds_type *view_set_camera_bounds;
|
||||
custom_view_get_camera_bounds_type *view_get_camera_bounds;
|
||||
custom_view_set_cursor_type *view_set_cursor;
|
||||
custom_view_set_buffer_scroll_type *view_set_buffer_scroll;
|
||||
custom_view_set_mark_type *view_set_mark;
|
||||
custom_view_quit_ui_type *view_quit_ui;
|
||||
custom_view_set_buffer_type *view_set_buffer;
|
||||
custom_view_push_context_type *view_push_context;
|
||||
custom_view_pop_context_type *view_pop_context;
|
||||
custom_view_alter_context_type *view_alter_context;
|
||||
custom_view_current_context_type *view_current_context;
|
||||
custom_view_current_context_hook_memory_type *view_current_context_hook_memory;
|
||||
custom_create_user_managed_scope_type *create_user_managed_scope;
|
||||
custom_destroy_user_managed_scope_type *destroy_user_managed_scope;
|
||||
custom_get_global_managed_scope_type *get_global_managed_scope;
|
||||
custom_get_managed_scope_with_multiple_dependencies_type *get_managed_scope_with_multiple_dependencies;
|
||||
custom_managed_scope_clear_contents_type *managed_scope_clear_contents;
|
||||
custom_managed_scope_clear_self_all_dependent_scopes_type *managed_scope_clear_self_all_dependent_scopes;
|
||||
custom_managed_scope_allocator_type *managed_scope_allocator;
|
||||
custom_managed_id_group_highest_id_type *managed_id_group_highest_id;
|
||||
custom_managed_id_declare_type *managed_id_declare;
|
||||
custom_managed_id_get_type *managed_id_get;
|
||||
custom_managed_scope_get_attachment_type *managed_scope_get_attachment;
|
||||
custom_managed_scope_attachment_erase_type *managed_scope_attachment_erase;
|
||||
custom_alloc_managed_memory_in_scope_type *alloc_managed_memory_in_scope;
|
||||
custom_alloc_buffer_markers_on_buffer_type *alloc_buffer_markers_on_buffer;
|
||||
custom_managed_object_get_item_size_type *managed_object_get_item_size;
|
||||
custom_managed_object_get_item_count_type *managed_object_get_item_count;
|
||||
custom_managed_object_get_pointer_type *managed_object_get_pointer;
|
||||
custom_managed_object_get_type_type *managed_object_get_type;
|
||||
custom_managed_object_get_containing_scope_type *managed_object_get_containing_scope;
|
||||
custom_managed_object_free_type *managed_object_free;
|
||||
custom_managed_object_store_data_type *managed_object_store_data;
|
||||
custom_managed_object_load_data_type *managed_object_load_data;
|
||||
custom_get_next_input_raw_type *get_next_input_raw;
|
||||
custom_get_current_input_sequence_number_type *get_current_input_sequence_number;
|
||||
custom_get_current_input_type *get_current_input;
|
||||
custom_set_current_input_type *set_current_input;
|
||||
custom_leave_current_input_unhandled_type *leave_current_input_unhandled;
|
||||
custom_set_custom_hook_type *set_custom_hook;
|
||||
custom_get_custom_hook_type *get_custom_hook;
|
||||
custom_set_custom_hook_memory_size_type *set_custom_hook_memory_size;
|
||||
custom_get_mouse_state_type *get_mouse_state;
|
||||
custom_get_active_query_bars_type *get_active_query_bars;
|
||||
custom_start_query_bar_type *start_query_bar;
|
||||
custom_end_query_bar_type *end_query_bar;
|
||||
custom_clear_all_query_bars_type *clear_all_query_bars;
|
||||
custom_print_message_type *print_message;
|
||||
custom_log_string_type *log_string;
|
||||
custom_get_largest_face_id_type *get_largest_face_id;
|
||||
custom_set_global_face_type *set_global_face;
|
||||
custom_buffer_history_get_max_record_index_type *buffer_history_get_max_record_index;
|
||||
custom_buffer_history_get_record_info_type *buffer_history_get_record_info;
|
||||
custom_buffer_history_get_group_sub_record_type *buffer_history_get_group_sub_record;
|
||||
custom_buffer_history_get_current_state_index_type *buffer_history_get_current_state_index;
|
||||
custom_buffer_history_set_current_state_index_type *buffer_history_set_current_state_index;
|
||||
custom_buffer_history_merge_record_range_type *buffer_history_merge_record_range;
|
||||
custom_buffer_history_clear_after_current_state_type *buffer_history_clear_after_current_state;
|
||||
custom_global_history_edit_group_begin_type *global_history_edit_group_begin;
|
||||
custom_global_history_edit_group_end_type *global_history_edit_group_end;
|
||||
custom_buffer_set_face_type *buffer_set_face;
|
||||
custom_get_face_description_type *get_face_description;
|
||||
custom_get_face_metrics_type *get_face_metrics;
|
||||
custom_get_face_advance_map_type *get_face_advance_map;
|
||||
custom_get_face_id_type *get_face_id;
|
||||
custom_try_create_new_face_type *try_create_new_face;
|
||||
custom_try_modify_face_type *try_modify_face;
|
||||
custom_try_release_face_type *try_release_face;
|
||||
custom_push_hot_directory_type *push_hot_directory;
|
||||
custom_set_hot_directory_type *set_hot_directory;
|
||||
custom_send_exit_signal_type *send_exit_signal;
|
||||
custom_hard_exit_type *hard_exit;
|
||||
custom_set_window_title_type *set_window_title;
|
||||
custom_acquire_global_frame_mutex_type *acquire_global_frame_mutex;
|
||||
custom_release_global_frame_mutex_type *release_global_frame_mutex;
|
||||
custom_draw_string_oriented_type *draw_string_oriented;
|
||||
custom_get_string_advance_type *get_string_advance;
|
||||
custom_draw_rectangle_type *draw_rectangle;
|
||||
custom_draw_rectangle_outline_type *draw_rectangle_outline;
|
||||
custom_draw_set_clip_type *draw_set_clip;
|
||||
custom_text_layout_create_type *text_layout_create;
|
||||
custom_text_layout_region_type *text_layout_region;
|
||||
custom_text_layout_get_buffer_type *text_layout_get_buffer;
|
||||
custom_text_layout_get_visible_range_type *text_layout_get_visible_range;
|
||||
custom_text_layout_line_on_screen_type *text_layout_line_on_screen;
|
||||
custom_text_layout_character_on_screen_type *text_layout_character_on_screen;
|
||||
custom_paint_text_color_type *paint_text_color;
|
||||
custom_paint_text_color_blend_type *paint_text_color_blend;
|
||||
custom_text_layout_free_type *text_layout_free;
|
||||
custom_draw_text_layout_type *draw_text_layout;
|
||||
custom_open_color_picker_type *open_color_picker;
|
||||
custom_animate_in_n_milliseconds_type *animate_in_n_milliseconds;
|
||||
custom_buffer_find_all_matches_type *buffer_find_all_matches;
|
||||
custom_get_core_profile_list_type *get_core_profile_list;
|
||||
custom_get_custom_layer_boundary_docs_type *get_custom_layer_boundary_docs;
|
||||
};
|
||||
|
||||
#if defined(STATIC_LINK_API)
|
||||
internal b32 global_set_setting(Application_Links* app, Global_Setting_ID setting, i64 value);
|
||||
internal Rect_f32 global_get_screen_rectangle(Application_Links* app);
|
||||
internal Thread_Context* get_thread_context(Application_Links* app);
|
||||
internal Child_Process_ID create_child_process(Application_Links* app, String_Const_u8 path, String_Const_u8 command);
|
||||
internal b32 child_process_set_target_buffer(Application_Links* app, Child_Process_ID child_process_id, Buffer_ID buffer_id, Child_Process_Set_Target_Flags flags);
|
||||
internal Child_Process_ID buffer_get_attached_child_process(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Buffer_ID child_process_get_attached_buffer(Application_Links* app, Child_Process_ID child_process_id);
|
||||
internal Process_State child_process_get_state(Application_Links* app, Child_Process_ID child_process_id);
|
||||
internal b32 enqueue_virtual_event(Application_Links* app, Input_Event* event);
|
||||
internal i32 get_buffer_count(Application_Links* app);
|
||||
internal Buffer_ID get_buffer_next(Application_Links* app, Buffer_ID buffer_id, Access_Flag access);
|
||||
internal Buffer_ID get_buffer_by_name(Application_Links* app, String_Const_u8 name, Access_Flag access);
|
||||
internal Buffer_ID get_buffer_by_file_name(Application_Links* app, String_Const_u8 file_name, Access_Flag access);
|
||||
internal b32 buffer_read_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, u8* out);
|
||||
internal b32 buffer_replace_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, String_Const_u8 string);
|
||||
internal b32 buffer_batch_edit(Application_Links* app, Buffer_ID buffer_id, Batch_Edit* batch);
|
||||
internal String_Match buffer_seek_string(Application_Links* app, Buffer_ID buffer, String_Const_u8 needle, Scan_Direction direction, i64 start_pos);
|
||||
internal String_Match buffer_seek_character_class(Application_Links* app, Buffer_ID buffer, Character_Predicate* predicate, Scan_Direction direction, i64 start_pos);
|
||||
internal f32 buffer_line_y_difference(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line_a, i64 line_b);
|
||||
internal Line_Shift_Vertical buffer_line_shift_y(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line, f32 y_shift);
|
||||
internal i64 buffer_pos_at_relative_xy(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
internal Rect_f32 buffer_relative_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
internal Rect_f32 buffer_padded_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
internal i64 buffer_relative_character_from_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
internal i64 buffer_pos_from_relative_character(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 relative_character);
|
||||
internal f32 view_line_y_difference(Application_Links* app, View_ID view_id, i64 line_a, i64 line_b);
|
||||
internal Line_Shift_Vertical view_line_shift_y(Application_Links* app, View_ID view_id, i64 line, f32 y_shift);
|
||||
internal i64 view_pos_at_relative_xy(Application_Links* app, View_ID view_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
internal Rect_f32 view_relative_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
internal Rect_f32 view_padded_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
internal i64 view_relative_character_from_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
internal i64 view_pos_from_relative_character(Application_Links* app, View_ID view_id, i64 base_line, i64 character);
|
||||
internal b32 buffer_exists(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Access_Flag buffer_get_access_flags(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal i64 buffer_get_size(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal i64 buffer_get_line_count(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal String_Const_u8 push_buffer_base_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
internal String_Const_u8 push_buffer_unique_name(Application_Links* app, Arena* out, Buffer_ID buffer_id);
|
||||
internal String_Const_u8 push_buffer_file_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
internal Dirty_State buffer_get_dirty_state(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal b32 buffer_set_dirty_state(Application_Links* app, Buffer_ID buffer_id, Dirty_State dirty_state);
|
||||
internal b32 buffer_set_layout(Application_Links* app, Buffer_ID buffer_id, Layout_Function* layout_func);
|
||||
internal b32 buffer_clear_layout_cache(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Layout_Function* buffer_get_layout(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal b32 buffer_get_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64* value_out);
|
||||
internal b32 buffer_set_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64 value);
|
||||
internal Managed_Scope buffer_get_managed_scope(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal b32 buffer_send_end_signal(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Buffer_ID create_buffer(Application_Links* app, String_Const_u8 file_name, Buffer_Create_Flag flags);
|
||||
internal b32 buffer_save(Application_Links* app, Buffer_ID buffer_id, String_Const_u8 file_name, Buffer_Save_Flag flags);
|
||||
internal Buffer_Kill_Result buffer_kill(Application_Links* app, Buffer_ID buffer_id, Buffer_Kill_Flag flags);
|
||||
internal Buffer_Reopen_Result buffer_reopen(Application_Links* app, Buffer_ID buffer_id, Buffer_Reopen_Flag flags);
|
||||
internal File_Attributes buffer_get_file_attributes(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal View_ID get_view_next(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
internal View_ID get_view_prev(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
internal View_ID get_this_ctx_view(Application_Links* app, Access_Flag access);
|
||||
internal View_ID get_active_view(Application_Links* app, Access_Flag access);
|
||||
internal b32 view_exists(Application_Links* app, View_ID view_id);
|
||||
internal Buffer_ID view_get_buffer(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
internal i64 view_get_cursor_pos(Application_Links* app, View_ID view_id);
|
||||
internal i64 view_get_mark_pos(Application_Links* app, View_ID view_id);
|
||||
internal f32 view_get_preferred_x(Application_Links* app, View_ID view_id);
|
||||
internal b32 view_set_preferred_x(Application_Links* app, View_ID view_id, f32 x);
|
||||
internal Rect_f32 view_get_screen_rect(Application_Links* app, View_ID view_id);
|
||||
internal Panel_ID view_get_panel(Application_Links* app, View_ID view_id);
|
||||
internal View_ID panel_get_view(Application_Links* app, Panel_ID panel_id, Access_Flag access);
|
||||
internal b32 panel_is_split(Application_Links* app, Panel_ID panel_id);
|
||||
internal b32 panel_is_leaf(Application_Links* app, Panel_ID panel_id);
|
||||
internal b32 panel_split(Application_Links* app, Panel_ID panel_id, Dimension split_dim);
|
||||
internal b32 panel_set_split(Application_Links* app, Panel_ID panel_id, Panel_Split_Kind kind, f32 t);
|
||||
internal b32 panel_swap_children(Application_Links* app, Panel_ID panel_id);
|
||||
internal Panel_ID panel_get_root(Application_Links* app);
|
||||
internal Panel_ID panel_get_parent(Application_Links* app, Panel_ID panel_id);
|
||||
internal Panel_ID panel_get_child(Application_Links* app, Panel_ID panel_id, Side which_child);
|
||||
internal b32 view_close(Application_Links* app, View_ID view_id);
|
||||
internal Rect_f32 view_get_buffer_region(Application_Links* app, View_ID view_id);
|
||||
internal Buffer_Scroll view_get_buffer_scroll(Application_Links* app, View_ID view_id);
|
||||
internal b32 view_set_active(Application_Links* app, View_ID view_id);
|
||||
internal b32 view_enqueue_command_function(Application_Links* app, View_ID view_id, Custom_Command_Function* custom_func);
|
||||
internal b32 view_get_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64* value_out);
|
||||
internal b32 view_set_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64 value);
|
||||
internal Managed_Scope view_get_managed_scope(Application_Links* app, View_ID view_id);
|
||||
internal Buffer_Cursor buffer_compute_cursor(Application_Links* app, Buffer_ID buffer, Buffer_Seek seek);
|
||||
internal Buffer_Cursor view_compute_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
internal b32 view_set_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32 margin, Vec2_f32 push_in_multiplier);
|
||||
internal b32 view_get_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32* margin, Vec2_f32* push_in_multiplier);
|
||||
internal b32 view_set_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
internal b32 view_set_buffer_scroll(Application_Links* app, View_ID view_id, Buffer_Scroll scroll, Set_Buffer_Scroll_Rule rule);
|
||||
internal b32 view_set_mark(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
internal b32 view_quit_ui(Application_Links* app, View_ID view_id);
|
||||
internal b32 view_set_buffer(Application_Links* app, View_ID view_id, Buffer_ID buffer_id, Set_Buffer_Flag flags);
|
||||
internal b32 view_push_context(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
internal b32 view_pop_context(Application_Links* app, View_ID view_id);
|
||||
internal b32 view_alter_context(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
internal View_Context view_current_context(Application_Links* app, View_ID view_id);
|
||||
internal String_Const_u8 view_current_context_hook_memory(Application_Links* app, View_ID view_id, Hook_ID hook_id);
|
||||
internal Managed_Scope create_user_managed_scope(Application_Links* app);
|
||||
internal b32 destroy_user_managed_scope(Application_Links* app, Managed_Scope scope);
|
||||
internal Managed_Scope get_global_managed_scope(Application_Links* app);
|
||||
internal Managed_Scope get_managed_scope_with_multiple_dependencies(Application_Links* app, Managed_Scope* scopes, i32 count);
|
||||
internal b32 managed_scope_clear_contents(Application_Links* app, Managed_Scope scope);
|
||||
internal b32 managed_scope_clear_self_all_dependent_scopes(Application_Links* app, Managed_Scope scope);
|
||||
internal Base_Allocator* managed_scope_allocator(Application_Links* app, Managed_Scope scope);
|
||||
internal u64 managed_id_group_highest_id(Application_Links* app, String_Const_u8 group);
|
||||
internal Managed_ID managed_id_declare(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
internal Managed_ID managed_id_get(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
internal void* managed_scope_get_attachment(Application_Links* app, Managed_Scope scope, Managed_ID id, u64 size);
|
||||
internal b32 managed_scope_attachment_erase(Application_Links* app, Managed_Scope scope, Managed_ID id);
|
||||
internal Managed_Object alloc_managed_memory_in_scope(Application_Links* app, Managed_Scope scope, i32 item_size, i32 count);
|
||||
internal Managed_Object alloc_buffer_markers_on_buffer(Application_Links* app, Buffer_ID buffer_id, i32 count, Managed_Scope* optional_extra_scope);
|
||||
internal u32 managed_object_get_item_size(Application_Links* app, Managed_Object object);
|
||||
internal u32 managed_object_get_item_count(Application_Links* app, Managed_Object object);
|
||||
internal void* managed_object_get_pointer(Application_Links* app, Managed_Object object);
|
||||
internal Managed_Object_Type managed_object_get_type(Application_Links* app, Managed_Object object);
|
||||
internal Managed_Scope managed_object_get_containing_scope(Application_Links* app, Managed_Object object);
|
||||
internal b32 managed_object_free(Application_Links* app, Managed_Object object);
|
||||
internal b32 managed_object_store_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem);
|
||||
internal b32 managed_object_load_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem_out);
|
||||
internal User_Input get_next_input_raw(Application_Links* app);
|
||||
internal i64 get_current_input_sequence_number(Application_Links* app);
|
||||
internal User_Input get_current_input(Application_Links* app);
|
||||
internal void set_current_input(Application_Links* app, User_Input* input);
|
||||
internal void leave_current_input_unhandled(Application_Links* app);
|
||||
internal void set_custom_hook(Application_Links* app, Hook_ID hook_id, Void_Func* func_ptr);
|
||||
internal Void_Func* get_custom_hook(Application_Links* app, Hook_ID hook_id);
|
||||
internal b32 set_custom_hook_memory_size(Application_Links* app, Hook_ID hook_id, u64 size);
|
||||
internal Mouse_State get_mouse_state(Application_Links* app);
|
||||
internal b32 get_active_query_bars(Application_Links* app, View_ID view_id, i32 max_result_count, Query_Bar_Ptr_Array* array_out);
|
||||
internal b32 start_query_bar(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
internal void end_query_bar(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
internal void clear_all_query_bars(Application_Links* app, View_ID view_id);
|
||||
internal void print_message(Application_Links* app, String_Const_u8 message);
|
||||
internal b32 log_string(Application_Links* app, String_Const_u8 str);
|
||||
internal Face_ID get_largest_face_id(Application_Links* app);
|
||||
internal b32 set_global_face(Application_Links* app, Face_ID id);
|
||||
internal History_Record_Index buffer_history_get_max_record_index(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Record_Info buffer_history_get_record_info(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
internal Record_Info buffer_history_get_group_sub_record(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index, i32 sub_index);
|
||||
internal History_Record_Index buffer_history_get_current_state_index(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal b32 buffer_history_set_current_state_index(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
internal b32 buffer_history_merge_record_range(Application_Links* app, Buffer_ID buffer_id, History_Record_Index first_index, History_Record_Index last_index, Record_Merge_Flag flags);
|
||||
internal b32 buffer_history_clear_after_current_state(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal void global_history_edit_group_begin(Application_Links* app);
|
||||
internal void global_history_edit_group_end(Application_Links* app);
|
||||
internal b32 buffer_set_face(Application_Links* app, Buffer_ID buffer_id, Face_ID id);
|
||||
internal Face_Description get_face_description(Application_Links* app, Face_ID face_id);
|
||||
internal Face_Metrics get_face_metrics(Application_Links* app, Face_ID face_id);
|
||||
internal Face_Advance_Map get_face_advance_map(Application_Links* app, Face_ID face_id);
|
||||
internal Face_ID get_face_id(Application_Links* app, Buffer_ID buffer_id);
|
||||
internal Face_ID try_create_new_face(Application_Links* app, Face_Description* description);
|
||||
internal b32 try_modify_face(Application_Links* app, Face_ID id, Face_Description* description);
|
||||
internal b32 try_release_face(Application_Links* app, Face_ID id, Face_ID replacement_id);
|
||||
internal String_Const_u8 push_hot_directory(Application_Links* app, Arena* arena);
|
||||
internal void set_hot_directory(Application_Links* app, String_Const_u8 string);
|
||||
internal void send_exit_signal(Application_Links* app);
|
||||
internal void hard_exit(Application_Links* app);
|
||||
internal void set_window_title(Application_Links* app, String_Const_u8 title);
|
||||
internal void acquire_global_frame_mutex(Application_Links* app);
|
||||
internal void release_global_frame_mutex(Application_Links* app);
|
||||
internal Vec2_f32 draw_string_oriented(Application_Links* app, Face_ID font_id, ARGB_Color color, String_Const_u8 str, Vec2_f32 point, u32 flags, Vec2_f32 delta);
|
||||
internal f32 get_string_advance(Application_Links* app, Face_ID font_id, String_Const_u8 str);
|
||||
internal void draw_rectangle(Application_Links* app, Rect_f32 rect, f32 roundness, ARGB_Color color);
|
||||
internal void draw_rectangle_outline(Application_Links* app, Rect_f32 rect, f32 roundness, f32 thickness, ARGB_Color color);
|
||||
internal Rect_f32 draw_set_clip(Application_Links* app, Rect_f32 new_clip);
|
||||
internal Text_Layout_ID text_layout_create(Application_Links* app, Buffer_ID buffer_id, Rect_f32 rect, Buffer_Point buffer_point);
|
||||
internal Rect_f32 text_layout_region(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
internal Buffer_ID text_layout_get_buffer(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
internal Range_i64 text_layout_get_visible_range(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
internal Range_f32 text_layout_line_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 line_number);
|
||||
internal Rect_f32 text_layout_character_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 pos);
|
||||
internal void paint_text_color(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color);
|
||||
internal void paint_text_color_blend(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color, f32 blend);
|
||||
internal b32 text_layout_free(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
internal void draw_text_layout(Application_Links* app, Text_Layout_ID layout_id, ARGB_Color special_color, ARGB_Color ghost_color);
|
||||
internal void open_color_picker(Application_Links* app, Color_Picker* picker);
|
||||
internal void animate_in_n_milliseconds(Application_Links* app, u32 n);
|
||||
internal String_Match_List buffer_find_all_matches(Application_Links* app, Arena* arena, Buffer_ID buffer, i32 string_id, Range_i64 range, String_Const_u8 needle, Character_Predicate* predicate, Scan_Direction direction);
|
||||
internal Profile_Global_List* get_core_profile_list(Application_Links* app);
|
||||
internal Doc_Cluster* get_custom_layer_boundary_docs(Application_Links* app, Arena* arena);
|
||||
#undef STATIC_LINK_API
|
||||
|
||||
#elif defined(DYNAMIC_LINK_API)
|
||||
global custom_global_set_setting_type *global_set_setting = 0;
|
||||
global custom_global_get_screen_rectangle_type *global_get_screen_rectangle = 0;
|
||||
global custom_get_thread_context_type *get_thread_context = 0;
|
||||
global custom_create_child_process_type *create_child_process = 0;
|
||||
global custom_child_process_set_target_buffer_type *child_process_set_target_buffer = 0;
|
||||
global custom_buffer_get_attached_child_process_type *buffer_get_attached_child_process = 0;
|
||||
global custom_child_process_get_attached_buffer_type *child_process_get_attached_buffer = 0;
|
||||
global custom_child_process_get_state_type *child_process_get_state = 0;
|
||||
global custom_enqueue_virtual_event_type *enqueue_virtual_event = 0;
|
||||
global custom_get_buffer_count_type *get_buffer_count = 0;
|
||||
global custom_get_buffer_next_type *get_buffer_next = 0;
|
||||
global custom_get_buffer_by_name_type *get_buffer_by_name = 0;
|
||||
global custom_get_buffer_by_file_name_type *get_buffer_by_file_name = 0;
|
||||
global custom_buffer_read_range_type *buffer_read_range = 0;
|
||||
global custom_buffer_replace_range_type *buffer_replace_range = 0;
|
||||
global custom_buffer_batch_edit_type *buffer_batch_edit = 0;
|
||||
global custom_buffer_seek_string_type *buffer_seek_string = 0;
|
||||
global custom_buffer_seek_character_class_type *buffer_seek_character_class = 0;
|
||||
global custom_buffer_line_y_difference_type *buffer_line_y_difference = 0;
|
||||
global custom_buffer_line_shift_y_type *buffer_line_shift_y = 0;
|
||||
global custom_buffer_pos_at_relative_xy_type *buffer_pos_at_relative_xy = 0;
|
||||
global custom_buffer_relative_box_of_pos_type *buffer_relative_box_of_pos = 0;
|
||||
global custom_buffer_padded_box_of_pos_type *buffer_padded_box_of_pos = 0;
|
||||
global custom_buffer_relative_character_from_pos_type *buffer_relative_character_from_pos = 0;
|
||||
global custom_buffer_pos_from_relative_character_type *buffer_pos_from_relative_character = 0;
|
||||
global custom_view_line_y_difference_type *view_line_y_difference = 0;
|
||||
global custom_view_line_shift_y_type *view_line_shift_y = 0;
|
||||
global custom_view_pos_at_relative_xy_type *view_pos_at_relative_xy = 0;
|
||||
global custom_view_relative_box_of_pos_type *view_relative_box_of_pos = 0;
|
||||
global custom_view_padded_box_of_pos_type *view_padded_box_of_pos = 0;
|
||||
global custom_view_relative_character_from_pos_type *view_relative_character_from_pos = 0;
|
||||
global custom_view_pos_from_relative_character_type *view_pos_from_relative_character = 0;
|
||||
global custom_buffer_exists_type *buffer_exists = 0;
|
||||
global custom_buffer_get_access_flags_type *buffer_get_access_flags = 0;
|
||||
global custom_buffer_get_size_type *buffer_get_size = 0;
|
||||
global custom_buffer_get_line_count_type *buffer_get_line_count = 0;
|
||||
global custom_push_buffer_base_name_type *push_buffer_base_name = 0;
|
||||
global custom_push_buffer_unique_name_type *push_buffer_unique_name = 0;
|
||||
global custom_push_buffer_file_name_type *push_buffer_file_name = 0;
|
||||
global custom_buffer_get_dirty_state_type *buffer_get_dirty_state = 0;
|
||||
global custom_buffer_set_dirty_state_type *buffer_set_dirty_state = 0;
|
||||
global custom_buffer_set_layout_type *buffer_set_layout = 0;
|
||||
global custom_buffer_clear_layout_cache_type *buffer_clear_layout_cache = 0;
|
||||
global custom_buffer_get_layout_type *buffer_get_layout = 0;
|
||||
global custom_buffer_get_setting_type *buffer_get_setting = 0;
|
||||
global custom_buffer_set_setting_type *buffer_set_setting = 0;
|
||||
global custom_buffer_get_managed_scope_type *buffer_get_managed_scope = 0;
|
||||
global custom_buffer_send_end_signal_type *buffer_send_end_signal = 0;
|
||||
global custom_create_buffer_type *create_buffer = 0;
|
||||
global custom_buffer_save_type *buffer_save = 0;
|
||||
global custom_buffer_kill_type *buffer_kill = 0;
|
||||
global custom_buffer_reopen_type *buffer_reopen = 0;
|
||||
global custom_buffer_get_file_attributes_type *buffer_get_file_attributes = 0;
|
||||
global custom_get_view_next_type *get_view_next = 0;
|
||||
global custom_get_view_prev_type *get_view_prev = 0;
|
||||
global custom_get_this_ctx_view_type *get_this_ctx_view = 0;
|
||||
global custom_get_active_view_type *get_active_view = 0;
|
||||
global custom_view_exists_type *view_exists = 0;
|
||||
global custom_view_get_buffer_type *view_get_buffer = 0;
|
||||
global custom_view_get_cursor_pos_type *view_get_cursor_pos = 0;
|
||||
global custom_view_get_mark_pos_type *view_get_mark_pos = 0;
|
||||
global custom_view_get_preferred_x_type *view_get_preferred_x = 0;
|
||||
global custom_view_set_preferred_x_type *view_set_preferred_x = 0;
|
||||
global custom_view_get_screen_rect_type *view_get_screen_rect = 0;
|
||||
global custom_view_get_panel_type *view_get_panel = 0;
|
||||
global custom_panel_get_view_type *panel_get_view = 0;
|
||||
global custom_panel_is_split_type *panel_is_split = 0;
|
||||
global custom_panel_is_leaf_type *panel_is_leaf = 0;
|
||||
global custom_panel_split_type *panel_split = 0;
|
||||
global custom_panel_set_split_type *panel_set_split = 0;
|
||||
global custom_panel_swap_children_type *panel_swap_children = 0;
|
||||
global custom_panel_get_root_type *panel_get_root = 0;
|
||||
global custom_panel_get_parent_type *panel_get_parent = 0;
|
||||
global custom_panel_get_child_type *panel_get_child = 0;
|
||||
global custom_view_close_type *view_close = 0;
|
||||
global custom_view_get_buffer_region_type *view_get_buffer_region = 0;
|
||||
global custom_view_get_buffer_scroll_type *view_get_buffer_scroll = 0;
|
||||
global custom_view_set_active_type *view_set_active = 0;
|
||||
global custom_view_enqueue_command_function_type *view_enqueue_command_function = 0;
|
||||
global custom_view_get_setting_type *view_get_setting = 0;
|
||||
global custom_view_set_setting_type *view_set_setting = 0;
|
||||
global custom_view_get_managed_scope_type *view_get_managed_scope = 0;
|
||||
global custom_buffer_compute_cursor_type *buffer_compute_cursor = 0;
|
||||
global custom_view_compute_cursor_type *view_compute_cursor = 0;
|
||||
global custom_view_set_camera_bounds_type *view_set_camera_bounds = 0;
|
||||
global custom_view_get_camera_bounds_type *view_get_camera_bounds = 0;
|
||||
global custom_view_set_cursor_type *view_set_cursor = 0;
|
||||
global custom_view_set_buffer_scroll_type *view_set_buffer_scroll = 0;
|
||||
global custom_view_set_mark_type *view_set_mark = 0;
|
||||
global custom_view_quit_ui_type *view_quit_ui = 0;
|
||||
global custom_view_set_buffer_type *view_set_buffer = 0;
|
||||
global custom_view_push_context_type *view_push_context = 0;
|
||||
global custom_view_pop_context_type *view_pop_context = 0;
|
||||
global custom_view_alter_context_type *view_alter_context = 0;
|
||||
global custom_view_current_context_type *view_current_context = 0;
|
||||
global custom_view_current_context_hook_memory_type *view_current_context_hook_memory = 0;
|
||||
global custom_create_user_managed_scope_type *create_user_managed_scope = 0;
|
||||
global custom_destroy_user_managed_scope_type *destroy_user_managed_scope = 0;
|
||||
global custom_get_global_managed_scope_type *get_global_managed_scope = 0;
|
||||
global custom_get_managed_scope_with_multiple_dependencies_type *get_managed_scope_with_multiple_dependencies = 0;
|
||||
global custom_managed_scope_clear_contents_type *managed_scope_clear_contents = 0;
|
||||
global custom_managed_scope_clear_self_all_dependent_scopes_type *managed_scope_clear_self_all_dependent_scopes = 0;
|
||||
global custom_managed_scope_allocator_type *managed_scope_allocator = 0;
|
||||
global custom_managed_id_group_highest_id_type *managed_id_group_highest_id = 0;
|
||||
global custom_managed_id_declare_type *managed_id_declare = 0;
|
||||
global custom_managed_id_get_type *managed_id_get = 0;
|
||||
global custom_managed_scope_get_attachment_type *managed_scope_get_attachment = 0;
|
||||
global custom_managed_scope_attachment_erase_type *managed_scope_attachment_erase = 0;
|
||||
global custom_alloc_managed_memory_in_scope_type *alloc_managed_memory_in_scope = 0;
|
||||
global custom_alloc_buffer_markers_on_buffer_type *alloc_buffer_markers_on_buffer = 0;
|
||||
global custom_managed_object_get_item_size_type *managed_object_get_item_size = 0;
|
||||
global custom_managed_object_get_item_count_type *managed_object_get_item_count = 0;
|
||||
global custom_managed_object_get_pointer_type *managed_object_get_pointer = 0;
|
||||
global custom_managed_object_get_type_type *managed_object_get_type = 0;
|
||||
global custom_managed_object_get_containing_scope_type *managed_object_get_containing_scope = 0;
|
||||
global custom_managed_object_free_type *managed_object_free = 0;
|
||||
global custom_managed_object_store_data_type *managed_object_store_data = 0;
|
||||
global custom_managed_object_load_data_type *managed_object_load_data = 0;
|
||||
global custom_get_next_input_raw_type *get_next_input_raw = 0;
|
||||
global custom_get_current_input_sequence_number_type *get_current_input_sequence_number = 0;
|
||||
global custom_get_current_input_type *get_current_input = 0;
|
||||
global custom_set_current_input_type *set_current_input = 0;
|
||||
global custom_leave_current_input_unhandled_type *leave_current_input_unhandled = 0;
|
||||
global custom_set_custom_hook_type *set_custom_hook = 0;
|
||||
global custom_get_custom_hook_type *get_custom_hook = 0;
|
||||
global custom_set_custom_hook_memory_size_type *set_custom_hook_memory_size = 0;
|
||||
global custom_get_mouse_state_type *get_mouse_state = 0;
|
||||
global custom_get_active_query_bars_type *get_active_query_bars = 0;
|
||||
global custom_start_query_bar_type *start_query_bar = 0;
|
||||
global custom_end_query_bar_type *end_query_bar = 0;
|
||||
global custom_clear_all_query_bars_type *clear_all_query_bars = 0;
|
||||
global custom_print_message_type *print_message = 0;
|
||||
global custom_log_string_type *log_string = 0;
|
||||
global custom_get_largest_face_id_type *get_largest_face_id = 0;
|
||||
global custom_set_global_face_type *set_global_face = 0;
|
||||
global custom_buffer_history_get_max_record_index_type *buffer_history_get_max_record_index = 0;
|
||||
global custom_buffer_history_get_record_info_type *buffer_history_get_record_info = 0;
|
||||
global custom_buffer_history_get_group_sub_record_type *buffer_history_get_group_sub_record = 0;
|
||||
global custom_buffer_history_get_current_state_index_type *buffer_history_get_current_state_index = 0;
|
||||
global custom_buffer_history_set_current_state_index_type *buffer_history_set_current_state_index = 0;
|
||||
global custom_buffer_history_merge_record_range_type *buffer_history_merge_record_range = 0;
|
||||
global custom_buffer_history_clear_after_current_state_type *buffer_history_clear_after_current_state = 0;
|
||||
global custom_global_history_edit_group_begin_type *global_history_edit_group_begin = 0;
|
||||
global custom_global_history_edit_group_end_type *global_history_edit_group_end = 0;
|
||||
global custom_buffer_set_face_type *buffer_set_face = 0;
|
||||
global custom_get_face_description_type *get_face_description = 0;
|
||||
global custom_get_face_metrics_type *get_face_metrics = 0;
|
||||
global custom_get_face_advance_map_type *get_face_advance_map = 0;
|
||||
global custom_get_face_id_type *get_face_id = 0;
|
||||
global custom_try_create_new_face_type *try_create_new_face = 0;
|
||||
global custom_try_modify_face_type *try_modify_face = 0;
|
||||
global custom_try_release_face_type *try_release_face = 0;
|
||||
global custom_push_hot_directory_type *push_hot_directory = 0;
|
||||
global custom_set_hot_directory_type *set_hot_directory = 0;
|
||||
global custom_send_exit_signal_type *send_exit_signal = 0;
|
||||
global custom_hard_exit_type *hard_exit = 0;
|
||||
global custom_set_window_title_type *set_window_title = 0;
|
||||
global custom_acquire_global_frame_mutex_type *acquire_global_frame_mutex = 0;
|
||||
global custom_release_global_frame_mutex_type *release_global_frame_mutex = 0;
|
||||
global custom_draw_string_oriented_type *draw_string_oriented = 0;
|
||||
global custom_get_string_advance_type *get_string_advance = 0;
|
||||
global custom_draw_rectangle_type *draw_rectangle = 0;
|
||||
global custom_draw_rectangle_outline_type *draw_rectangle_outline = 0;
|
||||
global custom_draw_set_clip_type *draw_set_clip = 0;
|
||||
global custom_text_layout_create_type *text_layout_create = 0;
|
||||
global custom_text_layout_region_type *text_layout_region = 0;
|
||||
global custom_text_layout_get_buffer_type *text_layout_get_buffer = 0;
|
||||
global custom_text_layout_get_visible_range_type *text_layout_get_visible_range = 0;
|
||||
global custom_text_layout_line_on_screen_type *text_layout_line_on_screen = 0;
|
||||
global custom_text_layout_character_on_screen_type *text_layout_character_on_screen = 0;
|
||||
global custom_paint_text_color_type *paint_text_color = 0;
|
||||
global custom_paint_text_color_blend_type *paint_text_color_blend = 0;
|
||||
global custom_text_layout_free_type *text_layout_free = 0;
|
||||
global custom_draw_text_layout_type *draw_text_layout = 0;
|
||||
global custom_open_color_picker_type *open_color_picker = 0;
|
||||
global custom_animate_in_n_milliseconds_type *animate_in_n_milliseconds = 0;
|
||||
global custom_buffer_find_all_matches_type *buffer_find_all_matches = 0;
|
||||
global custom_get_core_profile_list_type *get_core_profile_list = 0;
|
||||
global custom_get_custom_layer_boundary_docs_type *get_custom_layer_boundary_docs = 0;
|
||||
#undef DYNAMIC_LINK_API
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
|
@ -1,181 +0,0 @@
|
|||
/* Generated by "code/4ed_api_parser_main.exe 4ed_api_implementation.cpp" */
|
||||
|
||||
api(custom) function b32 global_set_setting(Application_Links* app, Global_Setting_ID setting, i64 value);
|
||||
api(custom) function Rect_f32 global_get_screen_rectangle(Application_Links* app);
|
||||
api(custom) function Thread_Context* get_thread_context(Application_Links* app);
|
||||
api(custom) function Child_Process_ID create_child_process(Application_Links* app, String_Const_u8 path, String_Const_u8 command);
|
||||
api(custom) function b32 child_process_set_target_buffer(Application_Links* app, Child_Process_ID child_process_id, Buffer_ID buffer_id, Child_Process_Set_Target_Flags flags);
|
||||
api(custom) function Child_Process_ID buffer_get_attached_child_process(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Buffer_ID child_process_get_attached_buffer(Application_Links* app, Child_Process_ID child_process_id);
|
||||
api(custom) function Process_State child_process_get_state(Application_Links* app, Child_Process_ID child_process_id);
|
||||
api(custom) function b32 enqueue_virtual_event(Application_Links* app, Input_Event* event);
|
||||
api(custom) function i32 get_buffer_count(Application_Links* app);
|
||||
api(custom) function Buffer_ID get_buffer_next(Application_Links* app, Buffer_ID buffer_id, Access_Flag access);
|
||||
api(custom) function Buffer_ID get_buffer_by_name(Application_Links* app, String_Const_u8 name, Access_Flag access);
|
||||
api(custom) function Buffer_ID get_buffer_by_file_name(Application_Links* app, String_Const_u8 file_name, Access_Flag access);
|
||||
api(custom) function b32 buffer_read_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, u8* out);
|
||||
api(custom) function b32 buffer_replace_range(Application_Links* app, Buffer_ID buffer_id, Range_i64 range, String_Const_u8 string);
|
||||
api(custom) function b32 buffer_batch_edit(Application_Links* app, Buffer_ID buffer_id, Batch_Edit* batch);
|
||||
api(custom) function String_Match buffer_seek_string(Application_Links* app, Buffer_ID buffer, String_Const_u8 needle, Scan_Direction direction, i64 start_pos);
|
||||
api(custom) function String_Match buffer_seek_character_class(Application_Links* app, Buffer_ID buffer, Character_Predicate* predicate, Scan_Direction direction, i64 start_pos);
|
||||
api(custom) function f32 buffer_line_y_difference(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line_a, i64 line_b);
|
||||
api(custom) function Line_Shift_Vertical buffer_line_shift_y(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 line, f32 y_shift);
|
||||
api(custom) function i64 buffer_pos_at_relative_xy(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
api(custom) function Rect_f32 buffer_relative_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
api(custom) function Rect_f32 buffer_padded_box_of_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
api(custom) function i64 buffer_relative_character_from_pos(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 pos);
|
||||
api(custom) function i64 buffer_pos_from_relative_character(Application_Links* app, Buffer_ID buffer_id, f32 width, Face_ID face_id, i64 base_line, i64 relative_character);
|
||||
api(custom) function f32 view_line_y_difference(Application_Links* app, View_ID view_id, i64 line_a, i64 line_b);
|
||||
api(custom) function Line_Shift_Vertical view_line_shift_y(Application_Links* app, View_ID view_id, i64 line, f32 y_shift);
|
||||
api(custom) function i64 view_pos_at_relative_xy(Application_Links* app, View_ID view_id, i64 base_line, Vec2_f32 relative_xy);
|
||||
api(custom) function Rect_f32 view_relative_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
api(custom) function Rect_f32 view_padded_box_of_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
api(custom) function i64 view_relative_character_from_pos(Application_Links* app, View_ID view_id, i64 base_line, i64 pos);
|
||||
api(custom) function i64 view_pos_from_relative_character(Application_Links* app, View_ID view_id, i64 base_line, i64 character);
|
||||
api(custom) function b32 buffer_exists(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Access_Flag buffer_get_access_flags(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function i64 buffer_get_size(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function i64 buffer_get_line_count(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function String_Const_u8 push_buffer_base_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
api(custom) function String_Const_u8 push_buffer_unique_name(Application_Links* app, Arena* out, Buffer_ID buffer_id);
|
||||
api(custom) function String_Const_u8 push_buffer_file_name(Application_Links* app, Arena* arena, Buffer_ID buffer_id);
|
||||
api(custom) function Dirty_State buffer_get_dirty_state(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function b32 buffer_set_dirty_state(Application_Links* app, Buffer_ID buffer_id, Dirty_State dirty_state);
|
||||
api(custom) function b32 buffer_set_layout(Application_Links* app, Buffer_ID buffer_id, Layout_Function* layout_func);
|
||||
api(custom) function b32 buffer_clear_layout_cache(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Layout_Function* buffer_get_layout(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function b32 buffer_get_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64* value_out);
|
||||
api(custom) function b32 buffer_set_setting(Application_Links* app, Buffer_ID buffer_id, Buffer_Setting_ID setting, i64 value);
|
||||
api(custom) function Managed_Scope buffer_get_managed_scope(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function b32 buffer_send_end_signal(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Buffer_ID create_buffer(Application_Links* app, String_Const_u8 file_name, Buffer_Create_Flag flags);
|
||||
api(custom) function b32 buffer_save(Application_Links* app, Buffer_ID buffer_id, String_Const_u8 file_name, Buffer_Save_Flag flags);
|
||||
api(custom) function Buffer_Kill_Result buffer_kill(Application_Links* app, Buffer_ID buffer_id, Buffer_Kill_Flag flags);
|
||||
api(custom) function Buffer_Reopen_Result buffer_reopen(Application_Links* app, Buffer_ID buffer_id, Buffer_Reopen_Flag flags);
|
||||
api(custom) function File_Attributes buffer_get_file_attributes(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function View_ID get_view_next(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
api(custom) function View_ID get_view_prev(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
api(custom) function View_ID get_this_ctx_view(Application_Links* app, Access_Flag access);
|
||||
api(custom) function View_ID get_active_view(Application_Links* app, Access_Flag access);
|
||||
api(custom) function b32 view_exists(Application_Links* app, View_ID view_id);
|
||||
api(custom) function Buffer_ID view_get_buffer(Application_Links* app, View_ID view_id, Access_Flag access);
|
||||
api(custom) function i64 view_get_cursor_pos(Application_Links* app, View_ID view_id);
|
||||
api(custom) function i64 view_get_mark_pos(Application_Links* app, View_ID view_id);
|
||||
api(custom) function f32 view_get_preferred_x(Application_Links* app, View_ID view_id);
|
||||
api(custom) function b32 view_set_preferred_x(Application_Links* app, View_ID view_id, f32 x);
|
||||
api(custom) function Rect_f32 view_get_screen_rect(Application_Links* app, View_ID view_id);
|
||||
api(custom) function Panel_ID view_get_panel(Application_Links* app, View_ID view_id);
|
||||
api(custom) function View_ID panel_get_view(Application_Links* app, Panel_ID panel_id, Access_Flag access);
|
||||
api(custom) function b32 panel_is_split(Application_Links* app, Panel_ID panel_id);
|
||||
api(custom) function b32 panel_is_leaf(Application_Links* app, Panel_ID panel_id);
|
||||
api(custom) function b32 panel_split(Application_Links* app, Panel_ID panel_id, Dimension split_dim);
|
||||
api(custom) function b32 panel_set_split(Application_Links* app, Panel_ID panel_id, Panel_Split_Kind kind, f32 t);
|
||||
api(custom) function b32 panel_swap_children(Application_Links* app, Panel_ID panel_id);
|
||||
api(custom) function Panel_ID panel_get_root(Application_Links* app);
|
||||
api(custom) function Panel_ID panel_get_parent(Application_Links* app, Panel_ID panel_id);
|
||||
api(custom) function Panel_ID panel_get_child(Application_Links* app, Panel_ID panel_id, Side which_child);
|
||||
api(custom) function b32 view_close(Application_Links* app, View_ID view_id);
|
||||
api(custom) function Rect_f32 view_get_buffer_region(Application_Links* app, View_ID view_id);
|
||||
api(custom) function Buffer_Scroll view_get_buffer_scroll(Application_Links* app, View_ID view_id);
|
||||
api(custom) function b32 view_set_active(Application_Links* app, View_ID view_id);
|
||||
api(custom) function b32 view_enqueue_command_function(Application_Links* app, View_ID view_id, Custom_Command_Function* custom_func);
|
||||
api(custom) function b32 view_get_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64* value_out);
|
||||
api(custom) function b32 view_set_setting(Application_Links* app, View_ID view_id, View_Setting_ID setting, i64 value);
|
||||
api(custom) function Managed_Scope view_get_managed_scope(Application_Links* app, View_ID view_id);
|
||||
api(custom) function Buffer_Cursor buffer_compute_cursor(Application_Links* app, Buffer_ID buffer, Buffer_Seek seek);
|
||||
api(custom) function Buffer_Cursor view_compute_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
api(custom) function b32 view_set_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32 margin, Vec2_f32 push_in_multiplier);
|
||||
api(custom) function b32 view_get_camera_bounds(Application_Links* app, View_ID view_id, Vec2_f32* margin, Vec2_f32* push_in_multiplier);
|
||||
api(custom) function b32 view_set_cursor(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
api(custom) function b32 view_set_buffer_scroll(Application_Links* app, View_ID view_id, Buffer_Scroll scroll, Set_Buffer_Scroll_Rule rule);
|
||||
api(custom) function b32 view_set_mark(Application_Links* app, View_ID view_id, Buffer_Seek seek);
|
||||
api(custom) function b32 view_quit_ui(Application_Links* app, View_ID view_id);
|
||||
api(custom) function b32 view_set_buffer(Application_Links* app, View_ID view_id, Buffer_ID buffer_id, Set_Buffer_Flag flags);
|
||||
api(custom) function b32 view_push_context(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
api(custom) function b32 view_pop_context(Application_Links* app, View_ID view_id);
|
||||
api(custom) function b32 view_alter_context(Application_Links* app, View_ID view_id, View_Context* ctx);
|
||||
api(custom) function View_Context view_current_context(Application_Links* app, View_ID view_id);
|
||||
api(custom) function String_Const_u8 view_current_context_hook_memory(Application_Links* app, View_ID view_id, Hook_ID hook_id);
|
||||
api(custom) function Managed_Scope create_user_managed_scope(Application_Links* app);
|
||||
api(custom) function b32 destroy_user_managed_scope(Application_Links* app, Managed_Scope scope);
|
||||
api(custom) function Managed_Scope get_global_managed_scope(Application_Links* app);
|
||||
api(custom) function Managed_Scope get_managed_scope_with_multiple_dependencies(Application_Links* app, Managed_Scope* scopes, i32 count);
|
||||
api(custom) function b32 managed_scope_clear_contents(Application_Links* app, Managed_Scope scope);
|
||||
api(custom) function b32 managed_scope_clear_self_all_dependent_scopes(Application_Links* app, Managed_Scope scope);
|
||||
api(custom) function Base_Allocator* managed_scope_allocator(Application_Links* app, Managed_Scope scope);
|
||||
api(custom) function u64 managed_id_group_highest_id(Application_Links* app, String_Const_u8 group);
|
||||
api(custom) function Managed_ID managed_id_declare(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
api(custom) function Managed_ID managed_id_get(Application_Links* app, String_Const_u8 group, String_Const_u8 name);
|
||||
api(custom) function void* managed_scope_get_attachment(Application_Links* app, Managed_Scope scope, Managed_ID id, u64 size);
|
||||
api(custom) function b32 managed_scope_attachment_erase(Application_Links* app, Managed_Scope scope, Managed_ID id);
|
||||
api(custom) function Managed_Object alloc_managed_memory_in_scope(Application_Links* app, Managed_Scope scope, i32 item_size, i32 count);
|
||||
api(custom) function Managed_Object alloc_buffer_markers_on_buffer(Application_Links* app, Buffer_ID buffer_id, i32 count, Managed_Scope* optional_extra_scope);
|
||||
api(custom) function u32 managed_object_get_item_size(Application_Links* app, Managed_Object object);
|
||||
api(custom) function u32 managed_object_get_item_count(Application_Links* app, Managed_Object object);
|
||||
api(custom) function void* managed_object_get_pointer(Application_Links* app, Managed_Object object);
|
||||
api(custom) function Managed_Object_Type managed_object_get_type(Application_Links* app, Managed_Object object);
|
||||
api(custom) function Managed_Scope managed_object_get_containing_scope(Application_Links* app, Managed_Object object);
|
||||
api(custom) function b32 managed_object_free(Application_Links* app, Managed_Object object);
|
||||
api(custom) function b32 managed_object_store_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem);
|
||||
api(custom) function b32 managed_object_load_data(Application_Links* app, Managed_Object object, u32 first_index, u32 count, void* mem_out);
|
||||
api(custom) function User_Input get_next_input_raw(Application_Links* app);
|
||||
api(custom) function i64 get_current_input_sequence_number(Application_Links* app);
|
||||
api(custom) function User_Input get_current_input(Application_Links* app);
|
||||
api(custom) function void set_current_input(Application_Links* app, User_Input* input);
|
||||
api(custom) function void leave_current_input_unhandled(Application_Links* app);
|
||||
api(custom) function void set_custom_hook(Application_Links* app, Hook_ID hook_id, Void_Func* func_ptr);
|
||||
api(custom) function Void_Func* get_custom_hook(Application_Links* app, Hook_ID hook_id);
|
||||
api(custom) function b32 set_custom_hook_memory_size(Application_Links* app, Hook_ID hook_id, u64 size);
|
||||
api(custom) function Mouse_State get_mouse_state(Application_Links* app);
|
||||
api(custom) function b32 get_active_query_bars(Application_Links* app, View_ID view_id, i32 max_result_count, Query_Bar_Ptr_Array* array_out);
|
||||
api(custom) function b32 start_query_bar(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
api(custom) function void end_query_bar(Application_Links* app, Query_Bar* bar, u32 flags);
|
||||
api(custom) function void clear_all_query_bars(Application_Links* app, View_ID view_id);
|
||||
api(custom) function void print_message(Application_Links* app, String_Const_u8 message);
|
||||
api(custom) function b32 log_string(Application_Links* app, String_Const_u8 str);
|
||||
api(custom) function Face_ID get_largest_face_id(Application_Links* app);
|
||||
api(custom) function b32 set_global_face(Application_Links* app, Face_ID id);
|
||||
api(custom) function History_Record_Index buffer_history_get_max_record_index(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Record_Info buffer_history_get_record_info(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
api(custom) function Record_Info buffer_history_get_group_sub_record(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index, i32 sub_index);
|
||||
api(custom) function History_Record_Index buffer_history_get_current_state_index(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function b32 buffer_history_set_current_state_index(Application_Links* app, Buffer_ID buffer_id, History_Record_Index index);
|
||||
api(custom) function b32 buffer_history_merge_record_range(Application_Links* app, Buffer_ID buffer_id, History_Record_Index first_index, History_Record_Index last_index, Record_Merge_Flag flags);
|
||||
api(custom) function b32 buffer_history_clear_after_current_state(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function void global_history_edit_group_begin(Application_Links* app);
|
||||
api(custom) function void global_history_edit_group_end(Application_Links* app);
|
||||
api(custom) function b32 buffer_set_face(Application_Links* app, Buffer_ID buffer_id, Face_ID id);
|
||||
api(custom) function Face_Description get_face_description(Application_Links* app, Face_ID face_id);
|
||||
api(custom) function Face_Metrics get_face_metrics(Application_Links* app, Face_ID face_id);
|
||||
api(custom) function Face_Advance_Map get_face_advance_map(Application_Links* app, Face_ID face_id);
|
||||
api(custom) function Face_ID get_face_id(Application_Links* app, Buffer_ID buffer_id);
|
||||
api(custom) function Face_ID try_create_new_face(Application_Links* app, Face_Description* description);
|
||||
api(custom) function b32 try_modify_face(Application_Links* app, Face_ID id, Face_Description* description);
|
||||
api(custom) function b32 try_release_face(Application_Links* app, Face_ID id, Face_ID replacement_id);
|
||||
api(custom) function String_Const_u8 push_hot_directory(Application_Links* app, Arena* arena);
|
||||
api(custom) function void set_hot_directory(Application_Links* app, String_Const_u8 string);
|
||||
api(custom) function void send_exit_signal(Application_Links* app);
|
||||
api(custom) function void hard_exit(Application_Links* app);
|
||||
api(custom) function void set_window_title(Application_Links* app, String_Const_u8 title);
|
||||
api(custom) function void acquire_global_frame_mutex(Application_Links* app);
|
||||
api(custom) function void release_global_frame_mutex(Application_Links* app);
|
||||
api(custom) function Vec2_f32 draw_string_oriented(Application_Links* app, Face_ID font_id, ARGB_Color color, String_Const_u8 str, Vec2_f32 point, u32 flags, Vec2_f32 delta);
|
||||
api(custom) function f32 get_string_advance(Application_Links* app, Face_ID font_id, String_Const_u8 str);
|
||||
api(custom) function void draw_rectangle(Application_Links* app, Rect_f32 rect, f32 roundness, ARGB_Color color);
|
||||
api(custom) function void draw_rectangle_outline(Application_Links* app, Rect_f32 rect, f32 roundness, f32 thickness, ARGB_Color color);
|
||||
api(custom) function Rect_f32 draw_set_clip(Application_Links* app, Rect_f32 new_clip);
|
||||
api(custom) function Text_Layout_ID text_layout_create(Application_Links* app, Buffer_ID buffer_id, Rect_f32 rect, Buffer_Point buffer_point);
|
||||
api(custom) function Rect_f32 text_layout_region(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
api(custom) function Buffer_ID text_layout_get_buffer(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
api(custom) function Range_i64 text_layout_get_visible_range(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
api(custom) function Range_f32 text_layout_line_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 line_number);
|
||||
api(custom) function Rect_f32 text_layout_character_on_screen(Application_Links* app, Text_Layout_ID layout_id, i64 pos);
|
||||
api(custom) function void paint_text_color(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color);
|
||||
api(custom) function void paint_text_color_blend(Application_Links* app, Text_Layout_ID layout_id, Range_i64 range, ARGB_Color color, f32 blend);
|
||||
api(custom) function b32 text_layout_free(Application_Links* app, Text_Layout_ID text_layout_id);
|
||||
api(custom) function void draw_text_layout(Application_Links* app, Text_Layout_ID layout_id, ARGB_Color special_color, ARGB_Color ghost_color);
|
||||
api(custom) function void open_color_picker(Application_Links* app, Color_Picker* picker);
|
||||
api(custom) function void animate_in_n_milliseconds(Application_Links* app, u32 n);
|
||||
api(custom) function String_Match_List buffer_find_all_matches(Application_Links* app, Arena* arena, Buffer_ID buffer, i32 string_id, Range_i64 range, String_Const_u8 needle, Character_Predicate* predicate, Scan_Direction direction);
|
||||
api(custom) function Profile_Global_List* get_core_profile_list(Application_Links* app);
|
||||
api(custom) function Doc_Cluster* get_custom_layer_boundary_docs(Application_Links* app, Arena* arena);
|
File diff suppressed because it is too large
Load Diff
|
@ -1,375 +0,0 @@
|
|||
#if !defined(FCODER_LEX_GEN_HAND_WRITTEN_TYPES)
|
||||
#define FCODER_LEX_GEN_HAND_WRITTEN_TYPES
|
||||
|
||||
struct Lexeme_Table_Value{
|
||||
Token_Base_Kind base_kind;
|
||||
u16 sub_kind;
|
||||
};
|
||||
|
||||
struct Lexeme_Table_Lookup{
|
||||
b32 found_match;
|
||||
Token_Base_Kind base_kind;
|
||||
u16 sub_kind;
|
||||
};
|
||||
|
||||
#endif
|
||||
typedef u16 Token_Cpp_Kind;
|
||||
enum{
|
||||
TokenCppKind_EOF = 0,
|
||||
TokenCppKind_Whitespace = 1,
|
||||
TokenCppKind_LexError = 2,
|
||||
TokenCppKind_BlockComment = 3,
|
||||
TokenCppKind_LineComment = 4,
|
||||
TokenCppKind_Backslash = 5,
|
||||
TokenCppKind_LiteralInteger = 6,
|
||||
TokenCppKind_LiteralIntegerU = 7,
|
||||
TokenCppKind_LiteralIntegerL = 8,
|
||||
TokenCppKind_LiteralIntegerUL = 9,
|
||||
TokenCppKind_LiteralIntegerLL = 10,
|
||||
TokenCppKind_LiteralIntegerULL = 11,
|
||||
TokenCppKind_LiteralIntegerHex = 12,
|
||||
TokenCppKind_LiteralIntegerHexU = 13,
|
||||
TokenCppKind_LiteralIntegerHexL = 14,
|
||||
TokenCppKind_LiteralIntegerHexUL = 15,
|
||||
TokenCppKind_LiteralIntegerHexLL = 16,
|
||||
TokenCppKind_LiteralIntegerHexULL = 17,
|
||||
TokenCppKind_LiteralIntegerOct = 18,
|
||||
TokenCppKind_LiteralIntegerOctU = 19,
|
||||
TokenCppKind_LiteralIntegerOctL = 20,
|
||||
TokenCppKind_LiteralIntegerOctUL = 21,
|
||||
TokenCppKind_LiteralIntegerOctLL = 22,
|
||||
TokenCppKind_LiteralIntegerOctULL = 23,
|
||||
TokenCppKind_LiteralFloat32 = 24,
|
||||
TokenCppKind_LiteralFloat64 = 25,
|
||||
TokenCppKind_LiteralString = 26,
|
||||
TokenCppKind_LiteralStringWide = 27,
|
||||
TokenCppKind_LiteralStringUTF8 = 28,
|
||||
TokenCppKind_LiteralStringUTF16 = 29,
|
||||
TokenCppKind_LiteralStringUTF32 = 30,
|
||||
TokenCppKind_LiteralStringRaw = 31,
|
||||
TokenCppKind_LiteralStringWideRaw = 32,
|
||||
TokenCppKind_LiteralStringUTF8Raw = 33,
|
||||
TokenCppKind_LiteralStringUTF16Raw = 34,
|
||||
TokenCppKind_LiteralStringUTF32Raw = 35,
|
||||
TokenCppKind_LiteralCharacter = 36,
|
||||
TokenCppKind_LiteralCharacterWide = 37,
|
||||
TokenCppKind_LiteralCharacterUTF8 = 38,
|
||||
TokenCppKind_LiteralCharacterUTF16 = 39,
|
||||
TokenCppKind_LiteralCharacterUTF32 = 40,
|
||||
TokenCppKind_PPIncludeFile = 41,
|
||||
TokenCppKind_PPErrorMessage = 42,
|
||||
TokenCppKind_KeywordGeneric = 43,
|
||||
TokenCppKind_BraceOp = 44,
|
||||
TokenCppKind_BraceCl = 45,
|
||||
TokenCppKind_ParenOp = 46,
|
||||
TokenCppKind_BrackOp = 47,
|
||||
TokenCppKind_ParenCl = 48,
|
||||
TokenCppKind_BrackCl = 49,
|
||||
TokenCppKind_Semicolon = 50,
|
||||
TokenCppKind_Colon = 51,
|
||||
TokenCppKind_DotDotDot = 52,
|
||||
TokenCppKind_ColonColon = 53,
|
||||
TokenCppKind_PlusPlus = 54,
|
||||
TokenCppKind_MinusMinus = 55,
|
||||
TokenCppKind_Dot = 56,
|
||||
TokenCppKind_Arrow = 57,
|
||||
TokenCppKind_Plus = 58,
|
||||
TokenCppKind_Minus = 59,
|
||||
TokenCppKind_Not = 60,
|
||||
TokenCppKind_Tilde = 61,
|
||||
TokenCppKind_Star = 62,
|
||||
TokenCppKind_And = 63,
|
||||
TokenCppKind_DotStar = 64,
|
||||
TokenCppKind_ArrowStar = 65,
|
||||
TokenCppKind_Div = 66,
|
||||
TokenCppKind_Mod = 67,
|
||||
TokenCppKind_LeftLeft = 68,
|
||||
TokenCppKind_RightRight = 69,
|
||||
TokenCppKind_Compare = 70,
|
||||
TokenCppKind_Less = 71,
|
||||
TokenCppKind_LessEq = 72,
|
||||
TokenCppKind_Grtr = 73,
|
||||
TokenCppKind_GrtrEq = 74,
|
||||
TokenCppKind_EqEq = 75,
|
||||
TokenCppKind_NotEq = 76,
|
||||
TokenCppKind_Xor = 77,
|
||||
TokenCppKind_Or = 78,
|
||||
TokenCppKind_AndAnd = 79,
|
||||
TokenCppKind_OrOr = 80,
|
||||
TokenCppKind_Ternary = 81,
|
||||
TokenCppKind_Eq = 82,
|
||||
TokenCppKind_PlusEq = 83,
|
||||
TokenCppKind_MinusEq = 84,
|
||||
TokenCppKind_StarEq = 85,
|
||||
TokenCppKind_DivEq = 86,
|
||||
TokenCppKind_ModEq = 87,
|
||||
TokenCppKind_LeftLeftEq = 88,
|
||||
TokenCppKind_RightRightEq = 89,
|
||||
TokenCppKind_Comma = 90,
|
||||
TokenCppKind_PPStringify = 91,
|
||||
TokenCppKind_PPConcat = 92,
|
||||
TokenCppKind_Void = 93,
|
||||
TokenCppKind_Bool = 94,
|
||||
TokenCppKind_Char = 95,
|
||||
TokenCppKind_Int = 96,
|
||||
TokenCppKind_Float = 97,
|
||||
TokenCppKind_Double = 98,
|
||||
TokenCppKind_Long = 99,
|
||||
TokenCppKind_Short = 100,
|
||||
TokenCppKind_Unsigned = 101,
|
||||
TokenCppKind_Signed = 102,
|
||||
TokenCppKind_Const = 103,
|
||||
TokenCppKind_Volatile = 104,
|
||||
TokenCppKind_Asm = 105,
|
||||
TokenCppKind_Break = 106,
|
||||
TokenCppKind_Case = 107,
|
||||
TokenCppKind_Catch = 108,
|
||||
TokenCppKind_Continue = 109,
|
||||
TokenCppKind_Default = 110,
|
||||
TokenCppKind_Do = 111,
|
||||
TokenCppKind_Else = 112,
|
||||
TokenCppKind_For = 113,
|
||||
TokenCppKind_Goto = 114,
|
||||
TokenCppKind_If = 115,
|
||||
TokenCppKind_Return = 116,
|
||||
TokenCppKind_Switch = 117,
|
||||
TokenCppKind_Try = 118,
|
||||
TokenCppKind_While = 119,
|
||||
TokenCppKind_StaticAssert = 120,
|
||||
TokenCppKind_ConstCast = 121,
|
||||
TokenCppKind_DynamicCast = 122,
|
||||
TokenCppKind_ReinterpretCast = 123,
|
||||
TokenCppKind_StaticCast = 124,
|
||||
TokenCppKind_Class = 125,
|
||||
TokenCppKind_Enum = 126,
|
||||
TokenCppKind_Struct = 127,
|
||||
TokenCppKind_Typedef = 128,
|
||||
TokenCppKind_Union = 129,
|
||||
TokenCppKind_Template = 130,
|
||||
TokenCppKind_Typename = 131,
|
||||
TokenCppKind_Friend = 132,
|
||||
TokenCppKind_Namespace = 133,
|
||||
TokenCppKind_Private = 134,
|
||||
TokenCppKind_Protected = 135,
|
||||
TokenCppKind_Public = 136,
|
||||
TokenCppKind_Using = 137,
|
||||
TokenCppKind_Extern = 138,
|
||||
TokenCppKind_Export = 139,
|
||||
TokenCppKind_Inline = 140,
|
||||
TokenCppKind_Static = 141,
|
||||
TokenCppKind_Virtual = 142,
|
||||
TokenCppKind_AlignAs = 143,
|
||||
TokenCppKind_Explicit = 144,
|
||||
TokenCppKind_NoExcept = 145,
|
||||
TokenCppKind_NullPtr = 146,
|
||||
TokenCppKind_Operator = 147,
|
||||
TokenCppKind_Register = 148,
|
||||
TokenCppKind_This = 149,
|
||||
TokenCppKind_ThreadLocal = 150,
|
||||
TokenCppKind_SizeOf = 151,
|
||||
TokenCppKind_AlignOf = 152,
|
||||
TokenCppKind_DeclType = 153,
|
||||
TokenCppKind_TypeID = 154,
|
||||
TokenCppKind_New = 155,
|
||||
TokenCppKind_Delete = 156,
|
||||
TokenCppKind_LiteralTrue = 157,
|
||||
TokenCppKind_LiteralFalse = 158,
|
||||
TokenCppKind_Identifier = 159,
|
||||
TokenCppKind_PPInclude = 160,
|
||||
TokenCppKind_PPVersion = 161,
|
||||
TokenCppKind_PPDefine = 162,
|
||||
TokenCppKind_PPUndef = 163,
|
||||
TokenCppKind_PPIf = 164,
|
||||
TokenCppKind_PPIfDef = 165,
|
||||
TokenCppKind_PPIfNDef = 166,
|
||||
TokenCppKind_PPElse = 167,
|
||||
TokenCppKind_PPElIf = 168,
|
||||
TokenCppKind_PPEndIf = 169,
|
||||
TokenCppKind_PPError = 170,
|
||||
TokenCppKind_PPImport = 171,
|
||||
TokenCppKind_PPUsing = 172,
|
||||
TokenCppKind_PPLine = 173,
|
||||
TokenCppKind_PPPragma = 174,
|
||||
TokenCppKind_PPUnknown = 175,
|
||||
TokenCppKind_PPDefined = 176,
|
||||
TokenCppKind_COUNT = 177,
|
||||
};
|
||||
char *token_cpp_kind_names[] = {
|
||||
"EOF",
|
||||
"Whitespace",
|
||||
"LexError",
|
||||
"BlockComment",
|
||||
"LineComment",
|
||||
"Backslash",
|
||||
"LiteralInteger",
|
||||
"LiteralIntegerU",
|
||||
"LiteralIntegerL",
|
||||
"LiteralIntegerUL",
|
||||
"LiteralIntegerLL",
|
||||
"LiteralIntegerULL",
|
||||
"LiteralIntegerHex",
|
||||
"LiteralIntegerHexU",
|
||||
"LiteralIntegerHexL",
|
||||
"LiteralIntegerHexUL",
|
||||
"LiteralIntegerHexLL",
|
||||
"LiteralIntegerHexULL",
|
||||
"LiteralIntegerOct",
|
||||
"LiteralIntegerOctU",
|
||||
"LiteralIntegerOctL",
|
||||
"LiteralIntegerOctUL",
|
||||
"LiteralIntegerOctLL",
|
||||
"LiteralIntegerOctULL",
|
||||
"LiteralFloat32",
|
||||
"LiteralFloat64",
|
||||
"LiteralString",
|
||||
"LiteralStringWide",
|
||||
"LiteralStringUTF8",
|
||||
"LiteralStringUTF16",
|
||||
"LiteralStringUTF32",
|
||||
"LiteralStringRaw",
|
||||
"LiteralStringWideRaw",
|
||||
"LiteralStringUTF8Raw",
|
||||
"LiteralStringUTF16Raw",
|
||||
"LiteralStringUTF32Raw",
|
||||
"LiteralCharacter",
|
||||
"LiteralCharacterWide",
|
||||
"LiteralCharacterUTF8",
|
||||
"LiteralCharacterUTF16",
|
||||
"LiteralCharacterUTF32",
|
||||
"PPIncludeFile",
|
||||
"PPErrorMessage",
|
||||
"KeywordGeneric",
|
||||
"BraceOp",
|
||||
"BraceCl",
|
||||
"ParenOp",
|
||||
"BrackOp",
|
||||
"ParenCl",
|
||||
"BrackCl",
|
||||
"Semicolon",
|
||||
"Colon",
|
||||
"DotDotDot",
|
||||
"ColonColon",
|
||||
"PlusPlus",
|
||||
"MinusMinus",
|
||||
"Dot",
|
||||
"Arrow",
|
||||
"Plus",
|
||||
"Minus",
|
||||
"Not",
|
||||
"Tilde",
|
||||
"Star",
|
||||
"And",
|
||||
"DotStar",
|
||||
"ArrowStar",
|
||||
"Div",
|
||||
"Mod",
|
||||
"LeftLeft",
|
||||
"RightRight",
|
||||
"Compare",
|
||||
"Less",
|
||||
"LessEq",
|
||||
"Grtr",
|
||||
"GrtrEq",
|
||||
"EqEq",
|
||||
"NotEq",
|
||||
"Xor",
|
||||
"Or",
|
||||
"AndAnd",
|
||||
"OrOr",
|
||||
"Ternary",
|
||||
"Eq",
|
||||
"PlusEq",
|
||||
"MinusEq",
|
||||
"StarEq",
|
||||
"DivEq",
|
||||
"ModEq",
|
||||
"LeftLeftEq",
|
||||
"RightRightEq",
|
||||
"Comma",
|
||||
"PPStringify",
|
||||
"PPConcat",
|
||||
"Void",
|
||||
"Bool",
|
||||
"Char",
|
||||
"Int",
|
||||
"Float",
|
||||
"Double",
|
||||
"Long",
|
||||
"Short",
|
||||
"Unsigned",
|
||||
"Signed",
|
||||
"Const",
|
||||
"Volatile",
|
||||
"Asm",
|
||||
"Break",
|
||||
"Case",
|
||||
"Catch",
|
||||
"Continue",
|
||||
"Default",
|
||||
"Do",
|
||||
"Else",
|
||||
"For",
|
||||
"Goto",
|
||||
"If",
|
||||
"Return",
|
||||
"Switch",
|
||||
"Try",
|
||||
"While",
|
||||
"StaticAssert",
|
||||
"ConstCast",
|
||||
"DynamicCast",
|
||||
"ReinterpretCast",
|
||||
"StaticCast",
|
||||
"Class",
|
||||
"Enum",
|
||||
"Struct",
|
||||
"Typedef",
|
||||
"Union",
|
||||
"Template",
|
||||
"Typename",
|
||||
"Friend",
|
||||
"Namespace",
|
||||
"Private",
|
||||
"Protected",
|
||||
"Public",
|
||||
"Using",
|
||||
"Extern",
|
||||
"Export",
|
||||
"Inline",
|
||||
"Static",
|
||||
"Virtual",
|
||||
"AlignAs",
|
||||
"Explicit",
|
||||
"NoExcept",
|
||||
"NullPtr",
|
||||
"Operator",
|
||||
"Register",
|
||||
"This",
|
||||
"ThreadLocal",
|
||||
"SizeOf",
|
||||
"AlignOf",
|
||||
"DeclType",
|
||||
"TypeID",
|
||||
"New",
|
||||
"Delete",
|
||||
"LiteralTrue",
|
||||
"LiteralFalse",
|
||||
"Identifier",
|
||||
"PPInclude",
|
||||
"PPVersion",
|
||||
"PPDefine",
|
||||
"PPUndef",
|
||||
"PPIf",
|
||||
"PPIfDef",
|
||||
"PPIfNDef",
|
||||
"PPElse",
|
||||
"PPElIf",
|
||||
"PPEndIf",
|
||||
"PPError",
|
||||
"PPImport",
|
||||
"PPUsing",
|
||||
"PPLine",
|
||||
"PPPragma",
|
||||
"PPUnknown",
|
||||
"PPDefined",
|
||||
};
|
|
@ -1,65 +0,0 @@
|
|||
function void
|
||||
initialize_managed_id_metadata(Application_Links *app){
|
||||
defcolor_bar = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_bar"));
|
||||
defcolor_base = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_base"));
|
||||
defcolor_pop1 = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_pop1"));
|
||||
defcolor_pop2 = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_pop2"));
|
||||
defcolor_back = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_back"));
|
||||
defcolor_margin = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_margin"));
|
||||
defcolor_margin_hover = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_margin_hover"));
|
||||
defcolor_margin_active = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_margin_active"));
|
||||
defcolor_list_item = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_list_item"));
|
||||
defcolor_list_item_hover = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_list_item_hover"));
|
||||
defcolor_list_item_active = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_list_item_active"));
|
||||
defcolor_cursor = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_cursor"));
|
||||
defcolor_at_cursor = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_at_cursor"));
|
||||
defcolor_highlight_cursor_line = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_highlight_cursor_line"));
|
||||
defcolor_highlight = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_highlight"));
|
||||
defcolor_at_highlight = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_at_highlight"));
|
||||
defcolor_mark = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_mark"));
|
||||
defcolor_text_default = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_text_default"));
|
||||
defcolor_comment = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_comment"));
|
||||
defcolor_comment_pop = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_comment_pop"));
|
||||
defcolor_keyword = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_keyword"));
|
||||
defcolor_str_constant = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_str_constant"));
|
||||
defcolor_char_constant = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_char_constant"));
|
||||
defcolor_int_constant = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_int_constant"));
|
||||
defcolor_float_constant = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_float_constant"));
|
||||
defcolor_bool_constant = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_bool_constant"));
|
||||
defcolor_preproc = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_preproc"));
|
||||
defcolor_include = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_include"));
|
||||
defcolor_special_character = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_special_character"));
|
||||
defcolor_ghost_character = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_ghost_character"));
|
||||
defcolor_highlight_junk = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_highlight_junk"));
|
||||
defcolor_highlight_white = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_highlight_white"));
|
||||
defcolor_paste = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_paste"));
|
||||
defcolor_undo = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_undo"));
|
||||
defcolor_back_cycle = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_back_cycle"));
|
||||
defcolor_text_cycle = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_text_cycle"));
|
||||
defcolor_line_numbers_back = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_line_numbers_back"));
|
||||
defcolor_line_numbers_text = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_line_numbers_text"));
|
||||
defcolor_function = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_function"));
|
||||
defcolor_operator = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_operator"));
|
||||
defcolor_type = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_type"));
|
||||
defcolor_macro = managed_id_declare(app, string_u8_litexpr("colors"), string_u8_litexpr("defcolor_macro"));
|
||||
view_rewrite_loc = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_rewrite_loc"));
|
||||
view_next_rewrite_loc = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_next_rewrite_loc"));
|
||||
view_paste_index_loc = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_paste_index_loc"));
|
||||
view_is_passive_loc = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_is_passive_loc"));
|
||||
view_snap_mark_to_cursor = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_snap_mark_to_cursor"));
|
||||
view_ui_data = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_ui_data"));
|
||||
view_highlight_range = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_highlight_range"));
|
||||
view_highlight_buffer = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_highlight_buffer"));
|
||||
view_render_hook = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_render_hook"));
|
||||
view_word_complete_menu = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_word_complete_menu"));
|
||||
view_lister_loc = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_lister_loc"));
|
||||
view_previous_buffer = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("view_previous_buffer"));
|
||||
buffer_map_id = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("buffer_map_id"));
|
||||
buffer_eol_setting = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("buffer_eol_setting"));
|
||||
buffer_lex_task = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("buffer_lex_task"));
|
||||
buffer_wrap_lines = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("buffer_wrap_lines"));
|
||||
sticky_jump_marker_handle = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("sticky_jump_marker_handle"));
|
||||
attachment_tokens = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("attachment_tokens"));
|
||||
loco_marker_handle = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("loco_marker_handle"));
|
||||
loco_marker_pair_handle = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("loco_marker_pair_handle"));
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
/* Generated by "code/4ed_system_api.cpp" */
|
||||
|
||||
function void
|
||||
system_api_fill_vtable(API_VTable_system *vtable){
|
||||
vtable->error_box = system_error_box;
|
||||
vtable->get_path = system_get_path;
|
||||
vtable->get_canonical = system_get_canonical;
|
||||
vtable->get_file_list = system_get_file_list;
|
||||
vtable->quick_file_attributes = system_quick_file_attributes;
|
||||
vtable->load_handle = system_load_handle;
|
||||
vtable->load_attributes = system_load_attributes;
|
||||
vtable->load_file = system_load_file;
|
||||
vtable->load_close = system_load_close;
|
||||
vtable->save_file = system_save_file;
|
||||
vtable->load_library = system_load_library;
|
||||
vtable->release_library = system_release_library;
|
||||
vtable->get_proc = system_get_proc;
|
||||
vtable->now_time = system_now_time;
|
||||
vtable->now_date_time_universal = system_now_date_time_universal;
|
||||
vtable->local_date_time_from_universal = system_local_date_time_from_universal;
|
||||
vtable->universal_date_time_from_local = system_universal_date_time_from_local;
|
||||
vtable->wake_up_timer_create = system_wake_up_timer_create;
|
||||
vtable->wake_up_timer_release = system_wake_up_timer_release;
|
||||
vtable->wake_up_timer_set = system_wake_up_timer_set;
|
||||
vtable->signal_step = system_signal_step;
|
||||
vtable->sleep = system_sleep;
|
||||
vtable->get_clipboard = system_get_clipboard;
|
||||
vtable->post_clipboard = system_post_clipboard;
|
||||
vtable->set_clipboard_catch_all = system_set_clipboard_catch_all;
|
||||
vtable->get_clipboard_catch_all = system_get_clipboard_catch_all;
|
||||
vtable->cli_call = system_cli_call;
|
||||
vtable->cli_begin_update = system_cli_begin_update;
|
||||
vtable->cli_update_step = system_cli_update_step;
|
||||
vtable->cli_end_update = system_cli_end_update;
|
||||
vtable->open_color_picker = system_open_color_picker;
|
||||
vtable->get_screen_scale_factor = system_get_screen_scale_factor;
|
||||
vtable->thread_launch = system_thread_launch;
|
||||
vtable->thread_join = system_thread_join;
|
||||
vtable->thread_free = system_thread_free;
|
||||
vtable->thread_get_id = system_thread_get_id;
|
||||
vtable->acquire_global_frame_mutex = system_acquire_global_frame_mutex;
|
||||
vtable->release_global_frame_mutex = system_release_global_frame_mutex;
|
||||
vtable->mutex_make = system_mutex_make;
|
||||
vtable->mutex_acquire = system_mutex_acquire;
|
||||
vtable->mutex_release = system_mutex_release;
|
||||
vtable->mutex_free = system_mutex_free;
|
||||
vtable->condition_variable_make = system_condition_variable_make;
|
||||
vtable->condition_variable_wait = system_condition_variable_wait;
|
||||
vtable->condition_variable_signal = system_condition_variable_signal;
|
||||
vtable->condition_variable_free = system_condition_variable_free;
|
||||
vtable->memory_allocate = system_memory_allocate;
|
||||
vtable->memory_set_protection = system_memory_set_protection;
|
||||
vtable->memory_free = system_memory_free;
|
||||
vtable->memory_annotation = system_memory_annotation;
|
||||
vtable->show_mouse_cursor = system_show_mouse_cursor;
|
||||
vtable->set_fullscreen = system_set_fullscreen;
|
||||
vtable->is_fullscreen = system_is_fullscreen;
|
||||
vtable->get_keyboard_modifiers = system_get_keyboard_modifiers;
|
||||
vtable->set_key_mode = system_set_key_mode;
|
||||
vtable->set_source_mixer = system_set_source_mixer;
|
||||
vtable->set_destination_mixer = system_set_destination_mixer;
|
||||
}
|
||||
|
||||
#if defined(DYNAMIC_LINK_API)
|
||||
function void
|
||||
system_api_read_vtable(API_VTable_system *vtable){
|
||||
system_error_box = vtable->error_box;
|
||||
system_get_path = vtable->get_path;
|
||||
system_get_canonical = vtable->get_canonical;
|
||||
system_get_file_list = vtable->get_file_list;
|
||||
system_quick_file_attributes = vtable->quick_file_attributes;
|
||||
system_load_handle = vtable->load_handle;
|
||||
system_load_attributes = vtable->load_attributes;
|
||||
system_load_file = vtable->load_file;
|
||||
system_load_close = vtable->load_close;
|
||||
system_save_file = vtable->save_file;
|
||||
system_load_library = vtable->load_library;
|
||||
system_release_library = vtable->release_library;
|
||||
system_get_proc = vtable->get_proc;
|
||||
system_now_time = vtable->now_time;
|
||||
system_now_date_time_universal = vtable->now_date_time_universal;
|
||||
system_local_date_time_from_universal = vtable->local_date_time_from_universal;
|
||||
system_universal_date_time_from_local = vtable->universal_date_time_from_local;
|
||||
system_wake_up_timer_create = vtable->wake_up_timer_create;
|
||||
system_wake_up_timer_release = vtable->wake_up_timer_release;
|
||||
system_wake_up_timer_set = vtable->wake_up_timer_set;
|
||||
system_signal_step = vtable->signal_step;
|
||||
system_sleep = vtable->sleep;
|
||||
system_get_clipboard = vtable->get_clipboard;
|
||||
system_post_clipboard = vtable->post_clipboard;
|
||||
system_set_clipboard_catch_all = vtable->set_clipboard_catch_all;
|
||||
system_get_clipboard_catch_all = vtable->get_clipboard_catch_all;
|
||||
system_cli_call = vtable->cli_call;
|
||||
system_cli_begin_update = vtable->cli_begin_update;
|
||||
system_cli_update_step = vtable->cli_update_step;
|
||||
system_cli_end_update = vtable->cli_end_update;
|
||||
system_open_color_picker = vtable->open_color_picker;
|
||||
system_get_screen_scale_factor = vtable->get_screen_scale_factor;
|
||||
system_thread_launch = vtable->thread_launch;
|
||||
system_thread_join = vtable->thread_join;
|
||||
system_thread_free = vtable->thread_free;
|
||||
system_thread_get_id = vtable->thread_get_id;
|
||||
system_acquire_global_frame_mutex = vtable->acquire_global_frame_mutex;
|
||||
system_release_global_frame_mutex = vtable->release_global_frame_mutex;
|
||||
system_mutex_make = vtable->mutex_make;
|
||||
system_mutex_acquire = vtable->mutex_acquire;
|
||||
system_mutex_release = vtable->mutex_release;
|
||||
system_mutex_free = vtable->mutex_free;
|
||||
system_condition_variable_make = vtable->condition_variable_make;
|
||||
system_condition_variable_wait = vtable->condition_variable_wait;
|
||||
system_condition_variable_signal = vtable->condition_variable_signal;
|
||||
system_condition_variable_free = vtable->condition_variable_free;
|
||||
system_memory_allocate = vtable->memory_allocate;
|
||||
system_memory_set_protection = vtable->memory_set_protection;
|
||||
system_memory_free = vtable->memory_free;
|
||||
system_memory_annotation = vtable->memory_annotation;
|
||||
system_show_mouse_cursor = vtable->show_mouse_cursor;
|
||||
system_set_fullscreen = vtable->set_fullscreen;
|
||||
system_is_fullscreen = vtable->is_fullscreen;
|
||||
system_get_keyboard_modifiers = vtable->get_keyboard_modifiers;
|
||||
system_set_key_mode = vtable->set_key_mode;
|
||||
system_set_source_mixer = vtable->set_source_mixer;
|
||||
system_set_destination_mixer = vtable->set_destination_mixer;
|
||||
}
|
||||
#undef DYNAMIC_LINK_API
|
||||
#endif
|
|
@ -1,298 +0,0 @@
|
|||
/* Generated by "code/4ed_system_api.cpp" */
|
||||
|
||||
#define system_error_box_sig() void system_error_box(char* msg)
|
||||
#define system_get_path_sig() String_Const_u8 system_get_path(Arena* arena, System_Path_Code path_code)
|
||||
#define system_get_canonical_sig() String_Const_u8 system_get_canonical(Arena* arena, String_Const_u8 name)
|
||||
#define system_get_file_list_sig() File_List system_get_file_list(Arena* arena, String_Const_u8 directory)
|
||||
#define system_quick_file_attributes_sig() File_Attributes system_quick_file_attributes(Arena* scratch, String_Const_u8 file_name)
|
||||
#define system_load_handle_sig() b32 system_load_handle(Arena* scratch, char* file_name, Plat_Handle* out)
|
||||
#define system_load_attributes_sig() File_Attributes system_load_attributes(Plat_Handle handle)
|
||||
#define system_load_file_sig() b32 system_load_file(Plat_Handle handle, char* buffer, u32 size)
|
||||
#define system_load_close_sig() b32 system_load_close(Plat_Handle handle)
|
||||
#define system_save_file_sig() File_Attributes system_save_file(Arena* scratch, char* file_name, String_Const_u8 data)
|
||||
#define system_load_library_sig() b32 system_load_library(Arena* scratch, String_Const_u8 file_name, System_Library* out)
|
||||
#define system_release_library_sig() b32 system_release_library(System_Library handle)
|
||||
#define system_get_proc_sig() Void_Func* system_get_proc(System_Library handle, char* proc_name)
|
||||
#define system_now_time_sig() u64 system_now_time(void)
|
||||
#define system_now_date_time_universal_sig() Date_Time system_now_date_time_universal(void)
|
||||
#define system_local_date_time_from_universal_sig() Date_Time system_local_date_time_from_universal(Date_Time* date_time)
|
||||
#define system_universal_date_time_from_local_sig() Date_Time system_universal_date_time_from_local(Date_Time* date_time)
|
||||
#define system_wake_up_timer_create_sig() Plat_Handle system_wake_up_timer_create(void)
|
||||
#define system_wake_up_timer_release_sig() void system_wake_up_timer_release(Plat_Handle handle)
|
||||
#define system_wake_up_timer_set_sig() void system_wake_up_timer_set(Plat_Handle handle, u32 time_milliseconds)
|
||||
#define system_signal_step_sig() void system_signal_step(u32 code)
|
||||
#define system_sleep_sig() void system_sleep(u64 microseconds)
|
||||
#define system_get_clipboard_sig() String_Const_u8 system_get_clipboard(Arena* arena, i32 index)
|
||||
#define system_post_clipboard_sig() void system_post_clipboard(String_Const_u8 str, i32 index)
|
||||
#define system_set_clipboard_catch_all_sig() void system_set_clipboard_catch_all(b32 enabled)
|
||||
#define system_get_clipboard_catch_all_sig() b32 system_get_clipboard_catch_all(void)
|
||||
#define system_cli_call_sig() b32 system_cli_call(Arena* scratch, char* path, char* script, CLI_Handles* cli_out)
|
||||
#define system_cli_begin_update_sig() void system_cli_begin_update(CLI_Handles* cli)
|
||||
#define system_cli_update_step_sig() b32 system_cli_update_step(CLI_Handles* cli, char* dest, u32 max, u32* amount)
|
||||
#define system_cli_end_update_sig() b32 system_cli_end_update(CLI_Handles* cli)
|
||||
#define system_open_color_picker_sig() void system_open_color_picker(Color_Picker* picker)
|
||||
#define system_get_screen_scale_factor_sig() f32 system_get_screen_scale_factor(void)
|
||||
#define system_thread_launch_sig() System_Thread system_thread_launch(Thread_Function* proc, void* ptr)
|
||||
#define system_thread_join_sig() void system_thread_join(System_Thread thread)
|
||||
#define system_thread_free_sig() void system_thread_free(System_Thread thread)
|
||||
#define system_thread_get_id_sig() i32 system_thread_get_id(void)
|
||||
#define system_acquire_global_frame_mutex_sig() void system_acquire_global_frame_mutex(Thread_Context* tctx)
|
||||
#define system_release_global_frame_mutex_sig() void system_release_global_frame_mutex(Thread_Context* tctx)
|
||||
#define system_mutex_make_sig() System_Mutex system_mutex_make(void)
|
||||
#define system_mutex_acquire_sig() void system_mutex_acquire(System_Mutex mutex)
|
||||
#define system_mutex_release_sig() void system_mutex_release(System_Mutex mutex)
|
||||
#define system_mutex_free_sig() void system_mutex_free(System_Mutex mutex)
|
||||
#define system_condition_variable_make_sig() System_Condition_Variable system_condition_variable_make(void)
|
||||
#define system_condition_variable_wait_sig() void system_condition_variable_wait(System_Condition_Variable cv, System_Mutex mutex)
|
||||
#define system_condition_variable_signal_sig() void system_condition_variable_signal(System_Condition_Variable cv)
|
||||
#define system_condition_variable_free_sig() void system_condition_variable_free(System_Condition_Variable cv)
|
||||
#define system_memory_allocate_sig() void* system_memory_allocate(u64 size, String_Const_u8 location)
|
||||
#define system_memory_set_protection_sig() b32 system_memory_set_protection(void* ptr, u64 size, u32 flags)
|
||||
#define system_memory_free_sig() void system_memory_free(void* ptr, u64 size)
|
||||
#define system_memory_annotation_sig() Memory_Annotation system_memory_annotation(Arena* arena)
|
||||
#define system_show_mouse_cursor_sig() void system_show_mouse_cursor(i32 show)
|
||||
#define system_set_fullscreen_sig() b32 system_set_fullscreen(b32 full_screen)
|
||||
#define system_is_fullscreen_sig() b32 system_is_fullscreen(void)
|
||||
#define system_get_keyboard_modifiers_sig() Input_Modifier_Set system_get_keyboard_modifiers(Arena* arena)
|
||||
#define system_set_key_mode_sig() void system_set_key_mode(Key_Mode mode)
|
||||
#define system_set_source_mixer_sig() void system_set_source_mixer(void* ctx, Audio_Mix_Sources_Function* mix_func)
|
||||
#define system_set_destination_mixer_sig() void system_set_destination_mixer(Audio_Mix_Destination_Function* mix_func)
|
||||
|
||||
typedef void system_error_box_type(char* msg);
|
||||
typedef String_Const_u8 system_get_path_type(Arena* arena, System_Path_Code path_code);
|
||||
typedef String_Const_u8 system_get_canonical_type(Arena* arena, String_Const_u8 name);
|
||||
typedef File_List system_get_file_list_type(Arena* arena, String_Const_u8 directory);
|
||||
typedef File_Attributes system_quick_file_attributes_type(Arena* scratch, String_Const_u8 file_name);
|
||||
typedef b32 system_load_handle_type(Arena* scratch, char* file_name, Plat_Handle* out);
|
||||
typedef File_Attributes system_load_attributes_type(Plat_Handle handle);
|
||||
typedef b32 system_load_file_type(Plat_Handle handle, char* buffer, u32 size);
|
||||
typedef b32 system_load_close_type(Plat_Handle handle);
|
||||
typedef File_Attributes system_save_file_type(Arena* scratch, char* file_name, String_Const_u8 data);
|
||||
typedef b32 system_load_library_type(Arena* scratch, String_Const_u8 file_name, System_Library* out);
|
||||
typedef b32 system_release_library_type(System_Library handle);
|
||||
typedef Void_Func* system_get_proc_type(System_Library handle, char* proc_name);
|
||||
typedef u64 system_now_time_type(void);
|
||||
typedef Date_Time system_now_date_time_universal_type(void);
|
||||
typedef Date_Time system_local_date_time_from_universal_type(Date_Time* date_time);
|
||||
typedef Date_Time system_universal_date_time_from_local_type(Date_Time* date_time);
|
||||
typedef Plat_Handle system_wake_up_timer_create_type(void);
|
||||
typedef void system_wake_up_timer_release_type(Plat_Handle handle);
|
||||
typedef void system_wake_up_timer_set_type(Plat_Handle handle, u32 time_milliseconds);
|
||||
typedef void system_signal_step_type(u32 code);
|
||||
typedef void system_sleep_type(u64 microseconds);
|
||||
typedef String_Const_u8 system_get_clipboard_type(Arena* arena, i32 index);
|
||||
typedef void system_post_clipboard_type(String_Const_u8 str, i32 index);
|
||||
typedef void system_set_clipboard_catch_all_type(b32 enabled);
|
||||
typedef b32 system_get_clipboard_catch_all_type(void);
|
||||
typedef b32 system_cli_call_type(Arena* scratch, char* path, char* script, CLI_Handles* cli_out);
|
||||
typedef void system_cli_begin_update_type(CLI_Handles* cli);
|
||||
typedef b32 system_cli_update_step_type(CLI_Handles* cli, char* dest, u32 max, u32* amount);
|
||||
typedef b32 system_cli_end_update_type(CLI_Handles* cli);
|
||||
typedef void system_open_color_picker_type(Color_Picker* picker);
|
||||
typedef f32 system_get_screen_scale_factor_type(void);
|
||||
typedef System_Thread system_thread_launch_type(Thread_Function* proc, void* ptr);
|
||||
typedef void system_thread_join_type(System_Thread thread);
|
||||
typedef void system_thread_free_type(System_Thread thread);
|
||||
typedef i32 system_thread_get_id_type(void);
|
||||
typedef void system_acquire_global_frame_mutex_type(Thread_Context* tctx);
|
||||
typedef void system_release_global_frame_mutex_type(Thread_Context* tctx);
|
||||
typedef System_Mutex system_mutex_make_type(void);
|
||||
typedef void system_mutex_acquire_type(System_Mutex mutex);
|
||||
typedef void system_mutex_release_type(System_Mutex mutex);
|
||||
typedef void system_mutex_free_type(System_Mutex mutex);
|
||||
typedef System_Condition_Variable system_condition_variable_make_type(void);
|
||||
typedef void system_condition_variable_wait_type(System_Condition_Variable cv, System_Mutex mutex);
|
||||
typedef void system_condition_variable_signal_type(System_Condition_Variable cv);
|
||||
typedef void system_condition_variable_free_type(System_Condition_Variable cv);
|
||||
typedef void* system_memory_allocate_type(u64 size, String_Const_u8 location);
|
||||
typedef b32 system_memory_set_protection_type(void* ptr, u64 size, u32 flags);
|
||||
typedef void system_memory_free_type(void* ptr, u64 size);
|
||||
typedef Memory_Annotation system_memory_annotation_type(Arena* arena);
|
||||
typedef void system_show_mouse_cursor_type(i32 show);
|
||||
typedef b32 system_set_fullscreen_type(b32 full_screen);
|
||||
typedef b32 system_is_fullscreen_type(void);
|
||||
typedef Input_Modifier_Set system_get_keyboard_modifiers_type(Arena* arena);
|
||||
typedef void system_set_key_mode_type(Key_Mode mode);
|
||||
typedef void system_set_source_mixer_type(void* ctx, Audio_Mix_Sources_Function* mix_func);
|
||||
typedef void system_set_destination_mixer_type(Audio_Mix_Destination_Function* mix_func);
|
||||
|
||||
struct API_VTable_system{
|
||||
system_error_box_type *error_box;
|
||||
system_get_path_type *get_path;
|
||||
system_get_canonical_type *get_canonical;
|
||||
system_get_file_list_type *get_file_list;
|
||||
system_quick_file_attributes_type *quick_file_attributes;
|
||||
system_load_handle_type *load_handle;
|
||||
system_load_attributes_type *load_attributes;
|
||||
system_load_file_type *load_file;
|
||||
system_load_close_type *load_close;
|
||||
system_save_file_type *save_file;
|
||||
system_load_library_type *load_library;
|
||||
system_release_library_type *release_library;
|
||||
system_get_proc_type *get_proc;
|
||||
system_now_time_type *now_time;
|
||||
system_now_date_time_universal_type *now_date_time_universal;
|
||||
system_local_date_time_from_universal_type *local_date_time_from_universal;
|
||||
system_universal_date_time_from_local_type *universal_date_time_from_local;
|
||||
system_wake_up_timer_create_type *wake_up_timer_create;
|
||||
system_wake_up_timer_release_type *wake_up_timer_release;
|
||||
system_wake_up_timer_set_type *wake_up_timer_set;
|
||||
system_signal_step_type *signal_step;
|
||||
system_sleep_type *sleep;
|
||||
system_get_clipboard_type *get_clipboard;
|
||||
system_post_clipboard_type *post_clipboard;
|
||||
system_set_clipboard_catch_all_type *set_clipboard_catch_all;
|
||||
system_get_clipboard_catch_all_type *get_clipboard_catch_all;
|
||||
system_cli_call_type *cli_call;
|
||||
system_cli_begin_update_type *cli_begin_update;
|
||||
system_cli_update_step_type *cli_update_step;
|
||||
system_cli_end_update_type *cli_end_update;
|
||||
system_open_color_picker_type *open_color_picker;
|
||||
system_get_screen_scale_factor_type *get_screen_scale_factor;
|
||||
system_thread_launch_type *thread_launch;
|
||||
system_thread_join_type *thread_join;
|
||||
system_thread_free_type *thread_free;
|
||||
system_thread_get_id_type *thread_get_id;
|
||||
system_acquire_global_frame_mutex_type *acquire_global_frame_mutex;
|
||||
system_release_global_frame_mutex_type *release_global_frame_mutex;
|
||||
system_mutex_make_type *mutex_make;
|
||||
system_mutex_acquire_type *mutex_acquire;
|
||||
system_mutex_release_type *mutex_release;
|
||||
system_mutex_free_type *mutex_free;
|
||||
system_condition_variable_make_type *condition_variable_make;
|
||||
system_condition_variable_wait_type *condition_variable_wait;
|
||||
system_condition_variable_signal_type *condition_variable_signal;
|
||||
system_condition_variable_free_type *condition_variable_free;
|
||||
system_memory_allocate_type *memory_allocate;
|
||||
system_memory_set_protection_type *memory_set_protection;
|
||||
system_memory_free_type *memory_free;
|
||||
system_memory_annotation_type *memory_annotation;
|
||||
system_show_mouse_cursor_type *show_mouse_cursor;
|
||||
system_set_fullscreen_type *set_fullscreen;
|
||||
system_is_fullscreen_type *is_fullscreen;
|
||||
system_get_keyboard_modifiers_type *get_keyboard_modifiers;
|
||||
system_set_key_mode_type *set_key_mode;
|
||||
system_set_source_mixer_type *set_source_mixer;
|
||||
system_set_destination_mixer_type *set_destination_mixer;
|
||||
};
|
||||
|
||||
#if defined(STATIC_LINK_API)
|
||||
internal void system_error_box(char* msg);
|
||||
internal String_Const_u8 system_get_path(Arena* arena, System_Path_Code path_code);
|
||||
internal String_Const_u8 system_get_canonical(Arena* arena, String_Const_u8 name);
|
||||
internal File_List system_get_file_list(Arena* arena, String_Const_u8 directory);
|
||||
internal File_Attributes system_quick_file_attributes(Arena* scratch, String_Const_u8 file_name);
|
||||
internal b32 system_load_handle(Arena* scratch, char* file_name, Plat_Handle* out);
|
||||
internal File_Attributes system_load_attributes(Plat_Handle handle);
|
||||
internal b32 system_load_file(Plat_Handle handle, char* buffer, u32 size);
|
||||
internal b32 system_load_close(Plat_Handle handle);
|
||||
internal File_Attributes system_save_file(Arena* scratch, char* file_name, String_Const_u8 data);
|
||||
internal b32 system_load_library(Arena* scratch, String_Const_u8 file_name, System_Library* out);
|
||||
internal b32 system_release_library(System_Library handle);
|
||||
internal Void_Func* system_get_proc(System_Library handle, char* proc_name);
|
||||
internal u64 system_now_time(void);
|
||||
internal Date_Time system_now_date_time_universal(void);
|
||||
internal Date_Time system_local_date_time_from_universal(Date_Time* date_time);
|
||||
internal Date_Time system_universal_date_time_from_local(Date_Time* date_time);
|
||||
internal Plat_Handle system_wake_up_timer_create(void);
|
||||
internal void system_wake_up_timer_release(Plat_Handle handle);
|
||||
internal void system_wake_up_timer_set(Plat_Handle handle, u32 time_milliseconds);
|
||||
internal void system_signal_step(u32 code);
|
||||
internal void system_sleep(u64 microseconds);
|
||||
internal String_Const_u8 system_get_clipboard(Arena* arena, i32 index);
|
||||
internal void system_post_clipboard(String_Const_u8 str, i32 index);
|
||||
internal void system_set_clipboard_catch_all(b32 enabled);
|
||||
internal b32 system_get_clipboard_catch_all(void);
|
||||
internal b32 system_cli_call(Arena* scratch, char* path, char* script, CLI_Handles* cli_out);
|
||||
internal void system_cli_begin_update(CLI_Handles* cli);
|
||||
internal b32 system_cli_update_step(CLI_Handles* cli, char* dest, u32 max, u32* amount);
|
||||
internal b32 system_cli_end_update(CLI_Handles* cli);
|
||||
internal void system_open_color_picker(Color_Picker* picker);
|
||||
internal f32 system_get_screen_scale_factor(void);
|
||||
internal System_Thread system_thread_launch(Thread_Function* proc, void* ptr);
|
||||
internal void system_thread_join(System_Thread thread);
|
||||
internal void system_thread_free(System_Thread thread);
|
||||
internal i32 system_thread_get_id(void);
|
||||
internal void system_acquire_global_frame_mutex(Thread_Context* tctx);
|
||||
internal void system_release_global_frame_mutex(Thread_Context* tctx);
|
||||
internal System_Mutex system_mutex_make(void);
|
||||
internal void system_mutex_acquire(System_Mutex mutex);
|
||||
internal void system_mutex_release(System_Mutex mutex);
|
||||
internal void system_mutex_free(System_Mutex mutex);
|
||||
internal System_Condition_Variable system_condition_variable_make(void);
|
||||
internal void system_condition_variable_wait(System_Condition_Variable cv, System_Mutex mutex);
|
||||
internal void system_condition_variable_signal(System_Condition_Variable cv);
|
||||
internal void system_condition_variable_free(System_Condition_Variable cv);
|
||||
internal void* system_memory_allocate(u64 size, String_Const_u8 location);
|
||||
internal b32 system_memory_set_protection(void* ptr, u64 size, u32 flags);
|
||||
internal void system_memory_free(void* ptr, u64 size);
|
||||
internal Memory_Annotation system_memory_annotation(Arena* arena);
|
||||
internal void system_show_mouse_cursor(i32 show);
|
||||
internal b32 system_set_fullscreen(b32 full_screen);
|
||||
internal b32 system_is_fullscreen(void);
|
||||
internal Input_Modifier_Set system_get_keyboard_modifiers(Arena* arena);
|
||||
internal void system_set_key_mode(Key_Mode mode);
|
||||
internal void system_set_source_mixer(void* ctx, Audio_Mix_Sources_Function* mix_func);
|
||||
internal void system_set_destination_mixer(Audio_Mix_Destination_Function* mix_func);
|
||||
#undef STATIC_LINK_API
|
||||
|
||||
#elif defined(DYNAMIC_LINK_API)
|
||||
global system_error_box_type *system_error_box = 0;
|
||||
global system_get_path_type *system_get_path = 0;
|
||||
global system_get_canonical_type *system_get_canonical = 0;
|
||||
global system_get_file_list_type *system_get_file_list = 0;
|
||||
global system_quick_file_attributes_type *system_quick_file_attributes = 0;
|
||||
global system_load_handle_type *system_load_handle = 0;
|
||||
global system_load_attributes_type *system_load_attributes = 0;
|
||||
global system_load_file_type *system_load_file = 0;
|
||||
global system_load_close_type *system_load_close = 0;
|
||||
global system_save_file_type *system_save_file = 0;
|
||||
global system_load_library_type *system_load_library = 0;
|
||||
global system_release_library_type *system_release_library = 0;
|
||||
global system_get_proc_type *system_get_proc = 0;
|
||||
global system_now_time_type *system_now_time = 0;
|
||||
global system_now_date_time_universal_type *system_now_date_time_universal = 0;
|
||||
global system_local_date_time_from_universal_type *system_local_date_time_from_universal = 0;
|
||||
global system_universal_date_time_from_local_type *system_universal_date_time_from_local = 0;
|
||||
global system_wake_up_timer_create_type *system_wake_up_timer_create = 0;
|
||||
global system_wake_up_timer_release_type *system_wake_up_timer_release = 0;
|
||||
global system_wake_up_timer_set_type *system_wake_up_timer_set = 0;
|
||||
global system_signal_step_type *system_signal_step = 0;
|
||||
global system_sleep_type *system_sleep = 0;
|
||||
global system_get_clipboard_type *system_get_clipboard = 0;
|
||||
global system_post_clipboard_type *system_post_clipboard = 0;
|
||||
global system_set_clipboard_catch_all_type *system_set_clipboard_catch_all = 0;
|
||||
global system_get_clipboard_catch_all_type *system_get_clipboard_catch_all = 0;
|
||||
global system_cli_call_type *system_cli_call = 0;
|
||||
global system_cli_begin_update_type *system_cli_begin_update = 0;
|
||||
global system_cli_update_step_type *system_cli_update_step = 0;
|
||||
global system_cli_end_update_type *system_cli_end_update = 0;
|
||||
global system_open_color_picker_type *system_open_color_picker = 0;
|
||||
global system_get_screen_scale_factor_type *system_get_screen_scale_factor = 0;
|
||||
global system_thread_launch_type *system_thread_launch = 0;
|
||||
global system_thread_join_type *system_thread_join = 0;
|
||||
global system_thread_free_type *system_thread_free = 0;
|
||||
global system_thread_get_id_type *system_thread_get_id = 0;
|
||||
global system_acquire_global_frame_mutex_type *system_acquire_global_frame_mutex = 0;
|
||||
global system_release_global_frame_mutex_type *system_release_global_frame_mutex = 0;
|
||||
global system_mutex_make_type *system_mutex_make = 0;
|
||||
global system_mutex_acquire_type *system_mutex_acquire = 0;
|
||||
global system_mutex_release_type *system_mutex_release = 0;
|
||||
global system_mutex_free_type *system_mutex_free = 0;
|
||||
global system_condition_variable_make_type *system_condition_variable_make = 0;
|
||||
global system_condition_variable_wait_type *system_condition_variable_wait = 0;
|
||||
global system_condition_variable_signal_type *system_condition_variable_signal = 0;
|
||||
global system_condition_variable_free_type *system_condition_variable_free = 0;
|
||||
global system_memory_allocate_type *system_memory_allocate = 0;
|
||||
global system_memory_set_protection_type *system_memory_set_protection = 0;
|
||||
global system_memory_free_type *system_memory_free = 0;
|
||||
global system_memory_annotation_type *system_memory_annotation = 0;
|
||||
global system_show_mouse_cursor_type *system_show_mouse_cursor = 0;
|
||||
global system_set_fullscreen_type *system_set_fullscreen = 0;
|
||||
global system_is_fullscreen_type *system_is_fullscreen = 0;
|
||||
global system_get_keyboard_modifiers_type *system_get_keyboard_modifiers = 0;
|
||||
global system_set_key_mode_type *system_set_key_mode = 0;
|
||||
global system_set_source_mixer_type *system_set_source_mixer = 0;
|
||||
global system_set_destination_mixer_type *system_set_destination_mixer = 0;
|
||||
#undef DYNAMIC_LINK_API
|
||||
#endif
|
|
@ -1,264 +0,0 @@
|
|||
/* Generated by "code/4ed_system_api.cpp" */
|
||||
|
||||
function API_Definition*
|
||||
system_api_construct(Arena *arena){
|
||||
API_Definition *result = begin_api(arena, "system");
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("error_box"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "char*", "msg");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_path"), string_u8_litexpr("String_Const_u8"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
api_param(arena, call, "System_Path_Code", "path_code");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_canonical"), string_u8_litexpr("String_Const_u8"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
api_param(arena, call, "String_Const_u8", "name");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_file_list"), string_u8_litexpr("File_List"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
api_param(arena, call, "String_Const_u8", "directory");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("quick_file_attributes"), string_u8_litexpr("File_Attributes"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "scratch");
|
||||
api_param(arena, call, "String_Const_u8", "file_name");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("load_handle"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "scratch");
|
||||
api_param(arena, call, "char*", "file_name");
|
||||
api_param(arena, call, "Plat_Handle*", "out");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("load_attributes"), string_u8_litexpr("File_Attributes"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Plat_Handle", "handle");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("load_file"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Plat_Handle", "handle");
|
||||
api_param(arena, call, "char*", "buffer");
|
||||
api_param(arena, call, "u32", "size");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("load_close"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Plat_Handle", "handle");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("save_file"), string_u8_litexpr("File_Attributes"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "scratch");
|
||||
api_param(arena, call, "char*", "file_name");
|
||||
api_param(arena, call, "String_Const_u8", "data");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("load_library"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "scratch");
|
||||
api_param(arena, call, "String_Const_u8", "file_name");
|
||||
api_param(arena, call, "System_Library*", "out");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("release_library"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Library", "handle");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_proc"), string_u8_litexpr("Void_Func*"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Library", "handle");
|
||||
api_param(arena, call, "char*", "proc_name");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("now_time"), string_u8_litexpr("u64"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("now_date_time_universal"), string_u8_litexpr("Date_Time"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("local_date_time_from_universal"), string_u8_litexpr("Date_Time"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Date_Time*", "date_time");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("universal_date_time_from_local"), string_u8_litexpr("Date_Time"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Date_Time*", "date_time");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("wake_up_timer_create"), string_u8_litexpr("Plat_Handle"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("wake_up_timer_release"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Plat_Handle", "handle");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("wake_up_timer_set"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Plat_Handle", "handle");
|
||||
api_param(arena, call, "u32", "time_milliseconds");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("signal_step"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "u32", "code");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("sleep"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "u64", "microseconds");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_clipboard"), string_u8_litexpr("String_Const_u8"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
api_param(arena, call, "i32", "index");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("post_clipboard"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "String_Const_u8", "str");
|
||||
api_param(arena, call, "i32", "index");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("set_clipboard_catch_all"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "b32", "enabled");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_clipboard_catch_all"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("cli_call"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "scratch");
|
||||
api_param(arena, call, "char*", "path");
|
||||
api_param(arena, call, "char*", "script");
|
||||
api_param(arena, call, "CLI_Handles*", "cli_out");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("cli_begin_update"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "CLI_Handles*", "cli");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("cli_update_step"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "CLI_Handles*", "cli");
|
||||
api_param(arena, call, "char*", "dest");
|
||||
api_param(arena, call, "u32", "max");
|
||||
api_param(arena, call, "u32*", "amount");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("cli_end_update"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "CLI_Handles*", "cli");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("open_color_picker"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Color_Picker*", "picker");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_screen_scale_factor"), string_u8_litexpr("f32"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("thread_launch"), string_u8_litexpr("System_Thread"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Thread_Function*", "proc");
|
||||
api_param(arena, call, "void*", "ptr");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("thread_join"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Thread", "thread");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("thread_free"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Thread", "thread");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("thread_get_id"), string_u8_litexpr("i32"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("acquire_global_frame_mutex"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Thread_Context*", "tctx");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("release_global_frame_mutex"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Thread_Context*", "tctx");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("mutex_make"), string_u8_litexpr("System_Mutex"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("mutex_acquire"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Mutex", "mutex");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("mutex_release"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Mutex", "mutex");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("mutex_free"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Mutex", "mutex");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("condition_variable_make"), string_u8_litexpr("System_Condition_Variable"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("condition_variable_wait"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Condition_Variable", "cv");
|
||||
api_param(arena, call, "System_Mutex", "mutex");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("condition_variable_signal"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Condition_Variable", "cv");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("condition_variable_free"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "System_Condition_Variable", "cv");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("memory_allocate"), string_u8_litexpr("void*"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "u64", "size");
|
||||
api_param(arena, call, "String_Const_u8", "location");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("memory_set_protection"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "void*", "ptr");
|
||||
api_param(arena, call, "u64", "size");
|
||||
api_param(arena, call, "u32", "flags");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("memory_free"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "void*", "ptr");
|
||||
api_param(arena, call, "u64", "size");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("memory_annotation"), string_u8_litexpr("Memory_Annotation"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("show_mouse_cursor"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "i32", "show");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("set_fullscreen"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "b32", "full_screen");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("is_fullscreen"), string_u8_litexpr("b32"), string_u8_litexpr(""));
|
||||
(void)call;
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("get_keyboard_modifiers"), string_u8_litexpr("Input_Modifier_Set"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Arena*", "arena");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("set_key_mode"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Key_Mode", "mode");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("set_source_mixer"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "void*", "ctx");
|
||||
api_param(arena, call, "Audio_Mix_Sources_Function*", "mix_func");
|
||||
}
|
||||
{
|
||||
API_Call *call = api_call_with_location(arena, result, string_u8_litexpr("set_destination_mixer"), string_u8_litexpr("void"), string_u8_litexpr(""));
|
||||
api_param(arena, call, "Audio_Mix_Destination_Function*", "mix_func");
|
||||
}
|
||||
return(result);
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
/* Generated by "code/4ed_system_api.cpp" */
|
||||
|
||||
api(system) function void error_box(char* msg);
|
||||
api(system) function String_Const_u8 get_path(Arena* arena, System_Path_Code path_code);
|
||||
api(system) function String_Const_u8 get_canonical(Arena* arena, String_Const_u8 name);
|
||||
api(system) function File_List get_file_list(Arena* arena, String_Const_u8 directory);
|
||||
api(system) function File_Attributes quick_file_attributes(Arena* scratch, String_Const_u8 file_name);
|
||||
api(system) function b32 load_handle(Arena* scratch, char* file_name, Plat_Handle* out);
|
||||
api(system) function File_Attributes load_attributes(Plat_Handle handle);
|
||||
api(system) function b32 load_file(Plat_Handle handle, char* buffer, u32 size);
|
||||
api(system) function b32 load_close(Plat_Handle handle);
|
||||
api(system) function File_Attributes save_file(Arena* scratch, char* file_name, String_Const_u8 data);
|
||||
api(system) function b32 load_library(Arena* scratch, String_Const_u8 file_name, System_Library* out);
|
||||
api(system) function b32 release_library(System_Library handle);
|
||||
api(system) function Void_Func* get_proc(System_Library handle, char* proc_name);
|
||||
api(system) function u64 now_time(void);
|
||||
api(system) function Date_Time now_date_time_universal(void);
|
||||
api(system) function Date_Time local_date_time_from_universal(Date_Time* date_time);
|
||||
api(system) function Date_Time universal_date_time_from_local(Date_Time* date_time);
|
||||
api(system) function Plat_Handle wake_up_timer_create(void);
|
||||
api(system) function void wake_up_timer_release(Plat_Handle handle);
|
||||
api(system) function void wake_up_timer_set(Plat_Handle handle, u32 time_milliseconds);
|
||||
api(system) function void signal_step(u32 code);
|
||||
api(system) function void sleep(u64 microseconds);
|
||||
api(system) function String_Const_u8 get_clipboard(Arena* arena, i32 index);
|
||||
api(system) function void post_clipboard(String_Const_u8 str, i32 index);
|
||||
api(system) function void set_clipboard_catch_all(b32 enabled);
|
||||
api(system) function b32 get_clipboard_catch_all(void);
|
||||
api(system) function b32 cli_call(Arena* scratch, char* path, char* script, CLI_Handles* cli_out);
|
||||
api(system) function void cli_begin_update(CLI_Handles* cli);
|
||||
api(system) function b32 cli_update_step(CLI_Handles* cli, char* dest, u32 max, u32* amount);
|
||||
api(system) function b32 cli_end_update(CLI_Handles* cli);
|
||||
api(system) function void open_color_picker(Color_Picker* picker);
|
||||
api(system) function f32 get_screen_scale_factor(void);
|
||||
api(system) function System_Thread thread_launch(Thread_Function* proc, void* ptr);
|
||||
api(system) function void thread_join(System_Thread thread);
|
||||
api(system) function void thread_free(System_Thread thread);
|
||||
api(system) function i32 thread_get_id(void);
|
||||
api(system) function void acquire_global_frame_mutex(Thread_Context* tctx);
|
||||
api(system) function void release_global_frame_mutex(Thread_Context* tctx);
|
||||
api(system) function System_Mutex mutex_make(void);
|
||||
api(system) function void mutex_acquire(System_Mutex mutex);
|
||||
api(system) function void mutex_release(System_Mutex mutex);
|
||||
api(system) function void mutex_free(System_Mutex mutex);
|
||||
api(system) function System_Condition_Variable condition_variable_make(void);
|
||||
api(system) function void condition_variable_wait(System_Condition_Variable cv, System_Mutex mutex);
|
||||
api(system) function void condition_variable_signal(System_Condition_Variable cv);
|
||||
api(system) function void condition_variable_free(System_Condition_Variable cv);
|
||||
api(system) function void* memory_allocate(u64 size, String_Const_u8 location);
|
||||
api(system) function b32 memory_set_protection(void* ptr, u64 size, u32 flags);
|
||||
api(system) function void memory_free(void* ptr, u64 size);
|
||||
api(system) function Memory_Annotation memory_annotation(Arena* arena);
|
||||
api(system) function void show_mouse_cursor(i32 show);
|
||||
api(system) function b32 set_fullscreen(b32 full_screen);
|
||||
api(system) function b32 is_fullscreen(void);
|
||||
api(system) function Input_Modifier_Set get_keyboard_modifiers(Arena* arena);
|
||||
api(system) function void set_key_mode(Key_Mode mode);
|
||||
api(system) function void set_source_mixer(void* ctx, Audio_Mix_Sources_Function* mix_func);
|
||||
api(system) function void set_destination_mixer(Audio_Mix_Destination_Function* mix_func);
|
Loading…
Reference in New Issue