diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-05 08:32:58 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-05 08:32:58 +1100 |
commit | 006b224af96d10452655ecced49ba3859c1d62ab (patch) | |
tree | 3fc3107e8819d4955eaf6ca325098d883d914c5f /src/EditModel.h | |
parent | a5b810a701d3dd4b9b717d5ba036aef6d7f34445 (diff) | |
download | scintilla-mirror-006b224af96d10452655ecced49ba3859c1d62ab.tar.gz |
Feature [feature-requests:#1272]. Add API to set default fold display text.
Diffstat (limited to 'src/EditModel.h')
-rw-r--r-- | src/EditModel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/EditModel.h b/src/EditModel.h index 5fb6a0f02..b63f2129f 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -42,6 +42,7 @@ public: int foldFlags; int foldDisplayTextStyle; + UniqueString defaultFoldDisplayText; std::unique_ptr<IContractionState> pcs; // Hotspot support Range hotspot; @@ -65,6 +66,9 @@ public: virtual Range GetHotSpotRange() const noexcept = 0; bool BidirectionalEnabled() const; bool BidirectionalR2L() const; + void SetDefaultFoldDisplayText(const char *text); + const char *GetDefaultFoldDisplayText() const noexcept; + const char *GetFoldDisplayText(Sci::Line lineDoc) const; }; } |