From 810964f8e6b80fbfdb7f96b9a084acc4cbe5a3a1 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 28 Sep 2021 12:08:09 +1000 Subject: Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow styles larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that. --- cocoa/ScintillaCocoa.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cocoa') diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 0aa38911c..311bcfa23 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -15,6 +15,7 @@ #include #include +#include #include #include -- cgit v1.2.3