[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: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-02-17 16:21:53 CET

Hi Toby,

> I doubt you want to actually return the words "class",
> "procedure", etc.
> To prevent a pair of parentheses from actually returning that
> value, use
> the (?:) notation. Also, I believe you wanted to make "class"
> optional?
No, I only wanted to have the classes, not const, record and other stuff
that is on the left hand side of a '='.

> (NOCASE) .pas =
> (\w+)\s+=\s+(?:class)?|(?:procedure|function|property)\s+(\w+)

Now everything in front of a '=' sign gets returned, not just class names. I
still have to decide whether I like this. May be nice for other type and
const declarations.
There are lots of empty lines returned as well. Any idea why?

Cheers
- Lübbe

--
       ___
  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 16:23:25 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.