[mono/monodevelop] 5082d005: Fixed 'Bug 15596 - Hang in VS status area '.

Mike Krüger ([email protected]) <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141e363cd2e-ab3f773a-d775-448b-a819-d6713e745951-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/1ad55564c3c4...5082d005ef1a

   Commit: 5082d005ef1a51dfe4957af31c92cf9c269a85da
   Author: Mike Krüger <[email protected]> (mkrueger)
     Date: 2013-10-23 03:35:55 GMT
      URL: https://github.com/mono/monodevelop/commit/5082d005ef1a51dfe4957af31c92cf9c269a85da

Fixed 'Bug 15596 - Hang in VS 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
===================================================================
@@ -77,7 +77,9 @@ public void AllocateArea (TextArea textArea, Gdk.Rectangle allocation)
 			if (textArea.Allocation != allocation)
 				textArea.SizeAllocate (allocation);
 			SetSizeRequest (allocation.Width, (int)editor.LineHeight);
-			editor.MoveTopLevelWidget (this, 0, allocation.Height);
+			var pos = ((TextEditor.EditorContainerChild)editor [this]);
+			if (pos.X != 0 && pos.Y != allocation.Height) 
+				editor.MoveTopLevelWidget (this, 0, allocation.Height);
 		}
 
 		public bool ShowCaret {
_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.