(cm)
| 1931 | } |
| 1932 | }; |
| 1933 | function getSearchState(cm) { |
| 1934 | var vim = getVimState(cm); |
| 1935 | return vim.searchState_ || (vim.searchState_ = new SearchState()); |
| 1936 | } |
| 1937 | function dialog(cm, text, shortText, callback, initialValue) { |
| 1938 | if (cm.openDialog) { |
| 1939 | cm.openDialog(text, callback, { bottom: true, value: initialValue }); |
no test coverage detected