diff options
author | Neil <nyamatongwe@gmail.com> | 2024-08-15 19:02:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-08-15 19:02:46 +1000 |
commit | dcbc339899911e1a3a743de1c0c25d0c253dd39a (patch) | |
tree | 3d4fcd3405e7b4620476c36b0102031114bf65ad /include/Scintilla.iface | |
parent | 6f51f5975920272f5f691d690107d15291a335f2 (diff) | |
download | scintilla-mirror-dcbc339899911e1a3a743de1c0c25d0c253dd39a.tar.gz |
Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r-- | include/Scintilla.iface | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 25201cf47..4a3d15b63 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -700,6 +700,23 @@ set void StyleSetCheckMonospaced=2254(int style, bool checkMonospaced) # Get whether a style may be monospaced. get bool StyleGetCheckMonospaced=2255(int style,) +enu FontStretch=SC_STRETCH_ +val SC_STRETCH_ULTRA_CONDENSED=1 +val SC_STRETCH_EXTRA_CONDENSED=2 +val SC_STRETCH_CONDENSED=3 +val SC_STRETCH_SEMI_CONDENSED=4 +val SC_STRETCH_NORMAL=5 +val SC_STRETCH_SEMI_EXPANDED=6 +val SC_STRETCH_EXPANDED=7 +val SC_STRETCH_EXTRA_EXPANDED=8 +val SC_STRETCH_ULTRA_EXPANDED=9 + +# Set the stretch of characters of a style. +set void StyleSetStretch=2258(int style, FontStretch stretch) + +# Get the stretch of characters of a style. +get FontStretch StyleGetStretch=2259(int style,) + # Set the invisible representation for a style. set void StyleSetInvisibleRepresentation=2256(int style, string representation) |