src/search/FindInFiles.js
function filesChanged(fileList) {
        if (FindUtils.isNodeSearchDisabled() || !fileList || fileList.length === 0) {
            return;
        }
        var updateObject = {
            "fileList": fileList
        };
        if (searchModel.filter) {
            updateObject.filesInSearchScope = FileFilters.getPathsMatchingFilter(searchModel.filter, fileList);
            _searchScopeChanged();
        }
        searchDomain.exec("filesChanged", updateObject);
    }
function filesChanged(fileList) {
        if (FindUtils.isNodeSearchDisabled() || !fileList || fileList.length === 0) {
            return;
        }
        var updateObject = {
            "fileList": fileList
        };
        if (searchModel.filter) {
            updateObject.filesInSearchScope = FileFilters.getPathsMatchingFilter(searchModel.filter, fileList);
            _searchScopeChanged();
        }
        searchDomain.exec("filesChanged", updateObject);
    }
function filesChanged ( fileList ) { if ( FindUtils . isNodeSearchDisabled ( ) || ! fileList || fileList . length === 0 ) { return ; } var updateObject = { "fileList" : fileList } ; if ( searchModel . filter ) { updateObject . filesInSearchScope = FileFilters . getPathsMatchingFilter ( searchModel . filter , fileList ) ; _searchScopeChanged ( ) ; } searchDomain . exec ( "filesChanged" , updateObject ) ; }
Inform node that the list of files has changed.
@param {array} fileList The list of files that changed.
Inform node that the list of files has changed .