diff options
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 |
