aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar mitchell <none@none>2021-06-27 12:38:11 -0400
committerGravatar mitchell <none@none>2021-06-27 12:38:11 -0400
commit45ea305b3035b6c9358cfda6837963ead97b6f76 (patch)
tree819246e526302a0d6d8173ef5e7cbbb573667680 /docs
parent7bfbfd78d4ef0152476483cbe5e877300f74fb2c (diff)
Updated to Scintilla 5.1.0.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md30
1 files changed, 29 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 706b7ace..ea791eed 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -10340,6 +10340,25 @@ The alternative string representations of characters.
not numeric codes, and can be multi-byte characters.
Call [`view.clear_representation()`](#view.clear_representation) to remove a representation.
+<a id="view.representation_appearance"></a>
+#### `view.representation_appearance` (table)
+
+Map of characters to their string representation's appearance.
+
+ * `view.REPRESENTATION_PLAIN`
+ Draw the representation with no decoration.
+ * `view.REPRESENTATION_BLOB`
+ Draw the representation within a rounded rectangle and an inverted color.
+ * `view.REPRESENTATION_COLOR`
+ Draw the representation using the color set in [`view.representation_color`](#view.representation_color).
+
+ The default values are `view.REPRESENTATION_BLOB`.
+
+<a id="view.representation_color"></a>
+#### `view.representation_color` (table)
+
+Map of characters to their string representation's color in "0xBBGGRR" format.
+
<a id="view.rgba_image_height"></a>
#### `view.rgba_image_height` (number)
@@ -10730,6 +10749,15 @@ Parameters:
* *`pos`*: The position in *view*'s buffer to show a call tip at.
* *`text`*: The call tip text to show.
+<a id="view.clear_all_representations"></a>
+#### `view.clear_all_representations`(*view*)
+
+Removes all alternate string representations of characters.
+
+Parameters:
+
+* *`view`*: A view.
+
<a id="view.clear_registered_images"></a>
#### `view.clear_registered_images`(*view*)
@@ -10743,7 +10771,7 @@ Parameters:
#### `view.clear_representation`(*view, char*)
Removes the alternate string representation for character *char* (which may be a multi-byte
- character).
+character).
Parameters: