From 4d3c1e4b29af5bbb4ec8e62c31dacdb69c06ca12 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 12 Jul 2010 00:25:36 +0000 Subject: Fixed incorrect description of second margin settings. --- doc/ScintillaDoc.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index c5f713b35..cd4939a55 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2733,9 +2733,10 @@ struct Sci_TextToFind { sure that no symbol margin includes 0x400 in its mask, any line with the marker gets the background colour changed.

-

To set a non-folding margin 1 use SCI_SETMARGINMASKN(1, ~SC_MASK_FOLDERS); to - set a folding margin 2 use SCI_SETMARGINMASKN(2, SC_MASK_FOLDERS). This is the - default set by Scintilla. ~SC_MASK_FOLDERS is 0x1FFFFFF in hexadecimal or 33554431 +

To set a non-folding margin 1 use SCI_SETMARGINMASKN(1, ~SC_MASK_FOLDERS) + which is the default set by Scintilla. + To set a folding margin 2 use SCI_SETMARGINMASKN(2, SC_MASK_FOLDERS). + ~SC_MASK_FOLDERS is 0x1FFFFFF in hexadecimal or 33554431 decimal. Of course, you may need to display all 32 symbols in a margin, in which case use SCI_SETMARGINMASKN(margin, -1).

-- cgit v1.2.3