Author: mhutch
Date: 2008-01-23 17:32:23 -0500 (Wed, 23 Jan 2008)
New Revision: 93723

Modified:
   trunk/monodevelop/main/src/addins/SourceEditor2/ChangeLog
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs
   
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.addin.xml
Log:
2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 

        * MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs:
          Ensure we don't create subclasses of classes with private fields bound
          by glade#. It would not work due to bug 355228.
        * MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs,
          MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs,
          MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs:
          Made internal some classes that don't need to be public.

2008-01-22  Lluis Sanchez Gual <[EMAIL PROTECTED]> 

        * MonoDevelop.SourceEditor.addin.xml: Updated add-in category and
          description.

2008-01-21  Mike Kr?\195?\188ger <[EMAIL PROTECTED]> 

        * MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs: Fixed Bug 354248 -
          Uncomment does not work when comment tag is not the first two signs.



Modified: trunk/monodevelop/main/src/addins/SourceEditor2/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/SourceEditor2/ChangeLog   2008-01-23 
22:22:24 UTC (rev 93722)
+++ trunk/monodevelop/main/src/addins/SourceEditor2/ChangeLog   2008-01-23 
22:32:23 UTC (rev 93723)
@@ -1,3 +1,23 @@
+2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs:
+         Ensure we don't create subclasses of classes with private fields bound
+         by glade#. It would not work due to bug 355228.
+       * MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs,
+         MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs,
+         MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs:
+         Made internal some classes that don't need to be public.
+
+2008-01-22  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.SourceEditor.addin.xml: Updated add-in category and
+         description.
+
+2008-01-21  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs: Fixed Bug 354248 -
+         Uncomment does not work when comment tag is not the first two signs.
+
 2008-01-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.SourceEditor.Gui/SourceEditorDisplayBinding.cs: Set the 
file

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs
  2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui/SourceEditorBuffer.cs
  2008-01-23 22:32:23 UTC (rev 93723)
@@ -777,17 +777,17 @@
                        TextIter textStart;
                        TextIter textEnd;
                        GetSelectionBounds (out textStart, out textEnd);
-                       if (textStart.Line == textEnd.Line)
-                       { // all the code is in one line, just uncomment is 
text starts with comment tag
-                               textStart.LineOffset = 0;
-                               textEnd = textStart;
-                               textEnd.ForwardChars (commentTag.Length);
-                               if (textStart.GetText (textEnd) == commentTag)
-                                       Delete (ref textStart, ref textEnd);
-                       }
-                       else
+//                     if (textStart.Line == textEnd.Line)
+//                     { // all the code is in one line, just uncomment is 
text starts with comment tag
+//                             textStart.LineOffset = 0;
+//                             textEnd = textStart;
+//                             textEnd.ForwardChars (commentTag.Length);
+//                             if (textStart.GetText (textEnd) == commentTag)
+//                                     Delete (ref textStart, ref textEnd);
+//                     }
+//                     else
                        { // uncomment the entire lines
-                               int numberOfLines = textEnd.Line - 
textStart.Line + 1;
+                               int numberOfLines = textStart.Line == 
textEnd.Line ? 1 : textEnd.Line - textStart.Line + 1;
                                TextMark mTextStart = CreateMark (null, 
textStart, true);
                                TextMark mTextTmp = mTextStart;
                                

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs
        2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/BehaviorTextEditorPanel.cs
        2008-01-23 22:32:23 UTC (rev 93723)
@@ -55,7 +55,7 @@
                        return true;
                }
                
-               class BehaviorTextEditorPanelWidget : GladeWidgetExtract 
+               sealed class BehaviorTextEditorPanelWidget : GladeWidgetExtract 
                {
                        // GTK controls
                        [Glade.Widget] CheckButton autoinsertCurlyBraceCheckBox;

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs
 2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/GeneralTextEditorPanel.cs
 2008-01-23 22:32:23 UTC (rev 93723)
@@ -38,7 +38,7 @@
        /// <summary>
        /// General texteditor options panelS.
        /// </summary>
-       public class GeneralTextEditorPanel : AbstractOptionPanel
+       class GeneralTextEditorPanel : AbstractOptionPanel
        {
                GeneralTextEditorPanelWidget widget;
                

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs
 2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs
 2008-01-23 22:32:23 UTC (rev 93723)
@@ -36,7 +36,7 @@
        /// Summary description for Form9.
        /// </summary>
 
-       public class MarkersTextEditorPanel : AbstractOptionPanel
+       class MarkersTextEditorPanel : AbstractOptionPanel
        {
                MarkersTextEditorPanelWidget widget;
                

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs
        2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs
        2008-01-23 22:32:23 UTC (rev 93723)
@@ -16,7 +16,7 @@
 
 namespace MonoDevelop.SourceEditor.Gui.OptionPanels
 {
-       public class SyntaxHighlightingPanel : AbstractOptionPanel
+       class SyntaxHighlightingPanel : AbstractOptionPanel
        {
                SyntaxHighlightingPanelWidget widget;
                

Modified: 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.addin.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.addin.xml
  2008-01-23 22:22:24 UTC (rev 93722)
+++ 
trunk/monodevelop/main/src/addins/SourceEditor2/MonoDevelop.SourceEditor.addin.xml
  2008-01-23 22:32:23 UTC (rev 93723)
@@ -1,6 +1,6 @@
 <Addin id          = "SourceEditor"
        namespace   = "MonoDevelop"
-       name        = "MonoDevelop Text Editor"
+       name        = "Text Editor"
        author      = "Ben Maurer, Lluis Sanchez, Todd Berman, Michael 
Hutchinson"
        copyright   = ""
        url         = ""

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

Reply via email to