[Monodevelop-patches-list] r1938 - in branches/MonoDevelop-plan-43: . src/Plugins/Editor src/Plugins/Node
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Aug 14 17:53:38 EDT 2004
Author: jzwart
Date: 2004-08-14 17:53:37 -0400 (Sat, 14 Aug 2004)
New Revision: 1938
Modified:
branches/MonoDevelop-plan-43/ChangeLog
branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs
branches/MonoDevelop-plan-43/src/Plugins/Node/node.build
Log:
2004-08-15 Jeroen Zwartepoorte <jeroen at xs4all.nl>
* src/Plugins/Node/node.build: fix reference order; needs to be fixed
elsewhere as well.
* src/Plugins/Editor/EditorNodeViewer.cs: don't Insert() the text, just
use the Text property.
Modified: branches/MonoDevelop-plan-43/ChangeLog
===================================================================
--- branches/MonoDevelop-plan-43/ChangeLog 2004-08-14 21:27:05 UTC (rev 1937)
+++ branches/MonoDevelop-plan-43/ChangeLog 2004-08-14 21:53:37 UTC (rev 1938)
@@ -1,5 +1,12 @@
2004-08-15 Jeroen Zwartepoorte <jeroen at xs4all.nl>
+ * src/Plugins/Node/node.build: fix reference order; needs to be fixed
+ elsewhere as well.
+ * src/Plugins/Editor/EditorNodeViewer.cs: don't Insert() the text, just
+ use the Text property.
+
+2004-08-15 Jeroen Zwartepoorte <jeroen at xs4all.nl>
+
* default.build: nant.project.basedir is obsolete; use
project::get-base-directory () function instead.
* src/Plugins/Node/node.plugin.in: register the TextFileNode from within
Modified: branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs 2004-08-14 21:27:05 UTC (rev 1937)
+++ branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs 2004-08-14 21:53:37 UTC (rev 1938)
@@ -79,17 +79,14 @@
{
byte[] buf = new byte[2048];
int read = -1;
- {
- TextIter iter = buffer.GetIterAtMark (buffer.InsertMark);
- buffer.Insert (iter, "blahdieblah\n");
- }
+ buffer.Text = "";
do {
read = reader.Read (buf, 0, buf.Length);
log.Debug ("bytes read: " + read);
TextIter iter = buffer.GetIterAtMark (buffer.InsertMark);
string text = Encoding.UTF8.GetString (buf);
log.Debug (text);
- buffer.Insert (iter, text);
+ buffer.Text += text;
} while (read == buf.Length);
}
Modified: branches/MonoDevelop-plan-43/src/Plugins/Node/node.build
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Node/node.build 2004-08-14 21:27:05 UTC (rev 1937)
+++ branches/MonoDevelop-plan-43/src/Plugins/Node/node.build 2004-08-14 21:53:37 UTC (rev 1938)
@@ -10,8 +10,8 @@
<include name="*.cs"/>
</sources>
<references>
+ <include name="${lib.dir}/log4net.dll"/>
<include name="${bin.dir}/monodevelop.exe"/>
- <include name="${lib.dir}/log4net.dll"/>
</references>
</csc>
More information about the Monodevelop-patches-list
mailing list