Dominique Pelle wrote:
> Attached patch fixes a low priority cosmetic bug. > > When doing ":cs help", messages are properly aligned > in English but are misaligned on some other languages > when using utf-8 encoding. So it looks ugly. > > Misalignment buglet happens in languages which uses > non ASCII characters and happens at least for French > and Esperanto for example because of accentuated > characters. > > The problem happens because cs_help() in if_cscope.c > uses "%-30s" format to align text but "%-30s" prints > strings on 30 *bytes* rather than 30 characters (or > 30 screen cells to be more exact). > > Attached patch fixes it. > > See screenshot before fix (notice how strings are misaligned): > http://dominique.pelle.free.fr/pic/align-buglet-eo.png > > And after fix (strings correctly aligned): > http://dominique.pelle.free.fr/pic/align-buglet-eo-fixed.png Thanks, I'll include it soon. -- A consultant is a person who takes your money and annoys your employees while tirelessly searching for the best way to extend the consulting contract. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---