diff options
author | nyamatongwe <unknown> | 2003-04-29 21:48:36 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-29 21:48:36 +0000 |
commit | dc9a5dcabf55728bb9f2488501a2a78f74b1edac (patch) | |
tree | 8e148edd9b8c311c619a4ecae7e37551f7abdbf7 | |
parent | 1349fbc9c5f6e35cbd6436419fe9f04a2fd9fe3d (diff) | |
download | scintilla-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.
-rw-r--r-- | src/Editor.cxx | 5 |
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 |