From 545e41e29df60c05f9593ee8827512c171463c75 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 8 Nov 2005 23:12:22 +0000 Subject: Explained point of whitespace flag in folding. --- doc/ScintillaDoc.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 3fae458bb..fb4ac1420 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3870,7 +3870,9 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ SC_FOLDLEVELBASE (1024) to allow unsigned arithmetic on folding levels. There are two addition flag bits. SC_FOLDLEVELWHITEFLAG indicates that the line is blank and allows it to be treated slightly different then its level may indicate. For example, blank - lines should generally not be fold points. SC_FOLDLEVELHEADERFLAG indicates that + lines should generally not be fold points and will be considered part of the preceding section even though + they may have a lesser fold level. + SC_FOLDLEVELHEADERFLAG indicates that the line is a header (fold point).

Use SCI_GETFOLDLEVEL(line) & SC_FOLDLEVELNUMBERMASK to get the fold level -- cgit v1.2.3