private void OnFindFirst(object Obj, EventArgs EA) { Index = 0; Index = EditManager.Find(Find.Text, Index, GetFlags()); if (Index != -1) { FindNext.Enabled = true; Replace.Enabled = true; } }
private void OnFindNext(object Obj, EventArgs EA) { Index += Find.Text.Length; Index = EditManager.Find(Find.Text, Index, GetFlags()); if (Index != -1) { Replace.Enabled = true; } else { FindNext.Enabled = false; Replace.Enabled = false; } }
public static void Select(String NameArg) { foreach (Insert_Data Insert in Inserts) { if (Insert.Name == NameArg) { if (!GeneralRegistry.GetInsertWideFormat()) { EditManager.Insert(Insert.Content); } else if (Insert.WideContent == "") { EditManager.Insert(Insert.Content); } else { EditManager.Insert(Insert.WideContent); } } } }
private void OnReplace(object Obj, EventArgs EA) { EditManager.Insert(ReplaceWith.Text); Replace.Enabled = false; }
public void Clicked() { EditManager.Copy(); }
void OnClick(object Obj, EventArgs EA) { EditManager.Copy(); }
public void Clicked() { EditManager.RefreshColorHighlighter(); }
void OnClick(object Obj, EventArgs EA) { EditManager.Paste(); }
public void Clicked() { EditManager.Cut(); }
public void Clicked() { EditManager.Paste(); }
void OnClick(object Obj, EventArgs EA) { EditManager.SelectAll(); }