moved lalt lctrl to config
parent
f30bd14777
commit
d00bc650ec
|
@ -754,6 +754,7 @@ process_config_file(Application_Links *app){
|
||||||
if (result == LexResult_Finished){
|
if (result == LexResult_Finished){
|
||||||
int32_t new_wrap_width = default_wrap_width;
|
int32_t new_wrap_width = default_wrap_width;
|
||||||
int32_t new_min_base_width = default_min_base_width;
|
int32_t new_min_base_width = default_min_base_width;
|
||||||
|
bool32 lalt_lctrl_is_altgr = false;
|
||||||
|
|
||||||
for (int32_t i = 0; i < array.count; ++i){
|
for (int32_t i = 0; i < array.count; ++i){
|
||||||
Config_Line config_line = read_config_line(array, &i);
|
Config_Line config_line = read_config_line(array, &i);
|
||||||
|
@ -782,11 +783,14 @@ process_config_file(Application_Links *app){
|
||||||
}
|
}
|
||||||
|
|
||||||
config_bool_var(item, "automatically_load_project", 0, &automatically_load_project);
|
config_bool_var(item, "automatically_load_project", 0, &automatically_load_project);
|
||||||
|
|
||||||
|
config_bool_var(item, "lalt_lctrl_is_altgr", 0, &lalt_lctrl_is_altgr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
adjust_all_buffer_wrap_widths(app, new_wrap_width, new_min_base_width);
|
adjust_all_buffer_wrap_widths(app, new_wrap_width, new_min_base_width);
|
||||||
default_wrap_width = new_wrap_width;
|
default_wrap_width = new_wrap_width;
|
||||||
default_min_base_width = new_min_base_width;
|
default_min_base_width = new_min_base_width;
|
||||||
|
global_set_setting(app, GlobalSetting_LAltLCtrlIsAltGr, lalt_lctrl_is_altgr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ open_recursively=true;
|
||||||
fkey_command_win[1] = {"echo build: x64 & build.bat", "*compilation*", true , true };
|
fkey_command_win[1] = {"echo build: x64 & build.bat", "*compilation*", true , true };
|
||||||
fkey_command_win[2] = {"site\\build.bat", "*site*", false , true };
|
fkey_command_win[2] = {"site\\build.bat", "*site*", false , true };
|
||||||
fkey_command_win[3] = {"string\\build.bat", "*compilation*", true , true };
|
fkey_command_win[3] = {"string\\build.bat", "*compilation*", true , true };
|
||||||
fkey_command_win[4] = {"echo build: x86 & build.bat /DDEV_BUILD_X86", "*compilation*", true , true };
|
|
||||||
fkey_command_win[5] = {"..\\misc\\run.bat", "*run*", false, false };
|
fkey_command_win[5] = {"..\\misc\\run.bat", "*run*", false, false };
|
||||||
fkey_command_win[6] = {"run_profile.bat", "*profile*", false, true };
|
fkey_command_win[6] = {"run_profile.bat", "*profile*", false, true };
|
||||||
fkey_command_win[12] = {"package.bat", "*package*", false, true };
|
fkey_command_win[12] = {"package.bat", "*package*", false, true };
|
||||||
|
@ -12,5 +11,4 @@ fkey_command_win[12] = {"package.bat", "*package*", false, true };
|
||||||
fkey_command_linux[1] = {"echo build: x64 & ./build.sh", "*compilation*", true , true };
|
fkey_command_linux[1] = {"echo build: x64 & ./build.sh", "*compilation*", true , true };
|
||||||
fkey_command_linux[2] = {"site/build.sh", "*site*", false , true };
|
fkey_command_linux[2] = {"site/build.sh", "*site*", false , true };
|
||||||
fkey_command_linux[4] = {"echo build: x86 & ./build.sh -DDEV_BUILD_X86", "*compilation*", true, true };
|
fkey_command_linux[4] = {"echo build: x86 & ./build.sh -DDEV_BUILD_X86", "*compilation*", true, true };
|
||||||
fkey_command_linux[5] = {"../build/4ed", "*run*", false, false};
|
|
||||||
fkey_command_linux[12] = {"./package.sh", "*package*", false, true };
|
fkey_command_linux[12] = {"./package.sh", "*package*", false, true };
|
||||||
|
|
Loading…
Reference in New Issue