[Monodevelop-patches-list] r1035 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Feb 25 21:50:48 EST 2004
Author: tberman
Date: 2004-02-25 21:50:48 -0500 (Wed, 25 Feb 2004)
New Revision: 1035
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
Log:
fix selection bug
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs 2004-02-26 02:35:42 UTC (rev 1034)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs 2004-02-26 02:50:48 UTC (rev 1035)
@@ -224,7 +224,7 @@
protected void OnClosed()
{
SaveHistoryValues();
-
+ SearchReplaceManager.ReplaceDialog = null;
}
void OnDeleted (object o, DeleteEventArgs args)
@@ -443,6 +443,7 @@
public void ShowAll()
{
ReplaceDialogPointer.ShowAll();
+ searchPatternComboBox.Entry.SelectRegion (0, searchPatternComboBox.Entry.Text.Length);
}
#endregion
}
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-02-26 02:35:42 UTC (rev 1034)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-02-26 02:50:48 UTC (rev 1035)
@@ -158,6 +158,7 @@
{
ReplaceDialogPointer.ShowAll ();
SearchReplaceInFilesManager.ReplaceDialog = this;
+ searchPatternComboBox.Entry.SelectRegion (0, searchPatternComboBox.Entry.Text.Length);
}
public ReplaceInFilesDialog(bool replaceMode)
More information about the Monodevelop-patches-list
mailing list