|
|
|
@ -17,6 +17,7 @@ import com.fr.design.mainframe.toolbar.UpdateActionManager;
|
|
|
|
|
import com.fr.design.menu.ShortCut; |
|
|
|
|
import com.fr.design.selection.SelectionListener; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.stable.pinyin.PinyinFormat; |
|
|
|
|
import com.fr.stable.pinyin.PinyinHelper; |
|
|
|
@ -562,7 +563,12 @@ public abstract class UpdateAction extends ShortCut implements Action {
|
|
|
|
|
for (int i = 0; i < component.getTabCount(); i++) { |
|
|
|
|
String title = component.getTitleAt(i); |
|
|
|
|
handleSearchText(separator, text, pinyin, shortPinyin, title); |
|
|
|
|
Component tabComponent = component.getComponentAt(i); |
|
|
|
|
Component tabComponent = null; |
|
|
|
|
try { |
|
|
|
|
tabComponent = component.getComponentAt(i); |
|
|
|
|
} catch (Exception ignore) { |
|
|
|
|
FineLoggerFactory.getLogger().info("AlphaFine index tabPane end"); |
|
|
|
|
} |
|
|
|
|
if (tabComponent instanceof JPanel) { |
|
|
|
|
getComponentTexts((JPanel) tabComponent, separator, text, pinyin, shortPinyin); |
|
|
|
|
} else if (tabComponent instanceof JTabbedPane) { |
|
|
|
|