Warning: session_start(): open(/var/lib/php/sessions/sess_udnafkoo5eifnr1irv6fsa2fk0, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
cmodule BigInputWithSections {
S text;
switchable int fontSize = 20;
transient JPanel stack;
transient StackLayouter layouter;
transient new AtomicLong changeCount;
transient long renderedChangeCount;
start {
onChange(r { makeSections(incAtomicLong(changeCount)) });
}
visual
jvsplit(setFontSize(fontSize, dm_textArea('text)),
jscroll_trackWidth(stack = customLayoutPanel(layouter = new StackLayouter)));
void makeSections(long changeCount) q {
if (stack == null) ret;
print("makeSections: " + changeCount + " / " + renderedChangeCount);
if (renderedChangeCount >= changeCount) ret;
renderedChangeCount = changeCount;
removeAllComponents(stack);
stack.add(jSection("Character count", jlabel(l_str(text))));
}
}