[Monodevelop-patches-list] r1942 - in branches/MonoDevelop-plan-43: . src/Plugins/Editor

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Aug 15 07:01:51 EDT 2004


Author: jzwart
Date: 2004-08-15 07:01:50 -0400 (Sun, 15 Aug 2004)
New Revision: 1942

Added:
   branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorManager.cs
   branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorView.cs
Modified:
   branches/MonoDevelop-plan-43/ChangeLog
   branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs
   branches/MonoDevelop-plan-43/src/Plugins/Editor/editor.build
Log:
2004-08-15  Jeroen Zwartepoorte  <jeroen at xs4all.nl>

	* src/Plugins/Editor/EditorNodeViewer.cs: cleanup.
	* src/Plugins/Editor/editor.build: add gtksourceview-sharp reference.
	* src/Plugins/Editor/EditorManager.cs: new class that manages all the
	EditorView instances in MD.
	* src/Plugins/Editor/EditorView.cs: GtkSourceView based editor on which
	all other text editors are based.



Modified: branches/MonoDevelop-plan-43/ChangeLog
===================================================================
--- branches/MonoDevelop-plan-43/ChangeLog	2004-08-15 03:07:30 UTC (rev 1941)
+++ branches/MonoDevelop-plan-43/ChangeLog	2004-08-15 11:01:50 UTC (rev 1942)
@@ -1,5 +1,14 @@
 2004-08-15  Jeroen Zwartepoorte  <jeroen at xs4all.nl>
 
+	* src/Plugins/Editor/EditorNodeViewer.cs: cleanup.
+	* src/Plugins/Editor/editor.build: add gtksourceview-sharp reference.
+	* src/Plugins/Editor/EditorManager.cs: new class that manages all the
+	EditorView instances in MD.
+	* src/Plugins/Editor/EditorView.cs: GtkSourceView based editor on which
+	all other text editors are based.
+
+2004-08-15  Jeroen Zwartepoorte  <jeroen at xs4all.nl>
+
 	* **/*.build: fix order of <include> in the <reference> tags.
 
 2004-08-15  Jeroen Zwartepoorte  <jeroen at xs4all.nl>

Added: branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorManager.cs
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorManager.cs	2004-08-15 03:07:30 UTC (rev 1941)
+++ branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorManager.cs	2004-08-15 11:01:50 UTC (rev 1942)
@@ -0,0 +1,25 @@
+//
+// EditorManager.cs: Manages all the editors active in the system.
+//
+// Author:
+//   Jeroen Zwartepoorte <jeroen at xs4all.nl>
+//
+// (C) Copyright Jeroen Zwartepoorte 2004
+//
+
+namespace MonoDevelop.Editor {
+	public class EditorManager {
+		private int tabSize;
+	
+		public int TabSize {
+			get {
+				return tabSize;
+			}
+		}
+	
+		public EditorView CreateEditor ()
+		{
+			return new EditorView ();
+		}
+	}
+}

Modified: branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs	2004-08-15 03:07:30 UTC (rev 1941)
+++ branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorNodeViewer.cs	2004-08-15 11:01:50 UTC (rev 1942)
@@ -77,8 +77,6 @@
 		
 		private void LoadText (Stream reader)
 		{
-			byte[] buf = new byte[2048];
-			int read = -1;
 			StreamReader sr = new StreamReader (reader);
 			string line;
 			buffer.Text = "";

Added: branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorView.cs
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorView.cs	2004-08-15 03:07:30 UTC (rev 1941)
+++ branches/MonoDevelop-plan-43/src/Plugins/Editor/EditorView.cs	2004-08-15 11:01:50 UTC (rev 1942)
@@ -0,0 +1,19 @@
+//
+// EditorView.cs: This is the editor widget for the MonoDevelop framework.
+//
+// Author:
+//   Jeroen Zwartepoorte <jeroen at xs4all.nl>
+//
+// (C) Copyright Jeroen Zwartepoorte 2004
+//
+
+using Gtk;
+using GtkSourceView;
+
+namespace MonoDevelop.Editor {
+	public class EditorView : SourceView {
+		public EditorView ()
+		{
+		}
+	}
+}

Modified: branches/MonoDevelop-plan-43/src/Plugins/Editor/editor.build
===================================================================
--- branches/MonoDevelop-plan-43/src/Plugins/Editor/editor.build	2004-08-15 03:07:30 UTC (rev 1941)
+++ branches/MonoDevelop-plan-43/src/Plugins/Editor/editor.build	2004-08-15 11:01:50 UTC (rev 1942)
@@ -4,7 +4,8 @@
     <target name="build" description="compiles the source code">
         <property name="assemblyfile" value="${path::combine(plugin.dir, 'editor.dll')}"/>
         <csc target="library" output="${assemblyfile}" debug="${build.debug}">
-            <arg value="${gnome-sharp.libs}"/>
+            <arg value="${gtk-sharp.libs}"/>
+            <arg value="${gtksourceview-sharp.libs}"/>
             <sources>
                 <include name="*.cs"/>
             </sources>




More information about the Monodevelop-patches-list mailing list