[Monodevelop-patches-list] r594 - in trunk/MonoDevelop: . src/Libraries/ICSharpCode.TextEditor/src/Gui

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Jan 20 01:16:12 EST 2004


Author: jluke
Date: 2004-01-20 01:16:12 -0500 (Tue, 20 Jan 2004)
New Revision: 594

Modified:
   trunk/MonoDevelop/README
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/AbstractMargin.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Caret.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/FoldMargin.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/GutterMargin.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Ruler.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextArea.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextAreaControl.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControl.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextView.cs
Log:
remove unused cruft


Modified: trunk/MonoDevelop/README
===================================================================
--- trunk/MonoDevelop/README	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/README	2004-01-20 06:16:12 UTC (rev 594)
@@ -1,6 +1,6 @@
 This is a port of SharpDevelop to Gtk# and Mono.
 To compile simply run make, or 'make run' to compile and run it.
-You need Mono and Gtk# cvs.
+You need Mono and Gtk# cvs, and ORBit2-2.8.3 or newer
 
 You will also need GtkMozEmbed# installed.  If you do not have a recent version. Do this once:
 cd ./gtkmozembed-sharp && ./autogen.sh --prefix=/usr/local && make && make install
@@ -9,6 +9,7 @@
 
 Mono must be installed with ICU enabled.
 
+
 We are attempting to follow the HIG in certain areas especially, particularly dialogs.
 
 You can find a copy of the HIG at http://developer.gnome.org/projects/gup/hig/1.0/

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/AbstractMargin.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/AbstractMargin.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/AbstractMargin.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -7,9 +7,7 @@
 
 using System;
 using System.Collections;
-using System.ComponentModel;
 using System.Drawing;
-using System.Drawing.Text;
 using ICSharpCode.TextEditor.Document;
 
 using Gdk;

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Caret.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Caret.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Caret.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -8,17 +8,10 @@
 using System;
 using System.Collections;
 using System.IO;
-using System.ComponentModel;
 using System.Drawing;
-using System.Threading;
 using System.Drawing.Text;
-using System.Drawing.Drawing2D;
-using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Runtime.Remoting;
-using System.Runtime.InteropServices;
 using System.Text;
-using System.Xml;
 
 using ICSharpCode.TextEditor.Document;
 

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/FoldMargin.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/FoldMargin.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/FoldMargin.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -7,10 +7,7 @@
 
 using System;
 using System.Collections;
-using System.ComponentModel;
 using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Drawing.Text;
 using ICSharpCode.TextEditor.Document;
 
 using Gdk;

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/GutterMargin.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/GutterMargin.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/GutterMargin.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -9,10 +9,7 @@
 using System.IO;
 using System.Reflection;
 using System.Collections;
-using System.ComponentModel;
 using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Drawing.Text;
 using System.Diagnostics;
 using ICSharpCode.TextEditor.Document;
 

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Ruler.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Ruler.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/Ruler.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -7,10 +7,7 @@
 // </file>
 
 using System;
-using System.Windows.Forms;
 using System.Drawing;
-using System.ComponentModel;
-
 using ICSharpCode.TextEditor.Document;
 
 namespace ICSharpCode.TextEditor

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextArea.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextArea.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextArea.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -8,17 +8,11 @@
 using System;
 using System.Collections;
 using System.IO;
-using System.ComponentModel;
 using System.Drawing;
-using System.Threading;
-using System.Drawing.Text;
-using System.Drawing.Drawing2D;
 using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Runtime.Remoting;
 using System.Runtime.InteropServices;
 using System.Text;
-using System.Xml;
 using ICSharpCode.TextEditor.Actions;
 using ICSharpCode.TextEditor.Document;
 
@@ -29,7 +23,7 @@
 	/// <summary>
 	/// This class paints the textarea.
 	/// </summary>
-	[ToolboxItem(false)]
+	//[ToolboxItem(false)]
 	public class TextArea : Gtk.DrawingArea 
 	{
 		public static bool HiddenMouseCursor = false;
@@ -123,7 +117,7 @@
 			}
 		}
 		
-		[Browsable(false)]
+		//[Browsable(false)]
 		public IDocument Document {
 			get {
 				return motherTextEditorControl.Document;

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextAreaControl.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextAreaControl.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextAreaControl.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -8,17 +8,9 @@
 using System;
 using System.Collections;
 using System.IO;
-using System.ComponentModel;
 using System.Drawing;
-using System.Threading;
-using System.Drawing.Text;
-using System.Drawing.Drawing2D;
-using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Runtime.Remoting;
-using System.Runtime.InteropServices;
 using System.Text;
-using System.Xml;
 using ICSharpCode.TextEditor.Actions;
 using ICSharpCode.TextEditor.Document;
 
@@ -27,7 +19,7 @@
 	/// <summary>
 	/// This class paints the textarea.
 	/// </summary>
-	[ToolboxItem(false)]
+	//[ToolboxItem(false)]
 	public class TextAreaControl : Gtk.Table
 	{
 		TextEditorControl         motherTextEditorControl;
@@ -66,7 +58,7 @@
 		}
 
 		
-		[Browsable(false)]
+		//[Browsable(false)]
 		public IDocument Document {
 			get {
 				return motherTextEditorControl.Document;

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControl.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControl.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControl.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -7,17 +7,10 @@
 
 using System;
 using System.Collections;
-using System.Collections.Specialized;
 using System.IO;
 using System.ComponentModel;
-using System.Drawing;
-using System.Drawing.Drawing2D;
 using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Threading;
-using System.Runtime.Remoting;
-using System.Runtime.InteropServices;
-using System.Xml;
 using System.Text;
 
 using ICSharpCode.TextEditor.Document;

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -11,13 +11,7 @@
 using System.IO;
 using System.ComponentModel;
 using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Threading;
-using System.Runtime.Remoting;
-using System.Runtime.InteropServices;
-using System.Xml;
 using System.Text;
 
 using ICSharpCode.TextEditor.Document;
@@ -662,8 +656,8 @@
 					File.Copy(fileName, backupName);
 				}
 			} catch (Exception) {
-//				IMessageService messageService =(IMessageService)ServiceManager.Services.GetService(typeof(IMessageService));
-//				messageService.ShowError(e, "Can not create backup copy of " + fileName);
+				//IMessageService messageService = (IMessageService) ServiceManager.Services.GetService (typeof (IMessageService));
+				//messageService.ShowError (e, "Can not create backup copy of " + fileName);
 			}
 		}
 		
@@ -678,11 +672,8 @@
 			if (IsUpdating) {
 				return;
 			}
-#if GTK
-			// FIXME: GTKize?
-#else
-			base.Refresh();
-#endif
+
+			this.QueueDraw ();
 		}
 		
 		protected virtual void OnFileNameChanged(EventArgs e)

Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextView.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextView.cs	2004-01-20 06:07:40 UTC (rev 593)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextView.cs	2004-01-20 06:16:12 UTC (rev 594)
@@ -8,17 +8,9 @@
 using System;
 using System.Collections;
 using System.IO;
-using System.ComponentModel;
 using System.Drawing;
-using System.Threading;
-using System.Drawing.Text;
-using System.Drawing.Drawing2D;
-using System.Drawing.Printing;
 using System.Diagnostics;
-using System.Runtime.Remoting;
-using System.Runtime.InteropServices;
 using System.Text;
-using System.Xml;
 
 using ICSharpCode.TextEditor.Document;
 




More information about the Monodevelop-patches-list mailing list