'delcombine' doesn't work on the command-line
Reproducible: Always
Steps to reproduce:
1. Start Vim with +multi_byte and with encoding=utf-8
2. Make sure 'delcombine' is on
3. Start a search command-line for something which includes at least one
combining character. I used \<вы́ше\> (backslash, less-than,
Cyrillic-veh, Cyrillic-ery, combining-acute, Cyrillic-shah,
Cyrillic-yeh, backslash, greater-than) as the search pattern; the
combining-acute is U+0301.
4. Move the command-line cursor to just after the combining character.
5. Hit Backspace
Actual result:
The combining character gets deleted together with the spacing character
preceding it.
Expected result:
Since 'delcombine' is set, I would have expected to remove only the
combining character, just as it happens when I hit Backspace at the same
position in the same word in Insert mode.
Additional info:
The help for 'delcombine' says:
> If editing Unicode and this option is set, backspace and Normal mode
> "x" delete each combining character on its own.
I would have expected this to apply also to backspacing on the
command-line (especially a / or ? search command-line, but also e.g. in
a ":let variable = 'value'" ex-comand line).
I'm using gvim 7.2.234 (Huge) with GTK2/Gnome2 GUI.
Best regards,
Tony.
--
In the Garden of Eden sat Adam,
Massaging the bust of his madam,
He chuckled with mirth,
For he knew that on earth,
There were only two boobs and he had 'em.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---