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

Re: [TSVN] Autocompletion list in the commit dialog

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-02-16 21:21:56 CET

Eric J. Smith wrote:
>>I'm now a little confused: do you suggest changing the code in TSVN or
>>just the regex patterns?
>>You seem to be very good with regexes, so you maybe can help improving
>>those strings a lot - I haven't used regexes that much yet...
>
>
> You would have to change the code in TSVN to not do the 2nd pass of regex
> matching, but instead to use a single regex and then from each match that
> comes back you will need to pull out any captured groups from the match.
> These captured groups are what you will insert into the auto-complete list.
>
> Does that make sense?

I'm just matching _once_ not twice (whith the .match() function). I'm
adding everything that .match() returns to the list. But maybe I'm still
doing something wrong in the code? Don't know...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Feb 16 21:22:37 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.