diff options
author | nyamatongwe <unknown> | 2003-04-13 00:18:48 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-13 00:18:48 +0000 |
commit | 84e96488c3f38c4c6b329773283fb054739a4eab (patch) | |
tree | ce5af35eb0ba1b723f07d3613e446a3519cc4dc0 /src | |
parent | a4ef342584b75079ab122bdbf2b512bef91ab38f (diff) | |
download | scintilla-mirror-84e96488c3f38c4c6b329773283fb054739a4eab.tar.gz |
Avoid resetting scroll bars when changing documents as that leads to
synchronous painting on GTK+ before completely set up for new document.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b126c8904..44399a5fb 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4872,7 +4872,10 @@ void Editor::SetDocPointer(Document *document) { pdoc->AddWatcher(this, 0); Redraw(); - SetScrollBars(); + // Removed because of reentrance problems of GTK+ 2.x + // where changing a scroll bar position causes synchronous + // painting before lexer and styling state is set up. + //SetScrollBars(); } // Recursively expand a fold, making lines visible except where they have an unexpanded parent |