public void ExecuteBackspace(Action executeNextCommandTarget) { Action action = () => { CurrentEditorHandlers?.Execute((view, buffer) => new EC.BackspaceKeyCommandArgs(view, buffer), executeNextCommandTarget); }; CurrentRoslynHandlers.Execute(_languageBuffer.ContentType, args: new BackspaceKeyCommandArgs(_textView, _languageBuffer), lastHandler: action); }
public void ExecuteCommitUniqueCompletionListItemCommand(Action executeNextCommandTarget) { Action action = () => { CurrentEditorHandlers?.Execute((view, buffer) => new EC.CommitUniqueCompletionListItemCommandArgs(view, buffer), executeNextCommandTarget); }; CurrentRoslynHandlers.Execute(_languageBuffer.ContentType, args: new CommitUniqueCompletionListItemCommandArgs(_textView, _languageBuffer), lastHandler: action); }
public void ExecuteTypeCharacter(char typedChar, Action lastHandler) { Action action = () => { CurrentEditorHandlers?.Execute((view, buffer) => new EC.TypeCharCommandArgs(view, buffer, typedChar), lastHandler); }; CurrentRoslynHandlers?.Execute(_languageBuffer.ContentType, args: new TypeCharCommandArgs(_textView, _languageBuffer, typedChar), lastHandler: action); }
public void ExecuteUncommentBlock(Action executeNextCommandTarget) { Action action = () => { CurrentEditorHandlers?.Execute((view, buffer) => new EC.UncommentSelectionCommandArgs(view, buffer), executeNextCommandTarget); }; CurrentRoslynHandlers.Execute(_languageBuffer.ContentType, args: new UncommentSelectionCommandArgs(_textView, _languageBuffer), lastHandler: action); }