Hi, if I am loading a HTML file into QScintilla2, no folding is possible (i.e. nothing is draw in the fold margin). However, if I change the lexer to something else (e.g. C++) and back to HTML, fold markers are shown and folding is possible. What am I doing wrong? Detlev -- Detlev Offenbach detlev at die-offenbachs.de