D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Collapsing bracket editors



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've got a couple of editors that will indicate the matching } for a { and 
vice-versa - just as long as the match is within the scope of the current 
view. I've got a couple of scripts where the biggest block is simply too 
large to manage and I want to re-jig the script. Problem is that it's already 
so big and there are already so many other large blocks that it's hard to be 
sure where I am.

Using XML I'd got used to editors that could collapse tags to make only the 
essential details viewable and I did once have an editor that would do the 
same with {}.

If I have a structure:
{
	{
		{
		}
	{
		{
		}
	}
}
{
	{
	}
}
Which editors will collapse that to:
{
}
{
}

without having to transform the file itself? (i.e. in memory).

The source file is PHP and I'd like to retain source code highlighting if 
possible.

- -- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.wewantbroadband.co.uk/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+j/lkiAEJSii8s+MRAsCBAJ9auS2FobMliYlC8GjhGAX8MTvlZgCg8czD
Qvhm7dSXNgQOhQVyoZ0hI+U=
=hAcX
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly