From bab132fe40d6f480a54dbb1e9cdb8875a0306ab5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 May 2006 05:28:51 +0000 Subject: Increased number of margins to 5. --- doc/ScintillaDoc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 2669de6b5..4bf2bc5ce 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2228,7 +2228,7 @@ struct TextToFind {

Margins

-

There may be up to three margins to the left of the text display, plus a gap either side of +

There may be up to five margins to the left of the text display, plus a gap either side of the text. Each margin can be set to display either symbols or line numbers with SCI_SETMARGINTYPEN. The markers that can be displayed in each margin are set with SCN_MARGINCLICK notification to the container or selects a line of text.

-

The margins are numbered 0 to 2. Using a margin number outside the valid range has no +

The margins are numbered 0 to 4. Using a margin number outside the valid range has no effect. By default, margin 0 is set to display line numbers, but is given a width of 0, so it is hidden. Margin 1 is set to display non-folding symbols and is given a width of 16 pixels, so it is visible. Margin 2 is set to display the folding symbols, but is given a width of 0, so it @@ -2269,10 +2269,10 @@ struct TextToFind {

SCI_SETMARGINTYPEN(int margin, int iType)
SCI_GETMARGINTYPEN(int margin)
- These two routines set and get the type of a margin. The margin argument should be 0, 1 or 2. + 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 other two are used for symbols.

+ By convention, margin 0 is used for line numbers and the next two are used for symbols.

SCI_SETMARGINWIDTHN(int margin, int pixelWidth)
SCI_GETMARGINWIDTHN(int margin)
@@ -2312,7 +2312,7 @@ struct TextToFind {

SCI_SETMARGINSENSITIVEN(int margin, bool sensitive)
SCI_GETMARGINSENSITIVEN(int margin)
- Each of the three margins can be set sensitive or insensitive to mouse clicks. A click in a + Each of the five margins can be set sensitive or insensitive to mouse clicks. A click in a sensitive margin sends a SCN_MARGINCLICK notification to the container. Margins that are not sensitive act as -- cgit v1.2.3