project setting line count
This commit is contained in:
@@ -137,7 +137,7 @@ public class JavaLangDoc extends BaseTagLangDoc<PsiDocComment> {
|
||||
if (appendElementText(sb, element)) {
|
||||
lineCount++;
|
||||
}
|
||||
if (DocFilter.lineCountOrLenOver(lineInfo.appSettings, sb, lineCount)) {
|
||||
if (DocFilter.lineCountOrLenOver(lineInfo, sb, lineCount)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public class KotlinLangDoc extends BaseTagLangDoc<KDocSection> {
|
||||
@Override
|
||||
protected <T extends SettingsInfo> String descDoc(@NotNull T lineInfo, @NotNull KDocSection kDocSection) {
|
||||
@NotNull String content = kDocSection.getContent();
|
||||
return DocFilter.cutDoc(content, lineInfo.appSettings, false);
|
||||
return DocFilter.cutDoc(content, lineInfo, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -64,7 +64,7 @@ public class KotlinLangDoc extends BaseTagLangDoc<KDocSection> {
|
||||
@NotNull List<KDocTag> tags = kDocSection.findTagsByName(name);
|
||||
for (@NotNull KDocTag tag : tags) {
|
||||
@NotNull String content = tag.getContent();
|
||||
@NotNull String cutDoc = DocFilter.cutDoc(content, lineInfo.appSettings, false);
|
||||
@NotNull String cutDoc = DocFilter.cutDoc(content, lineInfo, false);
|
||||
tagStrBuilder.append(cutDoc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user