diff options
author | nyamatongwe <unknown> | 2013-01-30 12:43:43 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-30 12:43:43 +1100 |
commit | e990001c1c2714c46363d2f9f0be65550bea7d63 (patch) | |
tree | 949ab34709778155d1885a460f8f9a7ec5f023f7 | |
parent | 241a606303ea56321dcd975beca3e49bb5f1ca1f (diff) | |
download | scintilla-mirror-e990001c1c2714c46363d2f9f0be65550bea7d63.tar.gz |
Allow access to secondary styles distance.
-rw-r--r-- | lexlib/SubStyles.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lexlib/SubStyles.h b/lexlib/SubStyles.h index 7dc7804ef..e6c34e0df 100644 --- a/lexlib/SubStyles.h +++ b/lexlib/SubStyles.h @@ -134,6 +134,10 @@ public: return (block >= 0) ? classifiers[block].Length() : 0; } + int DistanceToSecondaryStyles() const { + return secondaryDistance; + } + void SetIdentifiers(int style, const char *identifiers) { int block = BlockFromStyle(style); if (block >= 0) |