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