aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-01-26 00:52:44 +0000
committernyamatongwe <unknown>2007-01-26 00:52:44 +0000
commitd29a135b12ff4f664bca3e18777dbdfce74c2551 (patch)
treec696f5e46a571cf81441ee99974f3ac40107bc9c /src/Document.h
parent31e9679fd022236ad54303ce6a92573455e1eee8 (diff)
downloadscintilla-mirror-d29a135b12ff4f664bca3e18777dbdfce74c2551.tar.gz
Avoid trying to style when inside a modification as that styling will be thrown away.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 730b033f3..aaa19e493 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -212,7 +212,7 @@ public:
bool SetStyleFor(int length, char style);
bool SetStyles(int length, char *styles);
int GetEndStyled() { return endStyled; }
- bool EnsureStyledTo(int pos);
+ void EnsureStyledTo(int pos);
int GetStyleClock() { return styleClock; }
void IncrementStyleClock();