[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-17 17:44:39 CET

Rainer Müller wrote:
> For PHP:
>
> (MULTILINE) .php =
> \s+class|(?<=(?=public|private|)\s+function)\s(\w+)|::(\w+)|->(\w+)
>
> That matches all class and function definitions. It also matches all
> called functions (either static or from a object).

Thanks! Committed in revision 2690.

> This regex generates many empty lines, but I think this is something in
> the test tool?

Not really. The test tool only prints what really _is_ inside the
matched groups. So there are a lot of empty groups.
But empty lines don't get added to the autocompletion list anyway, so
that's not a problem.

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 Thu Feb 17 17:45:20 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.