aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 3ea01ecb2..d4a0596dd 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4881,10 +4881,7 @@ void Editor::SetDocPointer(Document *document) {
pdoc->AddWatcher(this, 0);
Redraw();
- // 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();
+ SetScrollBars();
}
// Recursively expand a fold, making lines visible except where they have an unexpanded parent