aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-09-09 08:42:24 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-09-09 08:42:24 +1000
commitad4672487684082b0bc17852215cec0601d8af5b (patch)
tree758a692bbf691a21c1d3173609918c5aa5621c76
parent03914bca318572625e1518d6d385d9829611fa6a (diff)
downloadscintilla-mirror-ad4672487684082b0bc17852215cec0601d8af5b.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.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];