aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-29 02:44:39 +0000
committernyamatongwe <devnull@localhost>2005-06-29 02:44:39 +0000
commit8d9dcf3e5be8a151ea79b6092c8f9bf1f9a2acb1 (patch)
treeb47308620eeb9b1ce813db91c943234203007e6e
parent637c17da9ba8fddbc1a25d20eb37d7aade6d8cf3 (diff)
downloadscintilla-mirror-8d9dcf3e5be8a151ea79b6092c8f9bf1f9a2acb1.tar.gz
Prevent reentance of styling which could occur when a styler added a fold
point and this caused a search for subordinate lines which then tried to style further.
-rw-r--r--src/ScintillaBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h
index 631e3e05d..cb85b55b5 100644
--- a/src/ScintillaBase.h
+++ b/src/ScintillaBase.h
@@ -40,6 +40,8 @@ protected:
SString listSelected; ///< Receives listbox selected string
int maxListWidth; /// Maximum width of list, in average character widths
+ bool performingStyle; ///< Prevent reentrance
+
#ifdef SCI_LEXER
int lexLanguage;
const LexerModule *lexCurrent;