MCPcopy Index your code
hub / github.com/zxlie/FeHelper / _getSearchResultState

Function _getSearchResultState

apps/json-format/format-lib.js:1198–1204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1196 };
1197
1198 let _getSearchResultState = function () {
1199 return {
1200 query: jsonSearchState.query,
1201 total: jsonSearchState.matches.length,
1202 current: jsonSearchState.index >= 0 ? jsonSearchState.index + 1 : 0
1203 };
1204 };
1205
1206 let _selectSearchMatch = function (index) {
1207 if (!jsonSearchState.matches.length) {

Callers 5

_clearJsonSearchFunction · 0.85
_selectSearchMatchFunction · 0.85
_searchJsonNodesFunction · 0.85
_nextJsonSearchMatchFunction · 0.85
format-lib.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected