diff options
author | nyamatongwe <unknown> | 2002-07-26 00:46:05 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-07-26 00:46:05 +0000 |
commit | ae2e6e1e905413081c1cb32ece081d1416ae3f53 (patch) | |
tree | 37208d83e60ac5e26f013abafea75e092a634883 /src/Document.h | |
parent | c71161481a532f7bf19edbcf817d2ea8f7673172 (diff) | |
download | scintilla-mirror-ae2e6e1e905413081c1cb32ece081d1416ae3f53.tar.gz |
Patch from John Ehresman to return false from styling operations when
reentering causes styling to not be performed.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index 34c49a5a6..82931207c 100644 --- a/src/Document.h +++ b/src/Document.h @@ -202,8 +202,8 @@ public: void SetWordChars(unsigned char *chars); void SetStylingBits(int bits); void StartStyling(int position, char mask); - void SetStyleFor(int length, char style); - void SetStyles(int length, char *styles); + bool SetStyleFor(int length, char style); + bool SetStyles(int length, char *styles); int GetEndStyled() { return endStyled; } bool EnsureStyledTo(int pos); int GetStyleClock() { return styleClock; } |