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

RE: [TSVN] Missing tooltip in settings dialog

From: Peter Mounce <petermounce_at_iml.co.uk>
Date: 2005-05-27 12:13:33 CEST

> -----Original Message-----
> From: SteveKing [mailto:stefankueng@gmail.com]
> Sent: 26 May 2005 18:39
> To: dev@tortoisesvn.tigris.org
> Subject: Re: [TSVN] Missing tooltip in settings dialog
>
> 2005/5/26, Peter Mounce <petermounce@iml.co.uk>:
>
> > Also, what are the chances of a button here to invoke a
> text editor to
> > edit the regexes in autolist.txt? If, you know, people fancy their
> > chances. If that file is changed, by the way, does TSVN
> notice before
> > a reboot/explorer-cycling?
>
> You can edit that file without any button in the settings
> dialog. It's stored in the installation bin folder of TSVN.
> But you should be very careful when editing that file: if you
> enter there an invalid expression, the regex engine throws an
> exception and then the whole parsing won't happen at all
> (TSVN won't crash, but it also won't parse your files for
> keywords to include in the autocompletion).
> Also, we would like to include any changes people do in that
> file in the TSVN releases. So if someone wants to improve the
> parsing, they should ask on the mailing list first on how to
> do that, then we can tell them that and ask to give their
> changes back to the project.

So if the file is edited, it gets reread in time for the next time the
user wants to enter a log message in the commit window?

Would it be possible for you to add a comment inside the file to the
effect of: "Be careful changing the regexes, if they're invalid the
parsing will silently fail. If you improve them, please tell us about
it on the mailing list!"?
 
> As of revision 3502, the BASE files are parsed too.

Fantastic, thanks!

> But know this: to avoid having the commit dialog wait too
> long, the parsing stops after 5 seconds, no matter if all
> listed files have been parsed yet or not.

Is there any chance of the timeout being configurable? Personally, I
would be willing to endure a longer wait for the commit window in
exchange for less typing. Or is this a subtle attempt to get people in
general to write small, short classes and improve the world in general?
;-)

As an aside, does anyone happen to know how to get regex to ignore parts
of the file it's parsing? .NET development with VS.NET means, for
WinForms at least, that there's a whole shedload of code that doesn't
contain definitions, inside the region called Designer Generated Code or
some similar name. It would be useful from a time-spent-parsing point
of view, to be able to exclude that region entirely. I don't know regex
well enough to know how to do that, though.

It looks like this in a .cs file:
#region Designer Generated Code
......
#endregion

(and is usually indented by two tabs)

 
Peter Mounce
IML Ltd
 
e: mailto:petermounce_at_iml.co.uk w: http://www.iml.co.uk
t: (01428) 727476 f: (01428) 727011

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 27 12:15:40 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.