aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
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
commit56ca3d0d48a8b8fc97c764e49d9b620e9c01e320 (patch)
tree1505ff86321b679f767e36279c2b7c81be75a26b /cocoa/ScintillaView.mm
parent78096381917f248abc8e34a79c22b7cc3ba21211 (diff)
downloadscintilla-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.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm6
1 files changed, 0 insertions, 6 deletions
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];