aboutsummaryrefslogtreecommitdiffhomepage
path: root/call/ScintillaCall.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'call/ScintillaCall.cxx')
-rw-r--r--call/ScintillaCall.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx
index 4508210db..64c9728e2 100644
--- a/call/ScintillaCall.cxx
+++ b/call/ScintillaCall.cxx
@@ -655,6 +655,14 @@ bool ScintillaCall::StyleGetCheckMonospaced(int style) {
return Call(Message::StyleGetCheckMonospaced, style);
}
+void ScintillaCall::StyleSetStretch(int style, Scintilla::FontStretch stretch) {
+ Call(Message::StyleSetStretch, style, static_cast<intptr_t>(stretch));
+}
+
+FontStretch ScintillaCall::StyleGetStretch(int style) {
+ return static_cast<Scintilla::FontStretch>(Call(Message::StyleGetStretch, style));
+}
+
void ScintillaCall::StyleSetInvisibleRepresentation(int style, const char *representation) {
CallString(Message::StyleSetInvisibleRepresentation, style, representation);
}