aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCPP.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-09-05 16:37:34 +1000
committerNeil <nyamatongwe@gmail.com>2013-09-05 16:37:34 +1000
commit80781c95bbdaa770cce026c6e0461c803ead84bb (patch)
tree0209a2b3a5bf2f1116c89f4b62c7ce659606b09d /lexers/LexCPP.cxx
parenteee3ce336ae78e9bf3d75f2c84aba97a7c623ea4 (diff)
downloadscintilla-mirror-80781c95bbdaa770cce026c6e0461c803ead84bb.tar.gz
Added SCI_GETPRIMARYSTYLEFROMSTYLE.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r--lexers/LexCPP.cxx3
1 files changed, 3 insertions, 0 deletions
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();
}