public override void Execute(object arg) { ViSDGlobalCount.ResetCommand(); ViSDGlobalText.UpdateMove(movecur, arg); movecur.Execute(arg); ViSDGlobalState.State = State.Insert; }
public void Execute(object arg) { ViSDGlobalCount.ResetCommand(); ArgumentMode am = arg as ArgumentMode; if (am != null) { int line = am.vh.TextArea.Caret.Line; String filename = am.vh.FileName; char bookmark = am.Argument; foreach (Bookmarks.ViSDBookmark b in Bookmarks.ViSDGlobalBookmarks.Bookmarks) { if (b.Bookmark == bookmark) { if (b.FileName == filename) { if (b.Line <= am.vh.TextArea.Document.Lines.Count) { am.vh.TextArea.Caret.Line = b.Line; am.vh.TextArea.Caret.BringCaretToView(); } } } } } }
public void Execute(object arg) { ViSDGlobalCount.ResetCommand(); ArgumentMode am = arg as ArgumentMode; if (am != null) { int line = am.vh.TextArea.Caret.Line; String filename = am.vh.FileName; char bookmark = am.Argument; Bookmarks.ViSDGlobalBookmarks.Bookmarks.Add(bookmark, filename, line); } }
public void Execute(object arg) { ViSDGlobalCount.ResetCommand(); TextArea ta = arg as TextArea; if (ta != null) { VimHandler vh = ta.ActiveInputHandler as VimHandler; if (vh != null) { vh.ArgumentMode.ServeArgumentCmd = new ArgumentCommands.CmdTillChar(); ViSDGlobalState.State = State.ArgumentMode; } } }
public void Execute(object arg) { ViSDGlobalCount.ResetCommand(); tfsc.Run(); }
void IViCommand.Execute(object arg) { ViSDGlobalCount.ResetCommand(); snw.Run(); }
public void Execute(object arg) { ViSDGlobalText.Reset(); ViSDGlobalCount.ResetCommand(); ViSDGlobalState.State = State.Insert; }
public void Execute(object arg) { ViSDGlobalCount.ResetCommand(); ViSDGlobalState.State = State.FindWord; }