diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/ScintillaView.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 85eb81a1c..2d9cdf6a2 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1003,7 +1003,8 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa - (BOOL) setHorizontalScrollRange: (int) range page: (int) page { BOOL result = NO; - BOOL hideScroller = page >= range; + BOOL hideScroller = (page >= range) || + (mBackend->WndProc(SCI_GETWRAPMODE, 0, 0) != SC_WRAP_NONE); if ([mHorizontalScroller isHidden] != hideScroller) { |