Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs')
-rw-r--r--main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs176
1 files changed, 97 insertions, 79 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs b/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs
index 1768c2468d..95a85dd82a 100644
--- a/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs
+++ b/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.SearchAndReplaceWidget.cs
@@ -5,58 +5,80 @@ namespace MonoDevelop.SourceEditor
public partial class SearchAndReplaceWidget
{
private global::Gtk.Table table;
+
private global::Gtk.Button buttonSearchMode;
+
private global::Gtk.Arrow searchButtonModeArrow;
+
private global::Gtk.HBox hbox1;
+
private global::MonoDevelop.Components.SearchEntry searchEntry;
+
private global::Gtk.Button buttonSearchBackward;
+
private global::Gtk.EventBox eventbox2;
+
private global::Gtk.Image image2;
+
private global::Gtk.Button buttonSearchForward;
+
private global::Gtk.EventBox eventbox3;
+
private global::Gtk.Image image3;
+
private global::Gtk.Button closeButton;
+
private global::Gtk.EventBox eventbox4;
+
private global::Gtk.Image image4;
+
private global::Gtk.HBox hbox2;
+
private global::Gtk.Entry entryReplace;
+
private global::Gtk.Button buttonReplace;
+
private global::Gtk.EventBox eventbox5;
+
private global::Gtk.Image image5;
+
private global::Gtk.Button buttonReplaceAll;
+
private global::Gtk.HBox hbox3;
+
private global::Gtk.EventBox eventbox6;
+
private global::Gtk.Image image6;
+
private global::Gtk.Label label1;
-
- protected virtual void Build ()
+
+ protected virtual void Build()
{
- global::Stetic.Gui.Initialize (this);
+ global::Stetic.Gui.Initialize(this);
// Widget MonoDevelop.SourceEditor.SearchAndReplaceWidget
- global::Stetic.BinContainer.Attach (this);
+ global::Stetic.BinContainer.Attach(this);
this.Name = "MonoDevelop.SourceEditor.SearchAndReplaceWidget";
// Container child MonoDevelop.SourceEditor.SearchAndReplaceWidget.Gtk.Container+ContainerChild
- this.table = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
+ this.table = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
this.table.Name = "table";
this.table.BorderWidth = ((uint)(4));
// Container child table.Gtk.Table+TableChild
- this.buttonSearchMode = new global::Gtk.Button ();
+ this.buttonSearchMode = new global::Gtk.Button();
this.buttonSearchMode.CanFocus = true;
this.buttonSearchMode.Name = "buttonSearchMode";
// Container child buttonSearchMode.Gtk.Container+ContainerChild
- this.searchButtonModeArrow = new global::Gtk.Arrow (((global::Gtk.ArrowType)(0)), ((global::Gtk.ShadowType)(0)));
+ this.searchButtonModeArrow = new global::Gtk.Arrow(((global::Gtk.ArrowType)(0)), ((global::Gtk.ShadowType)(0)));
this.searchButtonModeArrow.Name = "searchButtonModeArrow";
- this.buttonSearchMode.Add (this.searchButtonModeArrow);
- this.buttonSearchMode.Label = null;
- this.table.Add (this.buttonSearchMode);
- global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table [this.buttonSearchMode]));
+ this.buttonSearchMode.Add(this.searchButtonModeArrow);
+ this.table.Add(this.buttonSearchMode);
+ global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table[this.buttonSearchMode]));
w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table.Gtk.Table+TableChild
- this.hbox1 = new global::Gtk.HBox ();
+ this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1";
// Container child hbox1.Gtk.Box+BoxChild
- this.searchEntry = new global::MonoDevelop.Components.SearchEntry ();
+ this.searchEntry = new global::MonoDevelop.Components.SearchEntry();
this.searchEntry.Name = "searchEntry";
this.searchEntry.ForceFilterButtonVisible = false;
this.searchEntry.HasFrame = true;
@@ -65,166 +87,162 @@ namespace MonoDevelop.SourceEditor
this.searchEntry.ActiveFilterID = 0;
this.searchEntry.Ready = false;
this.searchEntry.HasFocus = false;
- this.hbox1.Add (this.searchEntry);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.searchEntry]));
+ this.hbox1.Add(this.searchEntry);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.searchEntry]));
w3.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild
- this.buttonSearchBackward = new global::Gtk.Button ();
+ this.buttonSearchBackward = new global::Gtk.Button();
this.buttonSearchBackward.CanFocus = true;
this.buttonSearchBackward.Name = "buttonSearchBackward";
this.buttonSearchBackward.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child buttonSearchBackward.Gtk.Container+ContainerChild
- this.eventbox2 = new global::Gtk.EventBox ();
+ this.eventbox2 = new global::Gtk.EventBox();
this.eventbox2.Name = "eventbox2";
this.eventbox2.AboveChild = true;
this.eventbox2.VisibleWindow = false;
// Container child eventbox2.Gtk.Container+ContainerChild
- this.image2 = new global::Gtk.Image ();
+ this.image2 = new global::Gtk.Image();
this.image2.Name = "image2";
- this.image2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-up", global::Gtk.IconSize.Menu);
- this.eventbox2.Add (this.image2);
- this.buttonSearchBackward.Add (this.eventbox2);
- this.buttonSearchBackward.Label = null;
- this.hbox1.Add (this.buttonSearchBackward);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSearchBackward]));
+ this.image2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-up", global::Gtk.IconSize.Menu);
+ this.eventbox2.Add(this.image2);
+ this.buttonSearchBackward.Add(this.eventbox2);
+ this.hbox1.Add(this.buttonSearchBackward);
+ global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSearchBackward]));
w6.Position = 1;
w6.Expand = false;
w6.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
- this.buttonSearchForward = new global::Gtk.Button ();
+ this.buttonSearchForward = new global::Gtk.Button();
this.buttonSearchForward.CanFocus = true;
this.buttonSearchForward.Name = "buttonSearchForward";
this.buttonSearchForward.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child buttonSearchForward.Gtk.Container+ContainerChild
- this.eventbox3 = new global::Gtk.EventBox ();
+ this.eventbox3 = new global::Gtk.EventBox();
this.eventbox3.Name = "eventbox3";
this.eventbox3.AboveChild = true;
this.eventbox3.VisibleWindow = false;
// Container child eventbox3.Gtk.Container+ContainerChild
- this.image3 = new global::Gtk.Image ();
+ this.image3 = new global::Gtk.Image();
this.image3.Name = "image3";
- this.image3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-down", global::Gtk.IconSize.Menu);
- this.eventbox3.Add (this.image3);
- this.buttonSearchForward.Add (this.eventbox3);
- this.buttonSearchForward.Label = null;
- this.hbox1.Add (this.buttonSearchForward);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSearchForward]));
+ this.image3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu);
+ this.eventbox3.Add(this.image3);
+ this.buttonSearchForward.Add(this.eventbox3);
+ this.hbox1.Add(this.buttonSearchForward);
+ global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSearchForward]));
w9.Position = 2;
w9.Expand = false;
w9.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
- this.closeButton = new global::Gtk.Button ();
+ this.closeButton = new global::Gtk.Button();
this.closeButton.CanFocus = true;
this.closeButton.Name = "closeButton";
this.closeButton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child closeButton.Gtk.Container+ContainerChild
- this.eventbox4 = new global::Gtk.EventBox ();
+ this.eventbox4 = new global::Gtk.EventBox();
this.eventbox4.Name = "eventbox4";
this.eventbox4.AboveChild = true;
this.eventbox4.VisibleWindow = false;
// Container child eventbox4.Gtk.Container+ContainerChild
- this.image4 = new global::Gtk.Image ();
+ this.image4 = new global::Gtk.Image();
this.image4.Name = "image4";
- this.image4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
- this.eventbox4.Add (this.image4);
- this.closeButton.Add (this.eventbox4);
- this.closeButton.Label = null;
- this.hbox1.Add (this.closeButton);
- global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.closeButton]));
+ this.image4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu);
+ this.eventbox4.Add(this.image4);
+ this.closeButton.Add(this.eventbox4);
+ this.hbox1.Add(this.closeButton);
+ global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.closeButton]));
w12.Position = 3;
w12.Expand = false;
w12.Fill = false;
- this.table.Add (this.hbox1);
- global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table [this.hbox1]));
+ this.table.Add(this.hbox1);
+ global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table[this.hbox1]));
w13.LeftAttach = ((uint)(1));
w13.RightAttach = ((uint)(2));
w13.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table.Gtk.Table+TableChild
- this.hbox2 = new global::Gtk.HBox ();
+ this.hbox2 = new global::Gtk.HBox();
this.hbox2.Name = "hbox2";
// Container child hbox2.Gtk.Box+BoxChild
- this.entryReplace = new global::Gtk.Entry ();
+ this.entryReplace = new global::Gtk.Entry();
this.entryReplace.CanFocus = true;
this.entryReplace.Name = "entryReplace";
this.entryReplace.IsEditable = true;
this.entryReplace.InvisibleChar = '●';
- this.hbox2.Add (this.entryReplace);
- global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryReplace]));
+ this.hbox2.Add(this.entryReplace);
+ global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryReplace]));
w14.Position = 0;
// Container child hbox2.Gtk.Box+BoxChild
- this.buttonReplace = new global::Gtk.Button ();
+ this.buttonReplace = new global::Gtk.Button();
this.buttonReplace.CanFocus = true;
this.buttonReplace.Name = "buttonReplace";
this.buttonReplace.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child buttonReplace.Gtk.Container+ContainerChild
- this.eventbox5 = new global::Gtk.EventBox ();
+ this.eventbox5 = new global::Gtk.EventBox();
this.eventbox5.Name = "eventbox5";
this.eventbox5.AboveChild = true;
this.eventbox5.VisibleWindow = false;
// Container child eventbox5.Gtk.Container+ContainerChild
- this.image5 = new global::Gtk.Image ();
+ this.image5 = new global::Gtk.Image();
this.image5.Name = "image5";
- this.image5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find-and-replace", global::Gtk.IconSize.Menu);
- this.eventbox5.Add (this.image5);
- this.buttonReplace.Add (this.eventbox5);
- this.buttonReplace.Label = null;
- this.hbox2.Add (this.buttonReplace);
- global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonReplace]));
+ this.image5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find-and-replace", global::Gtk.IconSize.Menu);
+ this.eventbox5.Add(this.image5);
+ this.buttonReplace.Add(this.eventbox5);
+ this.hbox2.Add(this.buttonReplace);
+ global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonReplace]));
w17.Position = 1;
w17.Expand = false;
w17.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild
- this.buttonReplaceAll = new global::Gtk.Button ();
+ this.buttonReplaceAll = new global::Gtk.Button();
this.buttonReplaceAll.CanFocus = true;
this.buttonReplaceAll.Name = "buttonReplaceAll";
this.buttonReplaceAll.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child buttonReplaceAll.Gtk.Container+ContainerChild
- this.hbox3 = new global::Gtk.HBox ();
+ this.hbox3 = new global::Gtk.HBox();
this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6;
// Container child hbox3.Gtk.Box+BoxChild
- this.eventbox6 = new global::Gtk.EventBox ();
+ this.eventbox6 = new global::Gtk.EventBox();
this.eventbox6.Name = "eventbox6";
this.eventbox6.AboveChild = true;
this.eventbox6.VisibleWindow = false;
// Container child eventbox6.Gtk.Container+ContainerChild
- this.image6 = new global::Gtk.Image ();
+ this.image6 = new global::Gtk.Image();
this.image6.Name = "image6";
- this.image6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find-and-replace", global::Gtk.IconSize.Menu);
- this.eventbox6.Add (this.image6);
- this.hbox3.Add (this.eventbox6);
- global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.eventbox6]));
+ this.image6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find-and-replace", global::Gtk.IconSize.Menu);
+ this.eventbox6.Add(this.image6);
+ this.hbox3.Add(this.eventbox6);
+ global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.eventbox6]));
w19.Position = 0;
w19.Expand = false;
w19.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild
- this.label1 = new global::Gtk.Label ();
+ this.label1 = new global::Gtk.Label();
this.label1.Name = "label1";
- this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("All");
- this.hbox3.Add (this.label1);
- global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label1]));
+ this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("All");
+ this.hbox3.Add(this.label1);
+ global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1]));
w20.Position = 1;
w20.Expand = false;
w20.Fill = false;
- this.buttonReplaceAll.Add (this.hbox3);
- this.buttonReplaceAll.Label = null;
- this.hbox2.Add (this.buttonReplaceAll);
- global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonReplaceAll]));
+ this.buttonReplaceAll.Add(this.hbox3);
+ this.hbox2.Add(this.buttonReplaceAll);
+ global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonReplaceAll]));
w22.Position = 2;
w22.Expand = false;
w22.Fill = false;
- this.table.Add (this.hbox2);
- global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table [this.hbox2]));
+ this.table.Add(this.hbox2);
+ global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table[this.hbox2]));
w23.TopAttach = ((uint)(1));
w23.BottomAttach = ((uint)(2));
w23.LeftAttach = ((uint)(1));
w23.RightAttach = ((uint)(2));
w23.YOptions = ((global::Gtk.AttachOptions)(4));
- this.Add (this.table);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
+ this.Add(this.table);
+ if ((this.Child != null))
+ {
+ this.Child.ShowAll();
}
- this.Show ();
+ this.Show();
}
}
}