From 56ca3d0d48a8b8fc97c764e49d9b620e9c01e320 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 9 Sep 2013 08:42:24 +1000 Subject: Since overlay scroll bars, the info bar is always full width so remove variable for width and comments that is no longer correct. --- cocoa/ScintillaView.h | 1 - cocoa/ScintillaView.mm | 6 ------ 2 files changed, 7 deletions(-) (limited to 'cocoa') 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 * mInfoBar; BOOL mInfoBarAtTop; - int mInitialInfoBarWidth; id 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 *) 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]; -- cgit v1.2.3