diff options
-rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
-rw-r--r-- | qt/ScintillaEditBase/ScintillaQt.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 73f91ea5a..476241297 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -453,6 +453,9 @@ Can be used to treat all substyles of a style equivalent to that style. A StyleFromSubStyle method was added to ILexerWithSubStyles so each lexer can implement this. </li> + <li> + On Qt, turn off idle events on destruction to prevent repeatedly calling idle. + </li> </ul> <h3> <a href="http://prdownloads.sourceforge.net/scintilla/scite335.zip?download">Release 3.3.5</a> diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index 009654df2..d79fe3a86 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -49,6 +49,7 @@ ScintillaQt::ScintillaQt(QAbstractScrollArea *parent) ScintillaQt::~ScintillaQt() { SetTicking(false); + SetIdle(false); } void ScintillaQt::tick() |