aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaView.h1
-rw-r--r--cocoa/ScintillaView.mm6
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];