[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: Josha Foust <jfoust_at_mankowindows.com>
Date: 2005-02-17 16:31:00 CET

> -----Original Message-----
> From: SteveKing [mailto:stefankueng@gmail.com]
> Sent: Thursday, February 17, 2005 3:57 AM
> To: dev@tortoisesvn.tigris.org
> Subject: Re: [TSVN] Autocompletion list in the commit dialog
>
> Now the only thing left are the many many regex strings for as many
> filetypes as possible ;)
>
> Stefan
>

Here is a new one for VB6, but it has a problem, it is returning blank
matches.
(MULTILINE) .bas, .frm, .cls = ^\s*(?:(?:Public (?:Default )?|Private
)?(?:Sub|Function|Property Get|Property Set|Property Let)
?)(\w+)\(|^Attribute VB_Name = "(\w+)"

The new 'Attribute VB_Name' is the hidden text that identifies the class,
module or form. I don't think I need NOCASE because the VB6 IDE always
seems to set the case of those keywords. Are there any other uses where
that might not be the case? Maybe in older versions of Visual Basic?

Also, do you think we should be matching properties?

This multiline version is about 18x faster than the old one with lookahead.

Josha Foust

---------------------------------------------------------------------
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:31:47 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.