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

List:       kwrite-devel
Subject:    Re: folding non java/cpp code
From:       Joseph Wenninger <jowenn () kde ! org>
Date:       2002-12-09 7:34:07
[Download RAW message or body]

Hi

Am Mon, 2002-12-09 um 01.14 schrieb Luc de Louw:
> Christian Bird wrote:
> 
> [..]
[....] 
> 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
> 
--------
eg:
        <DetectChar attribute="Normal Text" context="#stay" char="{"
beginRegion="Brace1" />
        <DetectChar attribute="Normal Text" context="#stay" char="}"
endRegion="Brace1" />
--------
beginRegion, endRegion start/end a folding block.

Kind regards
Joseph Wenninger

_______________________________________________
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