diff options
author | nyamatongwe <unknown> | 2013-02-05 09:28:07 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-02-05 09:28:07 +1100 |
commit | ff4788b4cf8ec592dbeb5db3270061c0af76da90 (patch) | |
tree | 918d925828ed132043e82d7e93d4a7b1a1248f37 /src/ViewStyle.h | |
parent | e24c283b7c2ad83bbe09d3dd8f9053af68b77d07 (diff) | |
download | scintilla-mirror-ff4788b4cf8ec592dbeb5db3270061c0af76da90.tar.gz |
Add allocation of extended styles.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 676aee7da..5a623986b 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -67,6 +67,7 @@ public: FontRealised *frFirst; size_t stylesSize; Style *styles; + size_t nextExtendedStyle; LineMarker markers[MARKER_MAX + 1]; int largestMarkerHeight; Indicator indicators[INDIC_MAX + 1]; @@ -144,6 +145,8 @@ public: void CreateFont(const FontSpecification &fs); void Refresh(Surface &surface); void AllocStyles(size_t sizeNew); + void ReleaseAllExtendedStyles(); + int AllocateExtendedStyles(int numberStyles); void EnsureStyle(size_t index); void ResetDefaultStyle(); void ClearStyles(); |