Author: mkrueger
Date: 2008-01-22 11:09:39 -0500 (Tue, 22 Jan 2008)
New Revision: 93542

Modified:
   trunk/monodevelop/main/src/addins/Mono.Texteditor/C64Style.xml
   trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
   
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/Style.cs
   trunk/monodevelop/main/src/addins/Mono.Texteditor/OblivionStyle.xml
Log:
* 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/C64Style.xml
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/C64Style.xml      
2008-01-22 15:48:08 UTC (rev 93541)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/C64Style.xml      
2008-01-22 16:09:39 UTC (rev 93542)
@@ -22,7 +22,7 @@
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE. -->
- <EditorStyle name="C64">
+ <EditorStyle _name="C64" _description="A color style that uses the old 
Commodore 64 colors">
        <Color name="Default">#97A0EF</Color>
        <Color name="Background">#3F3FDF</Color>
        <Color name="SelectedBackground">#000000</Color>

Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-01-22 
15:48:08 UTC (rev 93541)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-01-22 
16:09:39 UTC (rev 93542)
@@ -1,5 +1,15 @@
 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.
+
+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.
+
+2008-01-22  Mike Krüger <[EMAIL PROTECTED]> 
+
        * Mono.TextEditor/TextEditor.cs, Mono.TextEditor/TextEditorOptions.cs,
          Mono.TextEditor/GutterMargin.cs: Added some text editor options -
          options are now virtual.

Modified: 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/Style.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/Style.cs
     2008-01-22 15:48:08 UTC (rev 93541)
+++ 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor.Highlighting/Style.cs
     2008-01-22 16:09:39 UTC (rev 93542)
@@ -34,6 +34,7 @@
        public class Style
        {
                string name;
+               string description;
                
                Color def, background, selectedBg;
                Color lineMarker, ruler, whitespaceMarker, invalidLineMarker;
@@ -142,12 +143,14 @@
                        get {
                                return name;
                        }
-                       set {
-                               name = value;
+               }
+               
+               public string Description {
+                       get {
+                               return description;
                        }
                }
 
-
                public Style ()
                {
                        comment      = new Gdk.Color (0, 0, 255);
@@ -292,7 +295,8 @@
                        XmlReadHelper.ReadList (reader, "EditorStyle", delegate 
() {
                                switch (reader.LocalName) {
                                case "EditorStyle":
-                                       result.name = reader.GetAttribute 
("name");
+                                       result.name        = 
reader.GetAttribute ("_name");
+                                       result.description = 
reader.GetAttribute ("_description");
                                        return true;
                                case "Color":
                                        result.SetColor (reader.GetAttribute 
("name"),

Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/OblivionStyle.xml
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/OblivionStyle.xml 
2008-01-22 15:48:08 UTC (rev 93541)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/OblivionStyle.xml 
2008-01-22 16:09:39 UTC (rev 93542)
@@ -22,7 +22,7 @@
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE. -->
- <EditorStyle name="Oblivion">
+ <EditorStyle _name="Oblivion" _description="Dark color sheme using tango 
colors.">
        <Color name="Default">#d3d7cf</Color>
        <Color name="Background">#2e3436</Color>
        <Color name="SelectedBackground">#888a85</Color>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to