aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-09 12:51:42 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-09 12:51:42 +1000
commit227385917246e410723a9f68c5960053a932982f (patch)
tree83cf208d48149c48df77df0c914a6e356ef22879 /cocoa
parent6e5804b4ecfbfd0fe6ac4228c40ef121c96452ab (diff)
downloadscintilla-mirror-227385917246e410723a9f68c5960053a932982f.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.mm2
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};