[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: folding non java/cpp code
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-12-02 20:07:38
[Download RAW message or body]

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

On Monday 02 December 2002 20:35, Luc de Louw wrote:
> Hi all!
>
> With great pleasure I recognized that kwrite now supports
> codefolding. The last time I saw that was anno ~1988 in the GFA-Basic
> editor on Atari ST :-)
>
> Unfortunately I got difficulties to figure out how it works.
> I tried to write some PHP code, and no folding was possible.
>
> By accident I found out, that the feature is only active if the
> file-extension is .java or .cpp
>
> Are there any plans to enable code-folding for other programing languages?
> Or better configurable for whatever extension.
>
> I'm sorry to bug you with such stuff....
The problem is that to allow folding for languages, the xml syntax files needs 
to support that. Normally the changes are really minor (look at the cpp.xml 
file for reference if you want to try it yourself), but atm nobody had the 
time to do it for more than c++ and java highlighting I guess.

>
> rgds
>
> Luc
>
> _______________________________________________
> KWrite-Devel mailing list
> KWrite-Devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwrite-devel

- -- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9672NyPjDGePm9UIRAr97AKDGsakgWrYggzVMRh+OyAayYSy8bwCeIOFy
ulOj4jOKzQembjOLnoZIjUA=
=iX8R
-----END PGP SIGNATURE-----

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic