mail-archives/monodevelop-patches-list/2004-March/000880.html

93 строки
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Monodevelop-patches-list] r1273 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1273%20-%20trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000879.html">
<LINK REL="Next" HREF="000881.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Monodevelop-patches-list] r1273 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui</H1>
<B>commit-watcher at mono-cvs.ximian.com</B>
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1273%20-%20trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui&In-Reply-To="
TITLE="[Monodevelop-patches-list] r1273 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui">commit-watcher at mono-cvs.ximian.com
</A><BR>
<I>Sun Mar 28 00:52:30 EST 2004</I>
<P><UL>
<LI>Previous message: <A HREF="000879.html">[Monodevelop-patches-list] r1272 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
</A></li>
<LI>Next message: <A HREF="000881.html">[Monodevelop-patches-list] r1274 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#880">[ date ]</a>
<a href="thread.html#880">[ thread ]</a>
<a href="subject.html#880">[ subject ]</a>
<a href="author.html#880">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Author: jluke
Date: 2004-03-28 00:52:30 -0500 (Sun, 28 Mar 2004)
New Revision: 1273
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
Log:
switch on langauge.ToUpper ()
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-03-28 05:39:06 UTC (rev 1272)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-03-28 05:52:30 UTC (rev 1273)
@@ -62,15 +62,17 @@
{
SourceEditorDisplayBindingWrapper w = new SourceEditorDisplayBindingWrapper ();
+ Console.WriteLine (&quot;*************&quot;);
+ Console.WriteLine (language);
//FIXME
- switch (language) {
+ switch (language.ToUpper ()) {
case &quot;C#&quot;:
language = &quot;text/x-csharp&quot;;
break;
- case &quot;Java&quot;:
+ case &quot;JAVA&quot;:
language = &quot;text/x-java&quot;;
break;
- //case language &quot;VB&quot;:
+ //case language &quot;VBNET&quot;:
// language = &quot;text/x-vbnet&quot;;
// break;
default:
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000879.html">[Monodevelop-patches-list] r1272 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
</A></li>
<LI>Next message: <A HREF="000881.html">[Monodevelop-patches-list] r1274 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#880">[ date ]</a>
<a href="thread.html#880">[ thread ]</a>
<a href="subject.html#880">[ subject ]</a>
<a href="author.html#880">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
mailing list</a><br>
</body></html>