diff options
author | Neil <nyamatongwe@gmail.com> | 2013-09-05 16:37:34 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-09-05 16:37:34 +1000 |
commit | 258060914b6c1aa88197619e87e4393b4dc9fa65 (patch) | |
tree | 1c33dfc025d481ad6b677fc6fe245a0fc3599461 /lexers/LexCPP.cxx | |
parent | 55a841ef116ce538fc4d14bb78beb0484be604be (diff) | |
download | scintilla-mirror-258060914b6c1aa88197619e87e4393b4dc9fa65.tar.gz |
Added SCI_GETPRIMARYSTYLEFROMSTYLE.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r-- | lexers/LexCPP.cxx | 3 |
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(); } |