Author: mkrueger
Date: 2008-02-04 12:53:11 -0500 (Mon, 04 Feb 2008)
New Revision: 94769

Modified:
   trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
   
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs
   trunk/monodevelop/main/src/addins/Mono.Texteditor/TangoStyle.xml
Log:
* TangoStyle.xml: Tango bracket matching has now better colors.

Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-02-04 
17:48:03 UTC (rev 94768)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/ChangeLog 2008-02-04 
17:53:11 UTC (rev 94769)
@@ -1,5 +1,9 @@
 2008-02-04  Mike Krüger <[EMAIL PROTECTED]> 
 
+       * TangoStyle.xml: Tango bracket matching has now better colors.
+
+2008-02-04  Mike Krüger <[EMAIL PROTECTED]> 
+
        * Mono.TextEditor.mdp, TangoStyle.xml, OblivionStyle.xml,
          Mono.TextEditor/TextUtil.cs, Mono.TextEditor/TextEditor.cs,
          Mono.TextEditor/TextEditorOptions.cs,

Modified: 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs 
    2008-02-04 17:48:03 UTC (rev 94768)
+++ 
trunk/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs 
    2008-02-04 17:53:11 UTC (rev 94769)
@@ -832,7 +832,7 @@
                                selectionStart = tmp;
                        }
                        
-                       if (offset <= this.bracketIndex && this.bracketIndex < 
offset + length) {
+                       if (TextEditorOptions.Options.HighlightMatchingBracket 
&& offset <= this.bracketIndex && this.bracketIndex < offset + length) {
                                int bracketMarkerColumn = this.bracketIndex - 
line.Offset; 
                                int width, height;
                                layout.SetText (Buffer.GetTextAt (offset, 
bracketMarkerColumn).Replace ("\t", new string (' ', 
TextEditorOptions.Options.TabSize)));

Modified: trunk/monodevelop/main/src/addins/Mono.Texteditor/TangoStyle.xml
===================================================================
--- trunk/monodevelop/main/src/addins/Mono.Texteditor/TangoStyle.xml    
2008-02-04 17:48:03 UTC (rev 94768)
+++ trunk/monodevelop/main/src/addins/Mono.Texteditor/TangoStyle.xml    
2008-02-04 17:53:11 UTC (rev 94769)
@@ -77,8 +77,8 @@
        <Style name="foldLineHighlighted" color="aluminium5"/>
        <Style name="foldToggleMarker" color="black"/>
        
-       <Style name="bracketHighlightRectangle" color="orange3"/>
-       <Style name="bracketHighlightBg" color="orange1"/>
+       <Style name="bracketHighlightRectangle" color="aluminium4"/>
+       <Style name="bracketHighlightBg" color="aluminium1"/>
 
        <!-- highlighting -->
        <Style name="comment" color="chameleon3"/>

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

Reply via email to