未验证 提交 4bed9dc3 编写于 作者: cyqw's avatar cyqw 提交者: GitHub

fix(gui): results in usage search should be sorted by name (PR #1363)

上级 e2298741
...@@ -120,7 +120,7 @@ public class CodeNode extends JNode implements Comparable<CodeNode> { ...@@ -120,7 +120,7 @@ public class CodeNode extends JNode implements Comparable<CodeNode> {
} }
public static final Comparator<CodeNode> COMPARATOR = Comparator public static final Comparator<CodeNode> COMPARATOR = Comparator
.comparing(CodeNode::getJParent) .comparing(CodeNode::makeLongString)
.thenComparingInt(CodeNode::getPos); .thenComparingInt(CodeNode::getPos);
@Override @Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册