This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
return new NewlineView(startOffset, attrs);
} else { // Regular view with possible highlight(s) or tab view
if (startOffset == nextTabOffset) { // Create TabView
int tabsEndOffset;
int tabsEndOffset = nextTabOffset + 1;
for (tabsEndOffset = nextTabOffset + 1; tabsEndOffset < lineEndOffset - 1; tabsEndOffset++) {
if (docText.charAt(tabsEndOffset) != '\t') {
break;
}
AttributeSet attrs;
if (limitOffset < tabsEndOffset) {
attrs = hList.cut(limitOffset);