diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-09 12:51:42 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-09 12:51:42 +1000 |
commit | 227385917246e410723a9f68c5960053a932982f (patch) | |
tree | 83cf208d48149c48df77df0c914a6e356ef22879 /qt/ScintillaEditBase/ScintillaQt.cpp | |
parent | 6e5804b4ecfbfd0fe6ac4228c40ef121c96452ab (diff) | |
download | scintilla-mirror-227385917246e410723a9f68c5960053a932982f.tar.gz |
Move wrapping, edge and visual adjustments from Editor to ViewStyle.
Move printing parameters into a separate struct.
Diffstat (limited to 'qt/ScintillaEditBase/ScintillaQt.cpp')
-rw-r--r-- | qt/ScintillaEditBase/ScintillaQt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index a956ff714..66beaed92 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -293,7 +293,7 @@ void ScintillaQt::ReconfigureScrollBars() scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); } - if (horizontalScrollBarVisible && (wrapState == eWrapNone)) { + if (horizontalScrollBarVisible && !Wrapping()) { scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); } else { scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); |