@@ -33,6 +33,7 @@ public class QuickFind : ToolStripEx, IEventHandler
3333 private ToolStripControlHost matchCaseHost ;
3434 private ToolStripControlHost highlightHost ;
3535 private ToolStripButton previousButton ;
36+ private ToolStripButton moreButton ;
3637 private EscapeTextBox findTextBox ;
3738 private ToolStripLabel findLabel ;
3839 private ToolStripLabel infoLabel ;
@@ -78,6 +79,7 @@ public void InitializeComponent()
7879 this . highlightCheckBox = new CheckBox ( ) ;
7980 this . nextButton = new ToolStripButton ( ) ;
8081 this . closeButton = new ToolStripButton ( ) ;
82+ this . moreButton = new ToolStripButton ( ) ;
8183 this . highlightHost = new ToolStripControlHost ( this . highlightCheckBox ) ;
8284 this . matchCaseHost = new ToolStripControlHost ( this . matchCaseCheckBox ) ;
8385 this . wholeWordHost = new ToolStripControlHost ( this . wholeWordCheckBox ) ;
@@ -159,6 +161,13 @@ public void InitializeComponent()
159161 this . findTextBox . OnKeyEscape += new KeyEscapeEvent ( this . FindTextBoxOnKeyEscape ) ;
160162 this . findTextBox . Margin = new Padding ( 0 , 1 , 7 , 2 ) ;
161163 //
164+ // moreButton
165+ //
166+ this . moreButton . Click += new EventHandler ( this . MoreButtonClick ) ;
167+ this . moreButton . Text = TextHelper . GetString ( "Label.More" ) ;
168+ this . moreButton . Alignment = ToolStripItemAlignment . Right ;
169+ this . moreButton . Margin = new Padding ( 0 , 1 , 5 , 2 ) ;
170+ //
162171 // QuickFind
163172 //
164173 this . Items . Add ( this . closeButton ) ;
@@ -170,6 +179,7 @@ public void InitializeComponent()
170179 this . Items . Add ( this . wholeWordHost ) ;
171180 this . Items . Add ( this . highlightHost ) ;
172181 this . Items . Add ( this . infoLabel ) ;
182+ this . Items . Add ( this . moreButton ) ;
173183 this . GripStyle = ToolStripGripStyle . Hidden ;
174184 this . Renderer = new QuickFindRenderer ( ) ;
175185 this . Padding = new Padding ( 4 , 4 , 0 , 3 ) ;
@@ -528,6 +538,15 @@ private void CloseButtonClick(Object sender, EventArgs e)
528538 this . ApplyFixedDocumentPadding ( ) ;
529539 }
530540
541+ /// <summary>
542+ /// Open the Find And Replace dialog
543+ /// </summary>
544+ private void MoreButtonClick ( Object sender , EventArgs e )
545+ {
546+ this . CloseButtonClick ( null , null ) ;
547+ PluginBase . MainForm . CallCommand ( "FindAndReplaceFrom" , this . findTextBox . Text ) ;
548+ }
549+
531550 /// <summary>
532551 /// Adds highlights to the correct sci control
533552 /// </summary>
0 commit comments