aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-04-29 21:48:36 +0000
committernyamatongwe <unknown>2003-04-29 21:48:36 +0000
commitdc9a5dcabf55728bb9f2488501a2a78f74b1edac (patch)
tree8e148edd9b8c311c619a4ecae7e37551f7abdbf7 /src
parent1349fbc9c5f6e35cbd6436419fe9f04a2fd9fe3d (diff)
downloadscintilla-mirror-dc9a5dcabf55728bb9f2488501a2a78f74b1edac.tar.gz
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.
Diffstat (limited to 'src')
-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