aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-01-26 00:52:44 +0000
committernyamatongwe <devnull@localhost>2007-01-26 00:52:44 +0000
commitce33c9e6add556342a071b571de3226110e4ac01 (patch)
treec696f5e46a571cf81441ee99974f3ac40107bc9c /src/Document.h
parent65489b1e3980eafd8e197fe4fa696119914ac8c1 (diff)
downloadscintilla-mirror-ce33c9e6add556342a071b571de3226110e4ac01.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();