1.16 skip when comments have been added | 已经添加行末注释时跳过

This commit is contained in:
林万程
2022-04-28 01:07:28 +08:00
parent e26ff72da8
commit baeaf71d18
6 changed files with 26 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ public class Tree implements ProjectViewNodeDecorator {
if (coloredText.isEmpty()) {
data.addText(data.getPresentableText(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
}
data.addText(doc, SimpleTextAttributes.GRAY_ATTRIBUTES);
data.addText(" " + doc, SimpleTextAttributes.GRAY_ATTRIBUTES);
});
}