aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html64
-rw-r--r--doc/ScintillaHistory.html4
2 files changed, 60 insertions, 8 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 789e06c84..d28b8f859 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -3586,11 +3586,21 @@ struct Sci_TextToFind {
</tr>
<tr>
+ <th align="left"><code>SC_LAYER_UNDER_TEXT</code>.</th>
+
+ <td>1</td>
+
+ <td>Draw the selection background translucently under the text.<br />
+ This will not work in single phase drawing mode (<code class="deprecated">SC_PHASES_ONE</code>)
+ as there is no under-text phase.</td>
+ </tr>
+
+ <tr>
<th align="left"><code>SC_LAYER_OVER_TEXT</code></th>
- <td>10</td>
+ <td>2</td>
- <td>Draw the selection background translucently over the text</td>
+ <td>Draw the selection background translucently over the text.</td>
</tr>
</tbody>
@@ -3654,15 +3664,25 @@ struct Sci_TextToFind {
<td>0</td>
- <td>Draw the caret line background opaquely on the base layer</td>
+ <td>Draw the selection background opaquely on the base layer</td>
+ </tr>
+
+ <tr>
+ <th align="left"><code>SC_LAYER_UNDER_TEXT</code>.</th>
+
+ <td>1</td>
+
+ <td>Draw the selection background translucently under the text.<br />
+ This will not work in single phase drawing mode (<code class="deprecated">SC_PHASES_ONE</code>)
+ as there is no under-text phase.</td>
</tr>
<tr>
<th align="left"><code>SC_LAYER_OVER_TEXT</code></th>
- <td>10</td>
+ <td>2</td>
- <td>Draw the caret line background translucently over the text</td>
+ <td>Draw the selection background translucently over the text.</td>
</tr>
</tbody>
@@ -5050,7 +5070,39 @@ struct Sci_TextToFind {
The layer to draw on is defined by <code>SCI_MARKERSETLAYER</code>.
The degree of translucency can be chosen by setting an alpha value.
This is only for the content area - in margins, translucency is achieved through the <code>SCI_MARKERSET&hellip;TRANSLUCENT</code>
- methods.</p>
+ methods.
+ The <code class="parameter">layer</code> argument can be one of:</p>
+
+ <table class="standard" summary="Layer">
+ <tbody valign="top">
+ <tr>
+ <th align="left"><code>SC_LAYER_BASE</code></th>
+
+ <td>0</td>
+
+ <td>Draw the selection background opaquely on the base layer</td>
+ </tr>
+
+ <tr>
+ <th align="left"><code>SC_LAYER_UNDER_TEXT</code>.</th>
+
+ <td>1</td>
+
+ <td>Draw the selection background translucently under the text.<br />
+ This will not work in single phase drawing mode (<code class="deprecated">SC_PHASES_ONE</code>)
+ as there is no under-text phase.</td>
+ </tr>
+
+ <tr>
+ <th align="left"><code>SC_LAYER_OVER_TEXT</code></th>
+
+ <td>2</td>
+
+ <td>Draw the selection background translucently over the text.</td>
+ </tr>
+
+ </tbody>
+ </table>
<p><b id="SCI_MARKERADD">SCI_MARKERADD(line line, int markerNumber) &rarr; int</b><br />
This message adds marker number <code class="parameter">markerNumber</code> to a line. The message returns -1 if
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 6d64439c7..d9154f97c 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -584,7 +584,7 @@
The selection background colour may default to use platform APIs to discover global
or user settings and may change in response to those settings changing.
The SCI_SETSELECTIONLAYER method defines whether the selection background is drawn
- translucently over text or opaquely underneath other drawing.
+ translucently over or under text or opaquely underneath other drawing.
</li>
<li>
Change caret line drawing to use SC_ELEMENT_CARET_LINE_BACK element and
@@ -593,7 +593,7 @@
SCI_SETCARETLINEBACKALPHA now discouraged.
</li>
<li>
- Add SCI_MARKERSETLAYER to define layer on which to draw conetent area markers.
+ Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.
This replaces the use of SC_ALPHA_NOALPHA for markers.
</li>
<li>