Added yeet sheet implementation
This commit is contained in:
parent
46a0466ff4
commit
be632574e6
|
@ -34,7 +34,6 @@ get_lexeme_under_cursor(Application_Links* app, View_ID view, Buffer_ID buffer,
|
||||||
return lexeme;
|
return lexeme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function void
|
function void
|
||||||
go_to_definition(Application_Links* app, String_Const_u8 lexeme, View_ID view)
|
go_to_definition(Application_Links* app, String_Const_u8 lexeme, View_ID view)
|
||||||
{
|
{
|
||||||
|
@ -234,6 +233,9 @@ custom_keyboard_bindings()
|
||||||
Bind(keyboard_macro_start_recording, KeyCode_1, key_alt);
|
Bind(keyboard_macro_start_recording, KeyCode_1, key_alt);
|
||||||
Bind(keyboard_macro_finish_recording, KeyCode_2, key_alt);
|
Bind(keyboard_macro_finish_recording, KeyCode_2, key_alt);
|
||||||
Bind(keyboard_macro_replay, KeyCode_3, key_alt);
|
Bind(keyboard_macro_replay, KeyCode_3, key_alt);
|
||||||
|
|
||||||
|
// Yeet Sheet
|
||||||
|
Bind(loco_yeet_selected_range_or_jump, KeyCode_G);
|
||||||
}
|
}
|
||||||
|
|
||||||
SelectMapping(&modal_get_mode(modal_mode_input)->map);
|
SelectMapping(&modal_get_mode(modal_mode_input)->map);
|
||||||
|
|
|
@ -555,6 +555,7 @@ default_render_caller(Application_Links *app, Frame_Info frame_info, View_ID vie
|
||||||
|
|
||||||
// NOTE(allen): draw the buffer
|
// NOTE(allen): draw the buffer
|
||||||
default_render_buffer(app, view_id, face_id, buffer, text_layout_id, region);
|
default_render_buffer(app, view_id, face_id, buffer, text_layout_id, region);
|
||||||
|
loco_render_buffer(app, view_id, face_id, buffer, text_layout_id, region, frame_info);
|
||||||
|
|
||||||
text_layout_free(app, text_layout_id);
|
text_layout_free(app, text_layout_id);
|
||||||
draw_set_clip(app, prev_clip);
|
draw_set_clip(app, prev_clip);
|
||||||
|
@ -1107,12 +1108,17 @@ BUFFER_EDIT_RANGE_SIG(default_buffer_edit_range){
|
||||||
make_data_struct(&buffer_id));
|
make_data_struct(&buffer_id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loco_on_buffer_edit(app, buffer_id, old_range, new_range);
|
||||||
|
|
||||||
// no meaning for return
|
// no meaning for return
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
BUFFER_HOOK_SIG(default_end_buffer){
|
BUFFER_HOOK_SIG(default_end_buffer){
|
||||||
Managed_Scope scope = buffer_get_managed_scope(app, buffer_id);
|
Managed_Scope scope = buffer_get_managed_scope(app, buffer_id);
|
||||||
|
|
||||||
|
loco_on_buffer_end(app, buffer_id);
|
||||||
|
|
||||||
Async_Task *lex_task_ptr = scope_attachment(app, scope, buffer_lex_task, Async_Task);
|
Async_Task *lex_task_ptr = scope_attachment(app, scope, buffer_lex_task, Async_Task);
|
||||||
if (lex_task_ptr != 0){
|
if (lex_task_ptr != 0){
|
||||||
async_task_cancel(app, &global_async_system, *lex_task_ptr);
|
async_task_cancel(app, &global_async_system, *lex_task_ptr);
|
||||||
|
|
|
@ -141,6 +141,7 @@
|
||||||
#include "4coder_variables.cpp"
|
#include "4coder_variables.cpp"
|
||||||
#include "4coder_search_list.cpp"
|
#include "4coder_search_list.cpp"
|
||||||
#include "4coder_modal.cpp"
|
#include "4coder_modal.cpp"
|
||||||
|
#include "4coder_yeet.cpp"
|
||||||
|
|
||||||
#include "4coder_examples.cpp"
|
#include "4coder_examples.cpp"
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@
|
||||||
#define command_id(c) (fcoder_metacmd_ID_##c)
|
#define command_id(c) (fcoder_metacmd_ID_##c)
|
||||||
#define command_metadata(c) (&fcoder_metacmd_table[command_id(c)])
|
#define command_metadata(c) (&fcoder_metacmd_table[command_id(c)])
|
||||||
#define command_metadata_by_id(id) (&fcoder_metacmd_table[id])
|
#define command_metadata_by_id(id) (&fcoder_metacmd_table[id])
|
||||||
#define command_one_past_last_id 269
|
#define command_one_past_last_id 282
|
||||||
#if defined(CUSTOM_COMMAND_SIG)
|
#if defined(CUSTOM_COMMAND_SIG)
|
||||||
#define PROC_LINKS(x,y) x
|
#define PROC_LINKS(x,y) x
|
||||||
#else
|
#else
|
||||||
|
@ -116,6 +116,19 @@ CUSTOM_COMMAND_SIG(load_project);
|
||||||
CUSTOM_COMMAND_SIG(load_theme_current_buffer);
|
CUSTOM_COMMAND_SIG(load_theme_current_buffer);
|
||||||
CUSTOM_COMMAND_SIG(load_themes_default_folder);
|
CUSTOM_COMMAND_SIG(load_themes_default_folder);
|
||||||
CUSTOM_COMMAND_SIG(load_themes_hot_directory);
|
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(make_directory_query);
|
||||||
CUSTOM_COMMAND_SIG(miblo_decrement_basic);
|
CUSTOM_COMMAND_SIG(miblo_decrement_basic);
|
||||||
CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp);
|
CUSTOM_COMMAND_SIG(miblo_decrement_time_stamp);
|
||||||
|
@ -290,7 +303,7 @@ char *source_name;
|
||||||
i32 source_name_len;
|
i32 source_name_len;
|
||||||
i32 line_number;
|
i32 line_number;
|
||||||
};
|
};
|
||||||
static Command_Metadata fcoder_metacmd_table[269] = {
|
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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 481 },
|
{ PROC_LINKS(allow_mouse, 0), false, "allow_mouse", 11, "Shows the mouse and causes all mouse input to be processed normally.", 68, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_auto_indent.cpp", 56, 420 },
|
{ 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_auto_indent.cpp", 56, 420 },
|
||||||
{ PROC_LINKS(auto_indent_range, 0), false, "auto_indent_range", 17, "Auto-indents the range between the cursor and the mark.", 55, "C:\\projects\\4coder_gs\\code\\custom\\4coder_auto_indent.cpp", 56, 430 },
|
{ PROC_LINKS(auto_indent_range, 0), false, "auto_indent_range", 17, "Auto-indents the range between the cursor and the mark.", 55, "C:\\projects\\4coder_gs\\code\\custom\\4coder_auto_indent.cpp", 56, 430 },
|
||||||
|
@ -398,6 +411,19 @@ static Command_Metadata fcoder_metacmd_table[269] = {
|
||||||
{ 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_config.cpp", 51, 1617 },
|
{ 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_config.cpp", 51, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 535 },
|
{ PROC_LINKS(load_themes_default_folder, 0), false, "load_themes_default_folder", 26, "Loads all the theme files in the default theme folder.", 54, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 554 },
|
{ PROC_LINKS(load_themes_hot_directory, 0), false, "load_themes_hot_directory", 25, "Loads all the theme files in the current hot directory.", 55, "C:\\projects\\4coder_gs\\code\\custom\\4coder_default_framework.cpp", 62, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 716 },
|
||||||
|
{ PROC_LINKS(loco_load_yeet_snapshot_1, 0), false, "loco_load_yeet_snapshot_1", 25, "Load yeets snapshot from slot 1.", 32, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 879 },
|
||||||
|
{ PROC_LINKS(loco_load_yeet_snapshot_2, 0), false, "loco_load_yeet_snapshot_2", 25, "Load yeets snapshot from slot 2.", 32, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 886 },
|
||||||
|
{ PROC_LINKS(loco_load_yeet_snapshot_3, 0), false, "loco_load_yeet_snapshot_3", 25, "Load yeets snapshot from slot 3.", 32, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 893 },
|
||||||
|
{ PROC_LINKS(loco_save_yeet_snapshot_1, 0), false, "loco_save_yeet_snapshot_1", 25, "Save yeets snapshot to slot 1.", 30, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 858 },
|
||||||
|
{ PROC_LINKS(loco_save_yeet_snapshot_2, 0), false, "loco_save_yeet_snapshot_2", 25, "Save yeets snapshot to slot 2.", 30, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 865 },
|
||||||
|
{ PROC_LINKS(loco_save_yeet_snapshot_3, 0), false, "loco_save_yeet_snapshot_3", 25, "Save yeets snapshot to slot 3.", 30, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 872 },
|
||||||
|
{ PROC_LINKS(loco_yeet_clear, 0), false, "loco_yeet_clear", 15, "Clears all yeets.", 17, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 723 },
|
||||||
|
{ PROC_LINKS(loco_yeet_surrounding_function, 0), false, "loco_yeet_surrounding_function", 30, "Selects the surrounding function scope and yeets it.", 52, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_yeet.cpp", 49, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_base_commands.cpp", 58, 1630 },
|
{ 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_base_commands.cpp", 58, 1630 },
|
||||||
{ PROC_LINKS(miblo_decrement_basic, 0), false, "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "C:\\projects\\4coder_gs\\code\\custom\\4coder_miblo_numbers.cpp", 58, 44 },
|
{ PROC_LINKS(miblo_decrement_basic, 0), false, "miblo_decrement_basic", 21, "Decrement an integer under the cursor by one.", 45, "C:\\projects\\4coder_gs\\code\\custom\\4coder_miblo_numbers.cpp", 58, 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_miblo_numbers.cpp", 58, 237 },
|
{ 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, "C:\\projects\\4coder_gs\\code\\custom\\4coder_miblo_numbers.cpp", 58, 237 },
|
||||||
|
@ -668,166 +694,179 @@ static i32 fcoder_metacmd_ID_load_project = 103;
|
||||||
static i32 fcoder_metacmd_ID_load_theme_current_buffer = 104;
|
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_default_folder = 105;
|
||||||
static i32 fcoder_metacmd_ID_load_themes_hot_directory = 106;
|
static i32 fcoder_metacmd_ID_load_themes_hot_directory = 106;
|
||||||
static i32 fcoder_metacmd_ID_make_directory_query = 107;
|
static i32 fcoder_metacmd_ID_loco_jump_between_yeet = 107;
|
||||||
static i32 fcoder_metacmd_ID_miblo_decrement_basic = 108;
|
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_1 = 108;
|
||||||
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp = 109;
|
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_2 = 109;
|
||||||
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 110;
|
static i32 fcoder_metacmd_ID_loco_load_yeet_snapshot_3 = 110;
|
||||||
static i32 fcoder_metacmd_ID_miblo_increment_basic = 111;
|
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_1 = 111;
|
||||||
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp = 112;
|
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_2 = 112;
|
||||||
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 113;
|
static i32 fcoder_metacmd_ID_loco_save_yeet_snapshot_3 = 113;
|
||||||
static i32 fcoder_metacmd_ID_mouse_wheel_change_face_size = 114;
|
static i32 fcoder_metacmd_ID_loco_yeet_clear = 114;
|
||||||
static i32 fcoder_metacmd_ID_mouse_wheel_scroll = 115;
|
static i32 fcoder_metacmd_ID_loco_yeet_remove_marker_pair = 115;
|
||||||
static i32 fcoder_metacmd_ID_move_down = 116;
|
static i32 fcoder_metacmd_ID_loco_yeet_reset_all = 116;
|
||||||
static i32 fcoder_metacmd_ID_move_down_10 = 117;
|
static i32 fcoder_metacmd_ID_loco_yeet_selected_range_or_jump = 117;
|
||||||
static i32 fcoder_metacmd_ID_move_down_textual = 118;
|
static i32 fcoder_metacmd_ID_loco_yeet_surrounding_function = 118;
|
||||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line = 119;
|
static i32 fcoder_metacmd_ID_loco_yeet_tag = 119;
|
||||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line_end = 120;
|
static i32 fcoder_metacmd_ID_make_directory_query = 120;
|
||||||
static i32 fcoder_metacmd_ID_move_down_to_blank_line_skip_whitespace = 121;
|
static i32 fcoder_metacmd_ID_miblo_decrement_basic = 121;
|
||||||
static i32 fcoder_metacmd_ID_move_left = 122;
|
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp = 122;
|
||||||
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_boundary = 123;
|
static i32 fcoder_metacmd_ID_miblo_decrement_time_stamp_minute = 123;
|
||||||
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_or_camel_boundary = 124;
|
static i32 fcoder_metacmd_ID_miblo_increment_basic = 124;
|
||||||
static i32 fcoder_metacmd_ID_move_left_token_boundary = 125;
|
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp = 125;
|
||||||
static i32 fcoder_metacmd_ID_move_left_whitespace_boundary = 126;
|
static i32 fcoder_metacmd_ID_miblo_increment_time_stamp_minute = 126;
|
||||||
static i32 fcoder_metacmd_ID_move_left_whitespace_or_token_boundary = 127;
|
static i32 fcoder_metacmd_ID_mouse_wheel_change_face_size = 127;
|
||||||
static i32 fcoder_metacmd_ID_move_line_down = 128;
|
static i32 fcoder_metacmd_ID_mouse_wheel_scroll = 128;
|
||||||
static i32 fcoder_metacmd_ID_move_line_up = 129;
|
static i32 fcoder_metacmd_ID_move_down = 129;
|
||||||
static i32 fcoder_metacmd_ID_move_right = 130;
|
static i32 fcoder_metacmd_ID_move_down_10 = 130;
|
||||||
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_boundary = 131;
|
static i32 fcoder_metacmd_ID_move_down_textual = 131;
|
||||||
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_or_camel_boundary = 132;
|
static i32 fcoder_metacmd_ID_move_down_to_blank_line = 132;
|
||||||
static i32 fcoder_metacmd_ID_move_right_token_boundary = 133;
|
static i32 fcoder_metacmd_ID_move_down_to_blank_line_end = 133;
|
||||||
static i32 fcoder_metacmd_ID_move_right_whitespace_boundary = 134;
|
static i32 fcoder_metacmd_ID_move_down_to_blank_line_skip_whitespace = 134;
|
||||||
static i32 fcoder_metacmd_ID_move_right_whitespace_or_token_boundary = 135;
|
static i32 fcoder_metacmd_ID_move_left = 135;
|
||||||
static i32 fcoder_metacmd_ID_move_up = 136;
|
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_boundary = 136;
|
||||||
static i32 fcoder_metacmd_ID_move_up_10 = 137;
|
static i32 fcoder_metacmd_ID_move_left_alpha_numeric_or_camel_boundary = 137;
|
||||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line = 138;
|
static i32 fcoder_metacmd_ID_move_left_token_boundary = 138;
|
||||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line_end = 139;
|
static i32 fcoder_metacmd_ID_move_left_whitespace_boundary = 139;
|
||||||
static i32 fcoder_metacmd_ID_move_up_to_blank_line_skip_whitespace = 140;
|
static i32 fcoder_metacmd_ID_move_left_whitespace_or_token_boundary = 140;
|
||||||
static i32 fcoder_metacmd_ID_multi_paste = 141;
|
static i32 fcoder_metacmd_ID_move_line_down = 141;
|
||||||
static i32 fcoder_metacmd_ID_multi_paste_interactive = 142;
|
static i32 fcoder_metacmd_ID_move_line_up = 142;
|
||||||
static i32 fcoder_metacmd_ID_multi_paste_interactive_quick = 143;
|
static i32 fcoder_metacmd_ID_move_right = 143;
|
||||||
static i32 fcoder_metacmd_ID_open_all_code = 144;
|
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_boundary = 144;
|
||||||
static i32 fcoder_metacmd_ID_open_all_code_recursive = 145;
|
static i32 fcoder_metacmd_ID_move_right_alpha_numeric_or_camel_boundary = 145;
|
||||||
static i32 fcoder_metacmd_ID_open_file_in_quotes = 146;
|
static i32 fcoder_metacmd_ID_move_right_token_boundary = 146;
|
||||||
static i32 fcoder_metacmd_ID_open_in_other = 147;
|
static i32 fcoder_metacmd_ID_move_right_whitespace_boundary = 147;
|
||||||
static i32 fcoder_metacmd_ID_open_long_braces = 148;
|
static i32 fcoder_metacmd_ID_move_right_whitespace_or_token_boundary = 148;
|
||||||
static i32 fcoder_metacmd_ID_open_long_braces_break = 149;
|
static i32 fcoder_metacmd_ID_move_up = 149;
|
||||||
static i32 fcoder_metacmd_ID_open_long_braces_semicolon = 150;
|
static i32 fcoder_metacmd_ID_move_up_10 = 150;
|
||||||
static i32 fcoder_metacmd_ID_open_matching_file_cpp = 151;
|
static i32 fcoder_metacmd_ID_move_up_to_blank_line = 151;
|
||||||
static i32 fcoder_metacmd_ID_open_panel_hsplit = 152;
|
static i32 fcoder_metacmd_ID_move_up_to_blank_line_end = 152;
|
||||||
static i32 fcoder_metacmd_ID_open_panel_vsplit = 153;
|
static i32 fcoder_metacmd_ID_move_up_to_blank_line_skip_whitespace = 153;
|
||||||
static i32 fcoder_metacmd_ID_page_down = 154;
|
static i32 fcoder_metacmd_ID_multi_paste = 154;
|
||||||
static i32 fcoder_metacmd_ID_page_up = 155;
|
static i32 fcoder_metacmd_ID_multi_paste_interactive = 155;
|
||||||
static i32 fcoder_metacmd_ID_paste = 156;
|
static i32 fcoder_metacmd_ID_multi_paste_interactive_quick = 156;
|
||||||
static i32 fcoder_metacmd_ID_paste_and_indent = 157;
|
static i32 fcoder_metacmd_ID_open_all_code = 157;
|
||||||
static i32 fcoder_metacmd_ID_paste_next = 158;
|
static i32 fcoder_metacmd_ID_open_all_code_recursive = 158;
|
||||||
static i32 fcoder_metacmd_ID_paste_next_and_indent = 159;
|
static i32 fcoder_metacmd_ID_open_file_in_quotes = 159;
|
||||||
static i32 fcoder_metacmd_ID_place_in_scope = 160;
|
static i32 fcoder_metacmd_ID_open_in_other = 160;
|
||||||
static i32 fcoder_metacmd_ID_play_with_a_counter = 161;
|
static i32 fcoder_metacmd_ID_open_long_braces = 161;
|
||||||
static i32 fcoder_metacmd_ID_profile_clear = 162;
|
static i32 fcoder_metacmd_ID_open_long_braces_break = 162;
|
||||||
static i32 fcoder_metacmd_ID_profile_disable = 163;
|
static i32 fcoder_metacmd_ID_open_long_braces_semicolon = 163;
|
||||||
static i32 fcoder_metacmd_ID_profile_enable = 164;
|
static i32 fcoder_metacmd_ID_open_matching_file_cpp = 164;
|
||||||
static i32 fcoder_metacmd_ID_profile_inspect = 165;
|
static i32 fcoder_metacmd_ID_open_panel_hsplit = 165;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F1 = 166;
|
static i32 fcoder_metacmd_ID_open_panel_vsplit = 166;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F10 = 167;
|
static i32 fcoder_metacmd_ID_page_down = 167;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F11 = 168;
|
static i32 fcoder_metacmd_ID_page_up = 168;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F12 = 169;
|
static i32 fcoder_metacmd_ID_paste = 169;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F13 = 170;
|
static i32 fcoder_metacmd_ID_paste_and_indent = 170;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F14 = 171;
|
static i32 fcoder_metacmd_ID_paste_next = 171;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F15 = 172;
|
static i32 fcoder_metacmd_ID_paste_next_and_indent = 172;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F16 = 173;
|
static i32 fcoder_metacmd_ID_place_in_scope = 173;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F2 = 174;
|
static i32 fcoder_metacmd_ID_play_with_a_counter = 174;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F3 = 175;
|
static i32 fcoder_metacmd_ID_profile_clear = 175;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F4 = 176;
|
static i32 fcoder_metacmd_ID_profile_disable = 176;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F5 = 177;
|
static i32 fcoder_metacmd_ID_profile_enable = 177;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F6 = 178;
|
static i32 fcoder_metacmd_ID_profile_inspect = 178;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F7 = 179;
|
static i32 fcoder_metacmd_ID_project_command_F1 = 179;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F8 = 180;
|
static i32 fcoder_metacmd_ID_project_command_F10 = 180;
|
||||||
static i32 fcoder_metacmd_ID_project_command_F9 = 181;
|
static i32 fcoder_metacmd_ID_project_command_F11 = 181;
|
||||||
static i32 fcoder_metacmd_ID_project_command_lister = 182;
|
static i32 fcoder_metacmd_ID_project_command_F12 = 182;
|
||||||
static i32 fcoder_metacmd_ID_project_fkey_command = 183;
|
static i32 fcoder_metacmd_ID_project_command_F13 = 183;
|
||||||
static i32 fcoder_metacmd_ID_project_go_to_root_directory = 184;
|
static i32 fcoder_metacmd_ID_project_command_F14 = 184;
|
||||||
static i32 fcoder_metacmd_ID_project_reprint = 185;
|
static i32 fcoder_metacmd_ID_project_command_F15 = 185;
|
||||||
static i32 fcoder_metacmd_ID_query_replace = 186;
|
static i32 fcoder_metacmd_ID_project_command_F16 = 186;
|
||||||
static i32 fcoder_metacmd_ID_query_replace_identifier = 187;
|
static i32 fcoder_metacmd_ID_project_command_F2 = 187;
|
||||||
static i32 fcoder_metacmd_ID_query_replace_selection = 188;
|
static i32 fcoder_metacmd_ID_project_command_F3 = 188;
|
||||||
static i32 fcoder_metacmd_ID_quick_swap_buffer = 189;
|
static i32 fcoder_metacmd_ID_project_command_F4 = 189;
|
||||||
static i32 fcoder_metacmd_ID_redo = 190;
|
static i32 fcoder_metacmd_ID_project_command_F5 = 190;
|
||||||
static i32 fcoder_metacmd_ID_redo_all_buffers = 191;
|
static i32 fcoder_metacmd_ID_project_command_F6 = 191;
|
||||||
static i32 fcoder_metacmd_ID_rename_file_query = 192;
|
static i32 fcoder_metacmd_ID_project_command_F7 = 192;
|
||||||
static i32 fcoder_metacmd_ID_reopen = 193;
|
static i32 fcoder_metacmd_ID_project_command_F8 = 193;
|
||||||
static i32 fcoder_metacmd_ID_replace_in_all_buffers = 194;
|
static i32 fcoder_metacmd_ID_project_command_F9 = 194;
|
||||||
static i32 fcoder_metacmd_ID_replace_in_buffer = 195;
|
static i32 fcoder_metacmd_ID_project_command_lister = 195;
|
||||||
static i32 fcoder_metacmd_ID_replace_in_range = 196;
|
static i32 fcoder_metacmd_ID_project_fkey_command = 196;
|
||||||
static i32 fcoder_metacmd_ID_reverse_search = 197;
|
static i32 fcoder_metacmd_ID_project_go_to_root_directory = 197;
|
||||||
static i32 fcoder_metacmd_ID_reverse_search_identifier = 198;
|
static i32 fcoder_metacmd_ID_project_reprint = 198;
|
||||||
static i32 fcoder_metacmd_ID_save = 199;
|
static i32 fcoder_metacmd_ID_query_replace = 199;
|
||||||
static i32 fcoder_metacmd_ID_save_all_dirty_buffers = 200;
|
static i32 fcoder_metacmd_ID_query_replace_identifier = 200;
|
||||||
static i32 fcoder_metacmd_ID_save_to_query = 201;
|
static i32 fcoder_metacmd_ID_query_replace_selection = 201;
|
||||||
static i32 fcoder_metacmd_ID_search = 202;
|
static i32 fcoder_metacmd_ID_quick_swap_buffer = 202;
|
||||||
static i32 fcoder_metacmd_ID_search_identifier = 203;
|
static i32 fcoder_metacmd_ID_redo = 203;
|
||||||
static i32 fcoder_metacmd_ID_seek_beginning_of_line = 204;
|
static i32 fcoder_metacmd_ID_redo_all_buffers = 204;
|
||||||
static i32 fcoder_metacmd_ID_seek_beginning_of_textual_line = 205;
|
static i32 fcoder_metacmd_ID_rename_file_query = 205;
|
||||||
static i32 fcoder_metacmd_ID_seek_end_of_line = 206;
|
static i32 fcoder_metacmd_ID_reopen = 206;
|
||||||
static i32 fcoder_metacmd_ID_seek_end_of_textual_line = 207;
|
static i32 fcoder_metacmd_ID_replace_in_all_buffers = 207;
|
||||||
static i32 fcoder_metacmd_ID_select_all = 208;
|
static i32 fcoder_metacmd_ID_replace_in_buffer = 208;
|
||||||
static i32 fcoder_metacmd_ID_select_next_scope_absolute = 209;
|
static i32 fcoder_metacmd_ID_replace_in_range = 209;
|
||||||
static i32 fcoder_metacmd_ID_select_next_scope_after_current = 210;
|
static i32 fcoder_metacmd_ID_reverse_search = 210;
|
||||||
static i32 fcoder_metacmd_ID_select_prev_scope_absolute = 211;
|
static i32 fcoder_metacmd_ID_reverse_search_identifier = 211;
|
||||||
static i32 fcoder_metacmd_ID_select_prev_top_most_scope = 212;
|
static i32 fcoder_metacmd_ID_save = 212;
|
||||||
static i32 fcoder_metacmd_ID_select_surrounding_scope = 213;
|
static i32 fcoder_metacmd_ID_save_all_dirty_buffers = 213;
|
||||||
static i32 fcoder_metacmd_ID_select_surrounding_scope_maximal = 214;
|
static i32 fcoder_metacmd_ID_save_to_query = 214;
|
||||||
static i32 fcoder_metacmd_ID_set_eol_mode_from_contents = 215;
|
static i32 fcoder_metacmd_ID_search = 215;
|
||||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_binary = 216;
|
static i32 fcoder_metacmd_ID_search_identifier = 216;
|
||||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_crlf = 217;
|
static i32 fcoder_metacmd_ID_seek_beginning_of_line = 217;
|
||||||
static i32 fcoder_metacmd_ID_set_eol_mode_to_lf = 218;
|
static i32 fcoder_metacmd_ID_seek_beginning_of_textual_line = 218;
|
||||||
static i32 fcoder_metacmd_ID_set_face_size = 219;
|
static i32 fcoder_metacmd_ID_seek_end_of_line = 219;
|
||||||
static i32 fcoder_metacmd_ID_set_face_size_this_buffer = 220;
|
static i32 fcoder_metacmd_ID_seek_end_of_textual_line = 220;
|
||||||
static i32 fcoder_metacmd_ID_set_mark = 221;
|
static i32 fcoder_metacmd_ID_select_all = 221;
|
||||||
static i32 fcoder_metacmd_ID_set_mode_to_notepad_like = 222;
|
static i32 fcoder_metacmd_ID_select_next_scope_absolute = 222;
|
||||||
static i32 fcoder_metacmd_ID_set_mode_to_original = 223;
|
static i32 fcoder_metacmd_ID_select_next_scope_after_current = 223;
|
||||||
static i32 fcoder_metacmd_ID_setup_build_bat = 224;
|
static i32 fcoder_metacmd_ID_select_prev_scope_absolute = 224;
|
||||||
static i32 fcoder_metacmd_ID_setup_build_bat_and_sh = 225;
|
static i32 fcoder_metacmd_ID_select_prev_top_most_scope = 225;
|
||||||
static i32 fcoder_metacmd_ID_setup_build_sh = 226;
|
static i32 fcoder_metacmd_ID_select_surrounding_scope = 226;
|
||||||
static i32 fcoder_metacmd_ID_setup_new_project = 227;
|
static i32 fcoder_metacmd_ID_select_surrounding_scope_maximal = 227;
|
||||||
static i32 fcoder_metacmd_ID_show_filebar = 228;
|
static i32 fcoder_metacmd_ID_set_eol_mode_from_contents = 228;
|
||||||
static i32 fcoder_metacmd_ID_show_scrollbar = 229;
|
static i32 fcoder_metacmd_ID_set_eol_mode_to_binary = 229;
|
||||||
static i32 fcoder_metacmd_ID_show_the_log_graph = 230;
|
static i32 fcoder_metacmd_ID_set_eol_mode_to_crlf = 230;
|
||||||
static i32 fcoder_metacmd_ID_snipe_backward_whitespace_or_token_boundary = 231;
|
static i32 fcoder_metacmd_ID_set_eol_mode_to_lf = 231;
|
||||||
static i32 fcoder_metacmd_ID_snipe_forward_whitespace_or_token_boundary = 232;
|
static i32 fcoder_metacmd_ID_set_face_size = 232;
|
||||||
static i32 fcoder_metacmd_ID_snippet_lister = 233;
|
static i32 fcoder_metacmd_ID_set_face_size_this_buffer = 233;
|
||||||
static i32 fcoder_metacmd_ID_string_repeat = 234;
|
static i32 fcoder_metacmd_ID_set_mark = 234;
|
||||||
static i32 fcoder_metacmd_ID_suppress_mouse = 235;
|
static i32 fcoder_metacmd_ID_set_mode_to_notepad_like = 235;
|
||||||
static i32 fcoder_metacmd_ID_swap_panels = 236;
|
static i32 fcoder_metacmd_ID_set_mode_to_original = 236;
|
||||||
static i32 fcoder_metacmd_ID_theme_lister = 237;
|
static i32 fcoder_metacmd_ID_setup_build_bat = 237;
|
||||||
static i32 fcoder_metacmd_ID_to_lowercase = 238;
|
static i32 fcoder_metacmd_ID_setup_build_bat_and_sh = 238;
|
||||||
static i32 fcoder_metacmd_ID_to_uppercase = 239;
|
static i32 fcoder_metacmd_ID_setup_build_sh = 239;
|
||||||
static i32 fcoder_metacmd_ID_toggle_filebar = 240;
|
static i32 fcoder_metacmd_ID_setup_new_project = 240;
|
||||||
static i32 fcoder_metacmd_ID_toggle_fps_meter = 241;
|
static i32 fcoder_metacmd_ID_show_filebar = 241;
|
||||||
static i32 fcoder_metacmd_ID_toggle_fullscreen = 242;
|
static i32 fcoder_metacmd_ID_show_scrollbar = 242;
|
||||||
static i32 fcoder_metacmd_ID_toggle_highlight_enclosing_scopes = 243;
|
static i32 fcoder_metacmd_ID_show_the_log_graph = 243;
|
||||||
static i32 fcoder_metacmd_ID_toggle_highlight_line_at_cursor = 244;
|
static i32 fcoder_metacmd_ID_snipe_backward_whitespace_or_token_boundary = 244;
|
||||||
static i32 fcoder_metacmd_ID_toggle_line_numbers = 245;
|
static i32 fcoder_metacmd_ID_snipe_forward_whitespace_or_token_boundary = 245;
|
||||||
static i32 fcoder_metacmd_ID_toggle_line_wrap = 246;
|
static i32 fcoder_metacmd_ID_snippet_lister = 246;
|
||||||
static i32 fcoder_metacmd_ID_toggle_mouse = 247;
|
static i32 fcoder_metacmd_ID_string_repeat = 247;
|
||||||
static i32 fcoder_metacmd_ID_toggle_paren_matching_helper = 248;
|
static i32 fcoder_metacmd_ID_suppress_mouse = 248;
|
||||||
static i32 fcoder_metacmd_ID_toggle_show_whitespace = 249;
|
static i32 fcoder_metacmd_ID_swap_panels = 249;
|
||||||
static i32 fcoder_metacmd_ID_toggle_virtual_whitespace = 250;
|
static i32 fcoder_metacmd_ID_theme_lister = 250;
|
||||||
static i32 fcoder_metacmd_ID_tutorial_maximize = 251;
|
static i32 fcoder_metacmd_ID_to_lowercase = 251;
|
||||||
static i32 fcoder_metacmd_ID_tutorial_minimize = 252;
|
static i32 fcoder_metacmd_ID_to_uppercase = 252;
|
||||||
static i32 fcoder_metacmd_ID_uncomment_line = 253;
|
static i32 fcoder_metacmd_ID_toggle_filebar = 253;
|
||||||
static i32 fcoder_metacmd_ID_undo = 254;
|
static i32 fcoder_metacmd_ID_toggle_fps_meter = 254;
|
||||||
static i32 fcoder_metacmd_ID_undo_all_buffers = 255;
|
static i32 fcoder_metacmd_ID_toggle_fullscreen = 255;
|
||||||
static i32 fcoder_metacmd_ID_view_buffer_other_panel = 256;
|
static i32 fcoder_metacmd_ID_toggle_highlight_enclosing_scopes = 256;
|
||||||
static i32 fcoder_metacmd_ID_view_jump_list_with_lister = 257;
|
static i32 fcoder_metacmd_ID_toggle_highlight_line_at_cursor = 257;
|
||||||
static i32 fcoder_metacmd_ID_word_complete = 258;
|
static i32 fcoder_metacmd_ID_toggle_line_numbers = 258;
|
||||||
static i32 fcoder_metacmd_ID_word_complete_drop_down = 259;
|
static i32 fcoder_metacmd_ID_toggle_line_wrap = 259;
|
||||||
static i32 fcoder_metacmd_ID_write_block = 260;
|
static i32 fcoder_metacmd_ID_toggle_mouse = 260;
|
||||||
static i32 fcoder_metacmd_ID_write_hack = 261;
|
static i32 fcoder_metacmd_ID_toggle_paren_matching_helper = 261;
|
||||||
static i32 fcoder_metacmd_ID_write_note = 262;
|
static i32 fcoder_metacmd_ID_toggle_show_whitespace = 262;
|
||||||
static i32 fcoder_metacmd_ID_write_space = 263;
|
static i32 fcoder_metacmd_ID_toggle_virtual_whitespace = 263;
|
||||||
static i32 fcoder_metacmd_ID_write_text_and_auto_indent = 264;
|
static i32 fcoder_metacmd_ID_tutorial_maximize = 264;
|
||||||
static i32 fcoder_metacmd_ID_write_text_input = 265;
|
static i32 fcoder_metacmd_ID_tutorial_minimize = 265;
|
||||||
static i32 fcoder_metacmd_ID_write_todo = 266;
|
static i32 fcoder_metacmd_ID_uncomment_line = 266;
|
||||||
static i32 fcoder_metacmd_ID_write_underscore = 267;
|
static i32 fcoder_metacmd_ID_undo = 267;
|
||||||
static i32 fcoder_metacmd_ID_write_zero_struct = 268;
|
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
|
#endif
|
||||||
|
|
|
@ -60,4 +60,6 @@ buffer_lex_task = managed_id_declare(app, string_u8_litexpr("attachment"), strin
|
||||||
buffer_wrap_lines = managed_id_declare(app, string_u8_litexpr("attachment"), string_u8_litexpr("buffer_wrap_lines"));
|
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"));
|
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"));
|
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"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue