diff options
author | Martijn Laan <unknown> | 2024-07-03 09:44:24 +1000 |
---|---|---|
committer | Martijn Laan <unknown> | 2024-07-03 09:44:24 +1000 |
commit | ed0aed7dc463ee5c0f2b7c0989e231cce2c835b8 (patch) | |
tree | 8126eeae8b3bee2a00b9a2df89a23c4f2763cb4f /include | |
parent | 2b69fbaf70f6a05269d96b2703acfe49ef7f03a1 (diff) | |
download | scintilla-mirror-ed0aed7dc463ee5c0f2b7c0989e231cce2c835b8.tar.gz |
Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 | ||||
-rw-r--r-- | include/ScintillaCall.h | 2 | ||||
-rw-r--r-- | include/ScintillaMessages.h | 2 |
4 files changed, 12 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index c25dc5ed9..8ef2532c2 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -461,6 +461,8 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SCI_AUTOCGETMAXWIDTH 2209 #define SCI_AUTOCSETMAXHEIGHT 2210 #define SCI_AUTOCGETMAXHEIGHT 2211 +#define SCI_AUTOCSETSTYLE 2109 +#define SCI_AUTOCGETSTYLE 2120 #define SCI_SETINDENT 2122 #define SCI_GETINDENT 2123 #define SCI_SETUSETABS 2124 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 4dec3579f..85ab84324 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1148,6 +1148,12 @@ set void AutoCSetMaxHeight=2210(int rowCount,) # Set the maximum height, in rows, of auto-completion and user lists. get int AutoCGetMaxHeight=2211(,) +# Set the style number used for auto-completion and user lists fonts. +set void AutoCSetStyle=2109(int style,) + +# Get the style number used for auto-completion and user lists fonts. +get int AutoCGetStyle=2120(,) + # Set the number of spaces used for one level of indentation. set void SetIndent=2122(int indentSize,) diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h index 5db9c38d7..201e31ecc 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -319,6 +319,8 @@ public: int AutoCGetMaxWidth(); void AutoCSetMaxHeight(int rowCount); int AutoCGetMaxHeight(); + void AutoCSetStyle(int style); + int AutoCGetStyle(); void SetIndent(int indentSize); int Indent(); void SetUseTabs(bool useTabs); diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h index a2e91c92f..ccaa2a8d6 100644 --- a/include/ScintillaMessages.h +++ b/include/ScintillaMessages.h @@ -244,6 +244,8 @@ enum class Message { AutoCGetMaxWidth = 2209, AutoCSetMaxHeight = 2210, AutoCGetMaxHeight = 2211, + AutoCSetStyle = 2109, + AutoCGetStyle = 2120, SetIndent = 2122, GetIndent = 2123, SetUseTabs = 2124, |