Franz Steinhäusler:

> in the doc, there is a sentence:
> """
> Ctrl+Shift+Click in the fold margin will expand or contract all the top
> level folds.
> """
> 
> but if I use the styled text control in wxPython, this ctrl-shift-click
> does not work as in SciTE.
> 
> Who can help me. Is there any method to enable/disable this function?

   No. It would be reasonable for an application to define its own
margin clicking commands such as not folding all except namespaces in
C++ or folding functions and methods but not classes in Python.
Scintilla sends a SCN_MARGINCLICK notification that the application
can then implement. You can look at SciTE for an example
implementation.

   Neil

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

Reply via email to