[Monodevelop-patches-list] r2527 - in trunk/MonoDevelop/Extras/BooBinding: . Gui

Peter Johanson <latexer@gentoo.org> pjohanson at mono-cvs.ximian.com
Tue May 10 22:36:30 EDT 2005


Author: pjohanson
Date: 2005-05-10 22:36:30 -0400 (Tue, 10 May 2005)
New Revision: 2527

Modified:
   trunk/MonoDevelop/Extras/BooBinding/ChangeLog
   trunk/MonoDevelop/Extras/BooBinding/Gui/ShellTextView.boo
Log:
Small change to make the addin work with both boo-0.5.3 and boo SVN.


Modified: trunk/MonoDevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-05-09 00:02:12 UTC (rev 2526)
+++ trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-05-11 02:36:30 UTC (rev 2527)
@@ -1,3 +1,9 @@
+2005-05-10  Peter Johanson <latexer at gentoo.org>
+
+	* Gui/ShellTextView.boo: Use a normal StreamWriter
+	instead of the Boo.IO stuff, since Boo.IO has moved
+	in current Boo SVN to Boo.Lang.IO
+
 2005-05-04  Peter Johanson <latexer at gentoo.org>
 
 	* BooShell/BooShell.boo: Make sure we 

Modified: trunk/MonoDevelop/Extras/BooBinding/Gui/ShellTextView.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/Gui/ShellTextView.boo	2005-05-09 00:02:12 UTC (rev 2526)
+++ trunk/MonoDevelop/Extras/BooBinding/Gui/ShellTextView.boo	2005-05-11 02:36:30 UTC (rev 2527)
@@ -21,6 +21,7 @@
 
 import System
 import System.Collections
+import System.IO
 import System.Runtime.InteropServices
 
 import Gtk
@@ -34,7 +35,6 @@
 import MonoDevelop.Services
 import MonoDevelop.Core.Properties
 import MonoDevelop.Internal.Project
-import Boo.IO
 
 
 /*
@@ -383,7 +383,8 @@
 		if _sel.Filename:
 			_sel.Hide()
 			_path = _sel.Filename
-			TextFile.WriteFile (_path, _scriptLines)
+			using writer = StreamWriter (_path):
+				writer.Write (_scriptLines)
 		else:
 			_sel.Hide()
 	




More information about the Monodevelop-patches-list mailing list