Highlighter - faster typing (timer delay),

sort optimization
This commit is contained in:
Jindra Petřík
2025-06-15 19:20:09 +02:00
parent aecef68d7b
commit 66ca60bed2
11 changed files with 99 additions and 80 deletions
@@ -1074,7 +1074,11 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
}
private Path typeToPath(GraphTargetItem type) {
return new Path(Arrays.asList(type.toString().split("\\.")));
if (type instanceof TypeItem) {
TypeItem ti = (TypeItem) type;
return new Path(ti.fullTypeName.getStringParts());
}
return new Path(Helper.splitString(".", type.toString())); //Arrays.asList(type.toString().split("\\.")));
}
@Override