#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
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to