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

List:       kwrite-devel
Subject:    Re: folding non java/cpp code
From:       Luc de Louw <luc () delouw ! ch>
Date:       2002-12-09 0:14:37
[Download RAW message or body]

Christian Bird wrote:

[..]

> I've looked at the cpp.xml file for an example and the mechanism for 
> using
> code-folding in a highlight file is surprisingly easy to use. 
> Unfortunately,
> I do most of my coding in python which uses indentation instead of 
> delimiters
> to determine code-blocks.  How difficult would it be to have the 
> highlight
> mechanism recognize indentation changes in addition to strings.  That 
> way I
> could very easily add code-folding for python.  What files would you 
> suggest
> I make changes to in order to add this feature?  Thanks for any help.

highlighting is indeed easy, but in the cpp.xml I cannot see anything that
defines the folding stuff? Sorry, I'm not really an XML-Guy....

If I get some hints, I can try better...

rgds

Luc



_______________________________________________
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