aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-06-03 20:24:44 +1000
committerNeil <nyamatongwe@gmail.com>2021-06-03 20:24:44 +1000
commitf997170c3eb0afa64d10b39b86799bad67dc5c02 (patch)
treea0ec6b193f9315452237c89107eb552bf77298a4 /include/Scintilla.iface
parentaeb285c6677ebb1d940d2a4d8e6992697ed263c8 (diff)
downloadscintilla-mirror-f997170c3eb0afa64d10b39b86799bad67dc5c02.tar.gz
Add APIs for setting appearance (traditional blob or plain text) and colour of
representations and support setting a representation for the "\r\n" line end sequence.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 4c576a77b..dd91bf908 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2936,6 +2936,27 @@ get int GetRepresentation=2666(string encodedCharacter, stringresult representat
# Remove a character representation.
fun void ClearRepresentation=2667(string encodedCharacter,)
+# Clear representations to default.
+fun void ClearAllRepresentations=2770(,)
+
+# Can draw representations in various ways
+enu RepresentationAppearance=SC_REPRESENTATION
+val SC_REPRESENTATION_PLAIN=0
+val SC_REPRESENTATION_BLOB=1
+val SC_REPRESENTATION_COLOUR=0x10
+
+# Set the appearance of a representation.
+set void SetRepresentationAppearance=2766(string encodedCharacter, RepresentationAppearance appearance)
+
+# Get the appearance of a representation.
+get RepresentationAppearance GetRepresentationAppearance=2767(string encodedCharacter,)
+
+# Set the colour of a representation.
+set void SetRepresentationColour=2768(string encodedCharacter, colouralpha colour)
+
+# Get the colour of a representation.
+get colouralpha GetRepresentationColour=2769(string encodedCharacter,)
+
# Set the end of line annotation text for a line
set void EOLAnnotationSetText=2740(line line, string text)