diff options
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 242cd4162..91bc55987 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1964,7 +1964,7 @@ bool ScintillaCocoa::SetScrollingSize(void) { CGFloat docWidth = scrollWidth; bool showHorizontalScroll = horizontalScrollBarVisible && !Wrapping(); - if (!showHorizontalScroll) + if (Wrapping()) docWidth = clipRect.size.width; NSRect contentRect = {{0, 0}, {docWidth, docHeight}}; NSRect contentRectNow = inner.frame; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 98251fde9..0ae2e9b42 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -601,6 +601,10 @@ <a href="https://sourceforge.net/p/scintilla/bugs/2268/">Bug #2268</a>. </li> <li> + On Cocoa, fix disabling horizontal scrollbar in non-wrapping mode. + <a href="https://sourceforge.net/p/scintilla/bugs/2271/">Bug #2271</a>. + </li> + <li> On Cocoa, ensure cursor and background images are loaded. </li> </ul> |