From dc9a5dcabf55728bb9f2488501a2a78f74b1edac Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 29 Apr 2003 21:48:36 +0000 Subject: Removed hack that did not set the scroll bar when changing documents which worked around a GTK+ 2 problem that is now fixed by using an extra window for the text. --- src/Editor.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3