Hi instanton, I think the following commands should be added: 1, \startXXX...\stopXXX pair 2, \ifYYY ... \else ... \fi structure 3, \chapter, \section, \subsection, \title and \subject, \topic, etc. IMHO, I'd like to folder \def\XXX#1% {...} and some \setupZZZ, \defineZZZ's. I hope you can provide some mysterious folding symbols, like %%--{{ something i like to be folded. %%--}} On 5/28/07, soft_share wrote: > > Hi, > > I don't know much about lua so I'm afraid that I cannot do much about the > code-folding via lua script. However there are some built-in pseudo-TeX > commands like %\StartFolding %\EndFolding in NotePad++ and the unofficial > SciTE I'm using which can be used to manually control where text fold should > apply. At present I can only add a minimum scope of ConTeXt commands in the > souce code which controls TeX folding. Which commands would you suggest to > add? > > > soft_share@126.com > 2007-05-28 > > ----- Original Message ----- > *From: *Zhichu Chen > *To: *soft_share > *Sent: *2007-05-28, 06:49:23 > *Subject: *Re: [NTG-context] Scite folding > > Hi, instanton > > Is there any possibility that you can make an addon lua script to do the > folding function that we can add syntax by ourselves? Because I wanna keep > the official SciTE. > > > On 5/28/07, soft_share wrote: > > > > Dear all, > > > > Just come across this thread. The TeX folding feature in NotePad++ was > > adapted by me and originally the adaptations was made in SciTE. As I am not > > a ConTeXt user, I am not aware of the structure of sectioning commands in > > ConTeXt. Could anyone of you let me know of a minimum list of sectioning > > commands in ConTeXt so that I can modify the source code to make the TeX > > folding in SciTE and NotePad++ work also for ConTeXt documents? > > > > Bests > > > > > > instanton@ctex.org <+instanton@ctex.org> > > 2007-05-28 > > > > > > > > -- > Best Regards > Chen > ---------------------------------------------------------------- > > Zhi-chu Chen | Shanghai Synchrotron Radiation Facility > No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China > tel: 086 21 5955 3405 | zhichu.chen.googlepages.com > | www.sinap.ac.cn > ---------------------------------------------------------------- > > -- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ----------------------------------------------------------------