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