update characterids when tag was copied with dependencies

This commit is contained in:
honfika@gmail.com
2015-04-30 15:03:20 +02:00
parent a6847b6562
commit 1429757552
4 changed files with 85 additions and 23 deletions

View File

@@ -2685,6 +2685,15 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
previewPanel.setImageReplaceButtonVisible(false);
/*if (treeItem instanceof Tag) {
Tag tag = (Tag) treeItem;
Set<Integer> needed = new HashSet<>();
tag.getNeededCharactersDeep(needed);
String neededStr = Helper.joinStrings(needed, ", ");
// todo: it would be usefule to show this information on the UI
System.out.println("Needed characters: " + neededStr);
}*/
boolean internalViewer = isInternalFlashViewerSelected();
if (treeItem instanceof HeaderItem) {