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 /cocoa | |
| 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 '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}; |
