(cm, text, shortText, callback, initialValue)
| 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 }); |
| 1940 | } |
| 1941 | else { |
| 1942 | callback(prompt(shortText, "")); |
| 1943 | } |
| 1944 | } |
| 1945 | function findUnescapedSlashes(str) { |
| 1946 | var escapeNextChar = false; |
| 1947 | var slashes = []; |
no test coverage detected