|
|
|
@ -109,7 +109,7 @@ public class FileSearchManager implements AlphaFineSearchProvider {
|
|
|
|
|
if (DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isContainTemplate()) { |
|
|
|
|
for (FileNode node : fileNodes) { |
|
|
|
|
String name = node.getName().toLowerCase(); |
|
|
|
|
name = name.replaceAll(StringUtils.BLANK,StringUtils.EMPTY); |
|
|
|
|
name = name.replaceAll(StringUtils.BLANK, StringUtils.EMPTY); |
|
|
|
|
if (name.contains(searchText)) { |
|
|
|
|
FileModel model = new FileModel(node.getName(), node.getEnvPath()); |
|
|
|
|
if (!AlphaFineHelper.getFilterResult().contains(model)) { |
|
|
|
@ -123,6 +123,7 @@ public class FileSearchManager implements AlphaFineSearchProvider {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 搜索模板内容 |
|
|
|
|
* |
|
|
|
|
* @param searchText |
|
|
|
|
*/ |
|
|
|
|
private void doFileContentSearch(String searchText) { |
|
|
|
|