code folding in PythonWin (scintilla)

Tom nospam at nospam.com
Thu Sep 21 11:26:52 EDT 2000


Is there some way to control the characteristics of code folding in
PythonWin?

I want to (1) create some sort of user fold point, so that I can fold away
large blocks of comments, and (2) try to stop it from hiding within a
previous fold, comments that are placed just before a new top-level
construct, eg.

class COneClass:
    def Blah():
        code;

# This comment about CNewClass gets folded into COneClass above.
def CNewClass:
    def __init__(self):

Thanks,

Tom.




More information about the Python-list mailing list