aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-07-28 17:54:24 +1000
committernyamatongwe <unknown>2010-07-28 17:54:24 +1000
commit6f83fe733e48c36df35ecc1a10d7197b2b7a7dda (patch)
tree7707c8491a64e1e55fd3778f3b27952b2d186ce9 /src/Document.h
parentbb7386900f5ff0c66f5a6e296721bb2eb475e524 (diff)
downloadscintilla-mirror-6f83fe733e48c36df35ecc1a10d7197b2b7a7dda.tar.gz
Restore container lexing functionality which was accidentally removed by lexer objects changes.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h
index a765c6299..ffadbade3 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -146,6 +146,9 @@ public:
virtual ~LexInterface() {
}
void Colourise(int start, int end);
+ bool UseContainerLexing() const {
+ return instance == 0;
+ }
};
/**