[FarGroup/FarManager] master: ArcLite: gh-1130: Enable hotkeys in UI comboboxes (b0dee6d42)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Sep 14, 2026, 4:16:02 PMSep 14
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/b0dee6d425dfca8d5ecd1b8916e4430bcf45d193

>---------------------------------------------------------------

commit b0dee6d425dfca8d5ecd1b8916e4430bcf45d193
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Mon Sep 14 21:03:41 2026 +0100

ArcLite: gh-1130: Enable hotkeys in UI comboboxes


>---------------------------------------------------------------

b0dee6d425dfca8d5ecd1b8916e4430bcf45d193
plugins/arclite/changelog | 6 +++++-
plugins/arclite/sfx.cpp | 4 ++--
plugins/arclite/ui.cpp | 8 ++++----
plugins/arclite/version.hpp | 2 +-
plugins/luamacro/changelog | 2 +-
5 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/plugins/arclite/changelog b/plugins/arclite/changelog
index dffc4a199..3fc20298f 100644
--- a/plugins/arclite/changelog
+++ b/plugins/arclite/changelog
@@ -1,4 +1,8 @@
-MZK 2026-09-08 22:20:59-04:00 - build
+drkns 2026-09-14 20:58:30+01:00 - build 357
+
+1. Enable hotkeys in UI comboboxes.
+
+MZK 2026-09-08 22:20:59-04:00

1. Use `curl` and `tar` instead of Powershell cmdlets

diff --git a/plugins/arclite/sfx.cpp b/plugins/arclite/sfx.cpp
index 18dfac383..e3b20be10 100644
--- a/plugins/arclite/sfx.cpp
+++ b/plugins/arclite/sfx.cpp
@@ -357,7 +357,7 @@ public:
profile_names.push_back(profiles[i].name);
}
profile_names.emplace_back();
- profile_ctrl_id = combo_box(profile_names, profiles.size(), 30, DIF_DROPDOWNLIST);
+ profile_ctrl_id = combo_box(profile_names, profiles.size(), 30, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
new_line();
separator();
new_line();
@@ -374,7 +374,7 @@ public:
name_width = name.size();
});
module_names.emplace_back();
- module_ctrl_id = combo_box(module_names, sfx_modules.find_by_name(m_options.name), name_width + 6, DIF_DROPDOWNLIST);
+ module_ctrl_id = combo_box(module_names, sfx_modules.find_by_name(m_options.name), name_width + 6, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
new_line();

replace_icon_ctrl_id = check_box(Far::get_msg(MSG_SFX_OPTIONS_DLG_REPLACE_ICON), m_options.replace_icon);
diff --git a/plugins/arclite/ui.cpp b/plugins/arclite/ui.cpp
index 39ee7ff2a..69ef0f62e 100644
--- a/plugins/arclite/ui.cpp
+++ b/plugins/arclite/ui.cpp
@@ -1302,7 +1302,7 @@ public:
});
profile_names.emplace_back();
label(Far::get_msg(MSG_UPDATE_DLG_PROFILE));
- profile_ctrl_id = combo_box(profile_names, profile_idx, 30, DIF_DROPDOWNLIST);
+ profile_ctrl_id = combo_box(profile_names, profile_idx, 30, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
spacer(1);
save_profile_ctrl_id = button(Far::get_msg(MSG_UPDATE_DLG_SAVE_PROFILE), DIF_BTNNOCLOSE);
spacer(1);
@@ -1372,7 +1372,7 @@ public:
if (!main_formats.empty())
spacer(1);
other_formats_ctrl_id = radio_button(Far::get_msg(MSG_UPDATE_DLG_ARC_TYPE_OTHER), found);
- combo_box(other_format_names, other_format_index, AUTO_SIZE, DIF_DROPDOWNLIST);
+ combo_box(other_format_names, other_format_index, AUTO_SIZE, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
}

new_line();
@@ -1386,7 +1386,7 @@ public:
if (m_options.level == c_levels[i].value)
level_sel = i;
}
- level_ctrl_id = combo_box(level_names, level_sel, AUTO_SIZE, DIF_DROPDOWNLIST);
+ level_ctrl_id = combo_box(level_names, level_sel, AUTO_SIZE, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
spacer(2);

label(Far::get_msg(MSG_UPDATE_DLG_METHOD));
@@ -1404,7 +1404,7 @@ public:
method_name = Far::get_msg(c_methods[i].name_id);
method_names.push_back(method_name);
}
- method_ctrl_id = combo_box(method_names, method_sel, AUTO_SIZE, DIF_DROPDOWNLIST);
+ method_ctrl_id = combo_box(method_names, method_sel, AUTO_SIZE, DIF_DROPDOWNLIST | DIF_LISTAUTOHIGHLIGHT | DIF_LISTNOAMPERSAND);
spacer(2);

solid_ctrl_id = check_box(Far::get_msg(MSG_UPDATE_DLG_SOLID), m_options.solid);
diff --git a/plugins/arclite/version.hpp b/plugins/arclite/version.hpp
index 91c327256..0cfcb33ab 100644
--- a/plugins/arclite/version.hpp
+++ b/plugins/arclite/version.hpp
@@ -1,6 +1,6 @@
#include <farversion.hpp>

-#define PLUGIN_BUILD 356
+#define PLUGIN_BUILD 357
#define PLUGIN_DESC L"Archive support for Far Manager (based on 7-Zip project)"
#define PLUGIN_NAME L"ArcLite"
#define PLUGIN_FILENAME L"arclite.dll"
diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog
index ff795d594..b1cbb9053 100644
--- a/plugins/luamacro/changelog
+++ b/plugins/luamacro/changelog
@@ -2,7 +2,7 @@ shmuel 2026-09-14 19:04:35+03:00 - build 944

1. LuaFAR: add aliases fg, bg, ul for ForegroundColor, BackgroundColor, UnderlineColor.

-MZK 2026-09-08 22:20:59-04:00 - build
+MZK 2026-09-08 22:20:59-04:00

1. Use `curl` and `tar` instead of Powershell cmdlets



Reply all
Reply to author
Forward
0 new messages