Dear syndicate, Can Scite be configured for folding based on TeX keywords, or is that something that is hardwired in Scintilla/Scite? I would like to feed Scite all the \start-\stop's, {}, \bgroup-\egroup etc. I looked in the context properties files but did not find anything, and it's certainly not there by default Notepad++ (also scintilla-based) supports this through a nifty define-your-own-language dialog****, as well as global RTL (no interlinear bidi), but the developers are generally unresponsive to requests for help or guidance from end users (as opposed to serious programmers) so I am a bit hesitant about switching from WinEdt to Notepad++. Notepad++ also supports folding in TeX-mode for things like \chapter, \section (without ending tags; adopted from Visual TeX) but the dialog does not let me extend that for ConTeXt (\subject etc). Anyway, whatever you can tell me about Scite and folding would be a big help! Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Hi Idris,
AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and compile
it again. But I'm sure there should be some more sophisticate way.
On 4/5/07, Idris Samawi Hamid
Dear syndicate,
Can Scite be configured for folding based on TeX keywords, or is that something that is hardwired in Scintilla/Scite? I would like to feed Scite all the \start-\stop's, {}, \bgroup-\egroup etc. I looked in the context properties files but did not find anything, and it's certainly not there by default
Notepad++ (also scintilla-based) supports this through a nifty define-your-own-language dialog****, as well as global RTL (no interlinear bidi), but the developers are generally unresponsive to requests for help or guidance from end users (as opposed to serious programmers) so I am a bit hesitant about switching from WinEdt to Notepad++. Notepad++ also supports folding in TeX-mode for things like \chapter, \section (without ending tags; adopted from Visual TeX) but the dialog does not let me extend that for ConTeXt (\subject etc).
Anyway, whatever you can tell me about Scite and folding would be a big help!
Best Idris
-- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- Sincerely yours, 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 ----------------------------------------------------------------
Hi Zhichu,
On Thu, 05 Apr 2007 09:52:19 -0600, Zhichu Chen
AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and compile it again.
I am not a programmer, and would really like to avoid this option ;-)
But I'm sure there should be some more sophisticate way.
I hope so! If not, could one of the other users let me know? Thank you for the reply and Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
On Thu, 05 Apr 2007 09:20:21 -0600, Idris Samawi Hamid
Notepad++ (also scintilla-based) supports this through a nifty define-your-own-language dialog****, as well as global RTL (no interlinear bidi),
I forgot the ****note: ****I am happy to share my context setup for Notepad++ with anyone who is interested. It's neat: I have code folding, different syntax highlighting for - context commands - \define,\setup, and \place commands - TeX primitives There is also auto-completion for ConTeXt, among other things. For those used to WinEdt I think notepad++ has a lot of potential. I'd like to see a project to make it even more TeX-friendly; with some minor tweaks and recompiling we could do a lot. But I know no C++ ;-) so if anyone is interested please contact me. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Hello Idris,
bit hesitant about switching from WinEdt to Notepad++. Notepad++ also supports folding in TeX-mode for things like \chapter, \section (without ending tags; adopted from Visual TeX)
How does it find the end of the chapter then? Patrick -- ConTeXt wiki and more: http://contextgarden.net
Hi Patrick,
On Thu, 05 Apr 2007 12:34:37 -0600, Patrick Gundlach
bit hesitant about switching from WinEdt to Notepad++. Notepad++ also supports folding in TeX-mode for things like \chapter, \section (without ending tags; adopted from Visual TeX)
How does it find the end of the chapter then?
I think it just folds at the beginning of the next sectioning command, whether it's chapter, section, subsection, etc. Soon it will be moot since Hans is going to \start-\stop all section and item commands soon anyway. In the meantime Taco uses (see archives) \def\startchapter[#1]% {\getparameters[Chapter][#1]\chapter{\ChapterTitle}} \def\stopchapter{} But notepad++ has real potential for an editor that will make it easier for your average TeX user. I'll make my ConTeXt configuration files available to anyone who wants to play with it. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
participants (3)
-
Idris Samawi Hamid
-
Patrick Gundlach
-
Zhichu Chen