[Midnight Commander] #256: Alt+Backspace off-by-one (UTF-8)
- From: "Ticket System" <tickets midnight-commander org>
- To: egmont gmail com
- Cc: mc-devel gnome org
- Subject: [Midnight Commander] #256: Alt+Backspace off-by-one (UTF-8)
- Date: Thu, 05 Feb 2009 22:24:36 -0000
#256: Alt+Backspace off-by-one (UTF-8)
---------------------+------------------------------------------------------
Reporter: egmont | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.6.2.1
Component: mc-core | Version: 4.6.2
Keywords: | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
The UTF-8 patch introduces this regression: Ctrl+Left and Alt+Backspace
proceed one more character than they should.
(Consistently with unpatched mc, bash, and probably lots of other tools,
Alt+Backspace should remove a sequence of non-alphanumeric characters
followed by a sequence of alphanumeric ones, but instead it removes one
more non-alphanumeric character at the end. Similar for Ctrl+Left.)
Trivial patch is attached. I've created this patch years ago and posted to
mc-devel; probably it's already included in some major Linux distributions
as well.
Please apply this fix in your UTF-8 patch. Thanks!
--
Ticket URL: <www.midnight-commander.org/ticket/256>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]