aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-06-29 02:44:39 +0000
committernyamatongwe <unknown>2005-06-29 02:44:39 +0000
commit785de8310b167f4252902ee8bc89c2a44e1e2696 (patch)
treeb47308620eeb9b1ce813db91c943234203007e6e /src/ScintillaBase.h
parentb537a01cd13f5b714ffc9123cad4a6a7ec46cd7b (diff)
downloadscintilla-mirror-785de8310b167f4252902ee8bc89c2a44e1e2696.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.
Diffstat (limited to 'src/ScintillaBase.h')
-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;