aboutsummaryrefslogtreecommitdiff
path: root/core/.view.luadoc
diff options
context:
space:
mode:
authormitchell <none@none>2021-06-27 12:38:11 -0400
committermitchell <none@none>2021-06-27 12:38:11 -0400
commit45ea305b3035b6c9358cfda6837963ead97b6f76 (patch)
tree819246e526302a0d6d8173ef5e7cbbb573667680 /core/.view.luadoc
parent7bfbfd78d4ef0152476483cbe5e877300f74fb2c (diff)
downloadtextadept-45ea305b3035b6c9358cfda6837963ead97b6f76.tar.gz
textadept-45ea305b3035b6c9358cfda6837963ead97b6f76.zip
Updated to Scintilla 5.1.0.
Diffstat (limited to 'core/.view.luadoc')
-rw-r--r--core/.view.luadoc20
1 files changed, 19 insertions, 1 deletions
diff --git a/core/.view.luadoc b/core/.view.luadoc
index 11a99d51..8ef58286 100644
--- a/core/.view.luadoc
+++ b/core/.view.luadoc
@@ -518,6 +518,19 @@
-- string for the '\0' character when assigning its representation. Characters are strings,
-- not numeric codes, and can be multi-byte characters.
-- Call [`view.clear_representation()`]() to remove a representation.
+-- @field 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`]().
+--
+-- The default values are `view.REPRESENTATION_BLOB`.
+-- @field representation_color (table)
+-- Map of characters to their string representation's color in "0xBBGGRR" format.
-- @field rgba_image_height (number)
-- The height of the RGBA image to be defined using [`view.marker_define_rgba_image()`]().
-- @field rgba_image_scale (number)
@@ -1110,13 +1123,18 @@ function clear_registered_images(view) end
---
-- Removes the alternate string representation for character *char* (which may be a multi-byte
--- character).
+-- character).
-- @param view A view.
-- @param char The string character in `buffer.representations` to remove the alternate string
-- representation for.
function clear_representation(view, char) end
---
+-- Removes all alternate string representations of characters.
+-- @param view A view.
+function clear_all_representations(view) end
+
+---
-- Returns the line number of the next contracted fold point starting from line number *line*,
-- or `-1` if none exists.
-- @param view A view.