From bab132fe40d6f480a54dbb1e9cdb8875a0306ab5 Mon Sep 17 00:00:00 2001
From: nyamatongwe 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 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)Margins
-
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.
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 notification to the container. Margins that are not sensitive act as
--
cgit v1.2.3