[mono/monodevelop] e8fdedb6: [TextEditor] Fixed vi status area.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141e548e1be-faeb6917-a99c-418b-8729-f8b3e399449c-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/03bbbdf256bc...e8fdedb643e4
Commit: e8fdedb643e429aeeb1308c56cee67e098234f0c
Author: Mike Krüger <[email protected]> (mkrueger)
Date: 2013-10-23 12:25:11 GMT
URL: https://github.com/mono/monodevelop/commit/e8fdedb643e429aeeb1308c56cee67e098234f0c
[TextEditor] Fixed vi status area.
Changed paths:
M main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViStatusArea.cs
Modified: main/src/core/Mono.Texteditor/Mono.TextEditor.Vi/ViStatusArea.cs
===================================================================
@@ -78,7 +78,7 @@ public void AllocateArea (TextArea textArea, Gdk.Rectangle allocation)
textArea.SizeAllocate (allocation);
SetSizeRequest (allocation.Width, (int)editor.LineHeight);
var pos = ((TextEditor.EditorContainerChild)editor [this]);
- if (pos.X != 0 && pos.Y != allocation.Height)
+ if (pos.X != 0 || pos.Y != allocation.Height)
editor.MoveTopLevelWidget (this, 0, allocation.Height);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches