src/search/FindInFiles.js
function (child) {
                    // Replicate filtering that getAllFiles() does
                    if (ProjectManager.shouldShow(child)) {
                        if (child.isFile && _isReadableText(child.name)) {
                            // Re-check the filtering that the initial search applied
                            if (_inSearchScope(child)) {
                                addedFiles.push(child);
                                addedFilePaths.push(child.fullPath);
                            }
                        }
                        return true;
                    }
                    return false;
                }
function (child) {
                    // Replicate filtering that getAllFiles() does
                    if (ProjectManager.shouldShow(child)) {
                        if (child.isFile && _isReadableText(child.name)) {
                            // Re-check the filtering that the initial search applied
                            if (_inSearchScope(child)) {
                                addedFiles.push(child);
                                addedFilePaths.push(child.fullPath);
                            }
                        }
                        return true;
                    }
                    return false;
                }
function ( child ) { // Replicate filtering that getAllFiles() does if ( ProjectManager . shouldShow ( child ) ) { if ( child . isFile && _isReadableText ( child . name ) ) { // Re-check the filtering that the initial search applied if ( _inSearchScope ( child ) ) { addedFiles . push ( child ) ; addedFilePaths . push ( child . fullPath ) ; } } return true ; } return false ; }
gather up added files
gather up added files