---------- Forwarded message ----------
From: Neil Hodgson <[EMAIL PROTECTED]>
Date: Mar 5, 2007 10:25 PM
Subject: Re: [scintilla] How to dynamically check if a language
supports folding?
To: Discussion of the Scintilla editing component <[email protected]>


  Hi Stani,

What I need is to check if a language has folding support in
scintilla. Which method or property can I use?

  There is no direct way to determine that a lexer may perform
folding. This information is not known by the generic Scintilla code
either. If a lexer changes folding then the container will receive
SCN_MODIFIED notifications with the SC_MOD_CHANGEFOLD set. You could
grep for "SetLevel" in the lexer source code.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest


--
http://pythonide.stani.be

Reply via email to