Author: mkrueger
Date: 2008-01-22 11:43:30 -0500 (Tue, 22 Jan 2008)
New Revision: 93546
Modified:
trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs
Log:
* Mono.TextEditor.Highlighting/SyntaxModeService.cs: Worked on style
panel.
Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-01-22
16:42:21 UTC (rev 93545)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-01-22
16:43:30 UTC (rev 93546)
@@ -1,5 +1,13 @@
2008-01-22 Mike Krüger <[EMAIL PROTECTED]>
+ * Mono.TextEditor.Highlighting/SyntaxModeService.cs: Worked on style
panel.
+
+2008-01-22 Mike Krüger <[EMAIL PROTECTED]>
+
+ * Mono.TextEditor.Highlighting/SyntaxModeService.cs: Worked on style
panel.
+
+2008-01-22 Mike Krüger <[EMAIL PROTECTED]>
+
* OblivionStyle.xml, Mono.TextEditor.Highlighting/Style.cs,
C64Style.xml:
Color styles now have descriptions. Name/Description is now
localizable.
Modified:
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs
===================================================================
---
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs
2008-01-22 16:42:21 UTC (rev 93545)
+++
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs
2008-01-22 16:43:30 UTC (rev 93546)
@@ -50,6 +50,15 @@
}
}
+ public static Style GetColorStyle (Gtk.Widget widget, string
name)
+ {
+ foreach (Style style in styles) {
+ if (style.Name == name)
+ return style;
+ }
+ return new DefaultStyle (widget);
+ }
+
public static SyntaxMode GetSyntaxMode (string mimeType)
{
foreach (SyntaxMode mode in syntaxModes) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches