aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-06-06 01:01:59 +0000
committernyamatongwe <unknown>2006-06-06 01:01:59 +0000
commita94abb53e54f4e97b039da4edfc97fef15489a52 (patch)
tree0f99a96b64e7f498fb6f9bfee14d88752dfd693c /doc/ScintillaDoc.html
parenta06455a982a5319a6af8976054481a3f71131b1d (diff)
downloadscintilla-mirror-a94abb53e54f4e97b039da4edfc97fef15489a52.tar.gz
Patch from RFE 1501054 by Greg Smith adds margin styles that fill with the
foreground of background of the default style.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html9
1 files changed, 6 insertions, 3 deletions
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 <code>SC_MARGIN_SYMBOL</code> (0) and
<code>SC_MARGIN_NUMBER</code> (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.</p>
+ By convention, margin 0 is used for line numbers and the next two are used for symbols. You can
+ also use the constants <code>SC_MARGIN_BACK</code> (2) and <code>SC_MARGIN_FORE</code> (3) for
+ symbol margins that set their background colour to match the STYLE_DEFAULT background and
+ foreground colours.</p>
<p><b id="SCI_SETMARGINWIDTHN">SCI_SETMARGINWIDTHN(int margin, int pixelWidth)</b><br />
<b id="SCI_GETMARGINWIDTHN">SCI_GETMARGINWIDTHN(int margin)</b><br />
@@ -2405,8 +2408,8 @@ struct TextToFind {
<code>codePage</code> 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
<code>codePage</code> set to zero to disable DBCS support. The default is
<code>SCI_SETCODEPAGE(0)</code>.</p>