[FarGroup/FarManager] master: Fix Backspace handling in read only edit controls (690076a71)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Dec 29, 2025, 1:01:00 PM12/29/25
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/690076a712bfd5da55f81072a314e9b3af8843ec

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

commit 690076a712bfd5da55f81072a314e9b3af8843ec
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Mon Dec 29 17:43:27 2025 +0000

Fix Backspace handling in read only edit controls


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

690076a712bfd5da55f81072a314e9b3af8843ec
far/edit.cpp | 3 +++
1 file changed, 3 insertions(+)

diff --git a/far/edit.cpp b/far/edit.cpp
index 168c64be1..c7b30b611 100644
--- a/far/edit.cpp
+++ b/far/edit.cpp
@@ -929,6 +929,9 @@ bool Edit::ProcessKey(const Manager::Key& Key)
}
case KEY_BS:
{
+ if (m_Flags.Check(FEDITLINE_READONLY | FEDITLINE_DROPDOWNBOX))
+ return true;
+
if (m_CurPos<=0)
return false;



Reply all
Reply to author
Forward
0 new messages