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

Re: [TSVN] Re: Questions, polish bugs, feature request

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-16 23:26:18 CEST

Valik wrote:
>From: SteveKing [mailto:steveking@gmx.ch]
>> If it's a scripting language that's publicly available, then
>> there's no reason why we shouldn't include it in TSVN directly. So
>> just send your regex line here and we'll add it to TSVN. >
>
> Yes, it's publicly available at http://www.autoitscript.com/autoit3/.
>
> The regular expression I tested is below. The .auh extension is not an
> official extension but the lead developer for AutoIt doesn't care about
> my submitting it. I'm adding it since AFAIK I'm the only person storing
> AutoIt scripts under version control and its useful to me. It should
> also be harmless to others as I see no reference of any other program
> using that extension.
>
> (MULTILINE|NOCASE) .au3, .auh = Func\s+([\w_]+)|\$([\w_]+)

I have to say this is a fairly obscure one. As you say, it shouldn't
interfere with anyone else. .au3 comes up only as an AutoIt extension on
FileExt.com, .auh comes up as unused.

But with so many zillions of extensions and programs about, I wonder if
we should provide some means for users to add their own regexes to the
local installation, rather than add them to the installation file.

UltraEdit has something similar in its wordfiles, which allow you to
define your own syntax highlighting rules and function name extraction.
There are about 12 provided as standard for C/C++, VB, HTML, etc. And
there as a contrib section on their website where you can download
others that users have contributed.

It would have to be with the proviso that we cannot support/debug user
regexes, and it would need suitable documentation and examples.

Simon

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