aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 518ca3bde..675c7cedf 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -38,6 +38,10 @@ MarginStyle::MarginStyle(int style_, int width_, int mask_) noexcept :
style(style_), width(width_), mask(mask_), sensitive(false), cursor(SC_CURSORREVERSEARROW) {
}
+bool MarginStyle::ShowsFolding() const noexcept {
+ return (mask & SC_MASK_FOLDERS) != 0;
+}
+
FontRealised::FontRealised() noexcept = default;
FontRealised::~FontRealised() = default;