[Midnight Commander] #257: Highlight width issues (UTF-8)

Ticket System tickets at midnight-commander.org
Thu Feb 5 22:39:11 UTC 2009


#257: Highlight width issues (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 several issues regarding the width of a
 highlighed (cyan-background) field, if it contains accented characters.

 Long time ago I've created some patches to address them, and posted them
 to mc-devel. Probably they are already included in some major Linux
 distros as well. Please apply them to your UTF-8 patch, so that these
 fixes reach everyone who want UTF-8 in mc. Thanks!

 I send multiple patches fixing multiple similar issues; I know it's
 generally not wise and I should probably file separate tickets, but they
 all rely on some common codebase, so I thought it'd be simpler this way.

 The fixes are:
 - Correct width for the bottom row's buttons (if they have accents)
 - Correctly highlight the full line in hotlists (alt+H) (if the entry has
 accented letters)
 - Correctly highlight quick filename search (ctrl+S) (if the currently
 matching filename prefix has accented letters)
 - Fix filename/command completion (if the already typed prefix of the
 filename/command has accented letters - ok, this is not about
 highlighting, but it's the same story)

-- 
Ticket URL: <www.midnight-commander.org/ticket/257>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list