mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-42143
This commit is contained in:
@@ -25,7 +25,7 @@ public class HtmlStructureViewElementProvider implements XmlStructureViewElement
|
||||
return new HtmlTagTreeElement(tag);
|
||||
}
|
||||
|
||||
static class HtmlTagTreeElement extends XmlTagTreeElement implements LocationPresentation {
|
||||
private static class HtmlTagTreeElement extends XmlTagTreeElement implements LocationPresentation {
|
||||
public HtmlTagTreeElement(final XmlTag tag) {
|
||||
super(tag);
|
||||
}
|
||||
@@ -78,7 +78,7 @@ public class HtmlStructureViewElementProvider implements XmlStructureViewElement
|
||||
}
|
||||
|
||||
private static String shortenTextIfLong(final String text) {
|
||||
if (text.length() < MAX_TEXT_LENGTH) return text;
|
||||
if (text.length() <= MAX_TEXT_LENGTH) return text;
|
||||
|
||||
int index;
|
||||
for (index = MAX_TEXT_LENGTH; index > MAX_TEXT_LENGTH - 20; index--) {
|
||||
|
||||
Reference in New Issue
Block a user