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

Re: [TSVN] Re: filename completion not working in nightly?

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-02-16 17:58:37 CET

Peter Mounce wrote:
> Mm.
>
> What will happen when two languages share an extension? For example, C and
> C++ both use .h, don't they? Does that mean each .h file will be parsed by
> however many regexes are defined as acting on .h files? Or is there going
> to be a limit of just one regex per file extension?

No. One regex per file extension. Not more! You can write the one regex
in a way that it works with C and C++.

> Are we relying on the user to set up the regexes, cutting and pasting from a
> supplied "starter" list?

I intend to provide the regex list. It's currently only done for C/C++
header and cpp files. But I count on you guys to provide me with regexes
for other languages so I can add them to the autolist.txt file. That
file get's installed with TSVN.
First I wanted to hardcode the regexes, but then I thought that with a
editable text file you guys can help me out much better ;)

And don't forget: this is just a nice feature! It never will be perfect
in that it won't reliably parse _only_ classnames/methods/... but most
of the time some other unwanted strings too - but that won't really hurt
that feature (as long as the ratio isn't too high!).

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 17:59:16 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.