aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-06-06 01:01:59 +0000
committernyamatongwe <devnull@localhost>2006-06-06 01:01:59 +0000
commit315c76d391f785ab4a01799207d20611c68de77a (patch)
tree0f99a96b64e7f498fb6f9bfee14d88752dfd693c /doc/ScintillaDoc.html
parent0f2ad8c2406c8c05543ee7771a5a5cd31de3811e (diff)
downloadscintilla-mirror-315c76d391f785ab4a01799207d20611c68de77a.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>