On 20/08/08 05:48, Ben Schmidt wrote:
> At the moment
>
> :help ctrl-W_f
>
> will jump to
>
> CTRL-W_F
>
> at present. It would be better if it jumped to
>
> CTRL-W_f
>
> I don't know if it's easy to implement a 'least number of characters of
> different
> case to the original' kind of search, if multiple candidates are equal apart
> from
> case, but it would definitely be an improvement if it could be done.
>
> Ben.
Hm, IIUC they are both found at step 5 or both at step 8 of
|tag-priority| (find a foldcased static tag in either the current file
or another one -- they are both in windows.txt). Since the tags file is
sorted without case-folding, case-folded tags are found by means of a
linear search, and the lexicographically first one (with F) is found
first. (see ":help help-tags" then search /\c^ctrl-w_f/ ).
When giving the exact case-matching tag, it is found at step 1 or 4, so
this gets priority.
What you ask is not illogical but I wonder what might be its
consequences for tag-search perfomance, especially on big tagfiles built
for the sources in large projects.
Best regards
Tony.
--
Ten years of rejection slips is nature's way of telling you to stop
writing.
-- R. Geis
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---