aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-01-30 12:43:43 +1100
committernyamatongwe <devnull@localhost>2013-01-30 12:43:43 +1100
commitb8a38e3f74bc47918e78e982d80cc8b27f3a639d (patch)
tree5ea852da712928b80c1584794db4274020cae2c3 /lexlib
parentc9be849f2ed9a972c9e0a7d2eaa89593fc375a2c (diff)
downloadscintilla-mirror-b8a38e3f74bc47918e78e982d80cc8b27f3a639d.tar.gz
Allow access to secondary styles distance.
Diffstat (limited to 'lexlib')
-rw-r--r--lexlib/SubStyles.h4
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)