aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ScintillaTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ScintillaTypes.h')
-rw-r--r--include/ScintillaTypes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h
index a964baa81..ca0a07527 100644
--- a/include/ScintillaTypes.h
+++ b/include/ScintillaTypes.h
@@ -472,6 +472,12 @@ enum class LineEndType {
Unicode = 1,
};
+enum class RepresentationAppearance {
+ Plain = 0,
+ Blob = 1,
+ Colour = 0x10,
+};
+
enum class EOLAnnotationVisible {
Hidden = 0x0,
Standard = 0x1,
@@ -738,6 +744,12 @@ constexpr LineEndType operator&(LineEndType a, LineEndType b) noexcept {
return static_cast<LineEndType>(static_cast<int>(a) & static_cast<int>(b));
}
+// Functions to manipulate fields from a RepresentationAppearance
+
+constexpr RepresentationAppearance operator|(RepresentationAppearance a, RepresentationAppearance b) noexcept {
+ return static_cast<RepresentationAppearance>(static_cast<int>(a) | static_cast<int>(b));
+}
+
// Functions to manipulate fields from a LineCharacterIndexType
constexpr LineCharacterIndexType operator|(LineCharacterIndexType a, LineCharacterIndexType b) noexcept {