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 | 5b3f266d4de340bf8a881b37d7e5097d2eda16ab (patch) | |
| tree | 97f30d84fbd3d4d38c7a37d9ef03daa6e7db3932 /cocoa | |
| parent | c7f250a5cca5545e7858786a0ca13620b87b7ada (diff) | |
| download | scintilla-mirror-5b3f266d4de340bf8a881b37d7e5097d2eda16ab.tar.gz | |
Move wrapping, edge and visual adjustments from Editor to ViewStyle.
Move printing parameters into a separate struct.
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 374c79128..34e016d94 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1636,7 +1636,7 @@ bool ScintillaCocoa::SetScrollingSize(void) { docHeight = clipRect.size.height; CGFloat docWidth = scrollWidth; bool showHorizontalScroll = horizontalScrollBarVisible && - (wrapState == eWrapNone); + !Wrapping(); if (!showHorizontalScroll) docWidth = clipRect.size.width; NSRect contentRect = {0, 0, docWidth, docHeight}; |
