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
commit258060914b6c1aa88197619e87e4393b4dc9fa65 (patch)
tree1c33dfc025d481ad6b677fc6fe245a0fc3599461 /lexers/LexCPP.cxx
parent55a841ef116ce538fc4d14bb78beb0484be604be (diff)
downloadscintilla-mirror-258060914b6c1aa88197619e87e4393b4dc9fa65.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();
}