From 80781c95bbdaa770cce026c6e0461c803ead84bb Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 5 Sep 2013 16:37:34 +1000 Subject: Added SCI_GETPRIMARYSTYLEFROMSTYLE. --- lexers/LexCPP.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lexers') diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 70af0343f..6f7afc23d 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -392,6 +392,9 @@ public: int active = subStyle & activeFlag; return styleBase | active; } + int SCI_METHOD PrimaryStyleFromStyle(int style) { + return MaskActive(style); + } void SCI_METHOD FreeSubStyles() { subStyles.Free(); } -- cgit v1.2.3