From a94abb53e54f4e97b039da4edfc97fef15489a52 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 6 Jun 2006 01:01:59 +0000 Subject: Patch from RFE 1501054 by Greg Smith adds margin styles that fill with the foreground of background of the default style. --- doc/ScintillaDoc.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 8f73a0705..a3fc400fa 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2272,7 +2272,10 @@ struct TextToFind { These two routines set and get the type of a margin. The margin argument should be 0, 1, 2, 3 or 4. You can use the predefined constants SC_MARGIN_SYMBOL (0) and SC_MARGIN_NUMBER (1) to set a margin as either a line number or a symbol margin. - By convention, margin 0 is used for line numbers and the next two are used for symbols.

+ By convention, margin 0 is used for line numbers and the next two are used for symbols. You can + also use the constants SC_MARGIN_BACK (2) and SC_MARGIN_FORE (3) for + symbol margins that set their background colour to match the STYLE_DEFAULT background and + foreground colours.

SCI_SETMARGINWIDTHN(int margin, int pixelWidth)
SCI_GETMARGINWIDTHN(int margin)
@@ -2405,8 +2408,8 @@ struct TextToFind { codePage set to the code page number to set Scintilla to use code page information to ensure double byte characters are treated as one character rather than two. This also stops the caret from moving between the two bytes in a double byte character. - Do not use this message to choose between different single byte character sets: it doesn't do that. - Call with + Do not use this message to choose between different single byte character sets: it doesn't do that. + Call with codePage set to zero to disable DBCS support. The default is SCI_SETCODEPAGE(0).

-- cgit v1.2.3