From 45ea305b3035b6c9358cfda6837963ead97b6f76 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 27 Jun 2021 12:38:11 -0400 Subject: Updated to Scintilla 5.1.0. --- docs/api.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'docs') 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. + +#### `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`. + + +#### `view.representation_color` (table) + +Map of characters to their string representation's color in "0xBBGGRR" format. + #### `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. + +#### `view.clear_all_representations`(*view*) + +Removes all alternate string representations of characters. + +Parameters: + +* *`view`*: A view. + #### `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: -- cgit v1.2.3