[Monodevelop-patches-list] r1273 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sun Mar 28 00:52:30 EST 2004
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 ("*************");
+ Console.WriteLine (language);
//FIXME
- switch (language) {
+ switch (language.ToUpper ()) {
case "C#":
language = "text/x-csharp";
break;
- case "Java":
+ case "JAVA":
language = "text/x-java";
break;
- //case language "VB":
+ //case language "VBNET":
// language = "text/x-vbnet";
// break;
default:
More information about the Monodevelop-patches-list
mailing list