diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-09-09 08:42:24 +1000 |
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-09-09 08:42:24 +1000 |
| commit | 56ca3d0d48a8b8fc97c764e49d9b620e9c01e320 (patch) | |
| tree | 1505ff86321b679f767e36279c2b7c81be75a26b | |
| parent | 78096381917f248abc8e34a79c22b7cc3ba21211 (diff) | |
| download | scintilla-mirror-56ca3d0d48a8b8fc97c764e49d9b620e9c01e320.tar.gz | |
Since overlay scroll bars, the info bar is always full width so remove variable
for width and comments that is no longer correct.
| -rw-r--r-- | cocoa/ScintillaView.h | 1 | ||||
| -rw-r--r-- | cocoa/ScintillaView.mm | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index 1b0c110fb..a6b8dbcd8 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -111,7 +111,6 @@ extern NSString *SCIUpdateUINotification; // Area to display additional controls (e.g. zoom info, caret position, status info). NSView <InfoBarCommunicator>* mInfoBar; BOOL mInfoBarAtTop; - int mInitialInfoBarWidth; id<ScintillaNotificationProtocol> mDelegate; } diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 8d51dc825..4f9fe8c31 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1580,9 +1580,6 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa /** * Sets the new control which is displayed as info bar at the top or bottom of the editor. * Set newBar to nil if you want to hide the bar again. - * When aligned to bottom position then the info bar and the horizontal scroller share the available - * space. The info bar will then only get the width it is currently set to less a minimal amount - * reserved for the scroller. At the top position it gets the full width of the control. * The info bar's height is set to the height of the scrollbar. */ - (void) setInfoBar: (NSView <InfoBarCommunicator>*) newBar top: (BOOL) top @@ -1597,9 +1594,6 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa { [self addSubview: mInfoBar]; [mInfoBar setCallback: self]; - - // Keep the initial width as reference for layout changes. - mInitialInfoBarWidth = [mInfoBar frame].size.width; } [self positionSubViews]; |
