Example #1
0
 public static void ShowForEditor(TextEditorControl editor, bool replaceMode)
 {
     if (Instance == null)
     {
         Instance = new FindAndReplaceForm();
     }
     Instance.ShowFor(editor, replaceMode);
 }
Example #2
0
 void CodeEditor_Disposed(object sender, EventArgs e)
 {
     FindAndReplaceForm.DisposedEditor(this);
     HSettings.ReloadSettings -= HSettings_ReloadSettings;
     //if (m_findForm != null) m_findForm.Dispose();
 }
Example #3
0
 public void FindNext()
 {
     FindAndReplaceForm.FindNext(this);
 }
Example #4
0
 public void ShowReplaceDialog()
 {
     FindAndReplaceForm.ShowForEditor(this, true);
     //if (m_findForm == null) m_findForm = new FindAndReplaceForm();
     //m_findForm.ShowFor(this, true);
 }