[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: autocomplete in commit dialog not working with under_scores (v1.5.5 and 1.5.6)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 15 Jan 2009 21:26:08 +0100

slhenty wrote:
> Hi,
> I saw a similar post back in late December, 2008, but my issue is
> slightly different. I've discovered that filenames with an underscore
> within the first three letters do not show up in autocomplete, even
> with Ctrl-Space. A full characterization of the issue follows:
> Assume a filename such as AA_toZZZZZ.ext,
> Type "a" in the commit dialog -> no autocomplete, unless you hit Ctrl-
> space (this is normal).
> Type "aa" -> no autocomplete, unless you hit Ctrl-space (this is still
> normal).
> Type "aa_" -> no autocomplete, even if you hit Ctrl-space (this is now
> different from previous versions).
> Type "aa_" plus any amount of the remaining filename -> no
> autocomplete, even with Ctrl-space.
> I've also tested filenames with an underscore later in the name: e.g.
> AABBCC_toZZZZZ.ext. The autocomplete list shows up at the third
> character, as expected. However, if you type up to or past the
> underscore, dismiss the autocomplete list, and then hit Ctrl-space to
> bring the list back, nothing shows up.
> Perhaps autocomplete has a regular expression problem with underscores
> in general?
> These kinds of filenames used to autocomplete in version 1.4.6 or so.
> Any help / advice is much appreciated, save for the obvious file
> renaming fix <grin>.

Every char that is not an alphanumeric char ( function isalnum() ) is
considered to be *not* part of a word and therefore considered as a word
break. Autocompletion only works word-wise.

And the _ char is not alphanumeric.

I'll add more chars to be included in words, but that change will have
to wait for 1.6.x


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-15 21:27:02 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.