public static BindResult <SearchResult> DoSearch(this IIncrementalSearch search, string text, Path path = null, bool enter = true) { path = path ?? Path.Forward; var result = search.Begin(path).Run(text); return(enter ? result.Run(VimKey.Enter) : result); }
private void ProcessWithEnter(string value) { var result = _search.Begin(Path.Forward).Run(value).Run(VimKey.Enter); Assert.True(result.IsComplete); }