Diff of /scintilla/lexers/LexCPP.cxx [b645ec] .. [635b7c] Maximize Restore

  Switch to side-by-side view

--- a/scintilla/lexers/LexCPP.cxx
+++ b/scintilla/lexers/LexCPP.cxx
@@ -387,6 +387,14 @@
 	int SCI_METHOD SubStylesLength(int styleBase) {
 		return subStyles.Length(styleBase);
 	}
+	int SCI_METHOD StyleFromSubStyle(int subStyle) {
+		int styleBase = subStyles.BaseStyle(MaskActive(subStyle));
+		int active = subStyle & activeFlag;
+		return styleBase | active;
+	}
+	int SCI_METHOD PrimaryStyleFromStyle(int style) {
+		return MaskActive(style);
+ 	}
 	void SCI_METHOD FreeSubStyles() {
 		subStyles.Free();
 	}