sculpt: increase text-edit quota

This is an intermediate solution for accommodating overly long
text lines that can appear in report/runtime/usb/devices in the
presence of long product strings.

Issue #5174
This commit is contained in:
Norman Feske 2024-04-16 14:06:34 +02:00 committed by Christian Helmuth
parent aefbc47c56
commit fe144a6c5f
2 changed files with 2 additions and 9 deletions

View File

@ -1340,7 +1340,7 @@ struct Sculpt::Main : Input_event_handler,
Start_name const start_name("editor");
_file_browser_state.text_area.construct(_child_states, start_name,
Priority::LEITZENTRALE,
Ram_quota{16*1024*1024}, Cap_quota{250});
Ram_quota{32*1024*1024}, Cap_quota{350});
}
}

View File

@ -123,14 +123,7 @@ struct Sculpt::File_browser_state : Noncopyable
return;
xml.node("start", [&] {
xml.attribute("name", text_area->name());
text_area->gen_start_node_version(xml);
xml.attribute("priority", (int)Priority::LEITZENTRALE);
xml.attribute("caps", 350);
gen_named_node(xml, "resource", "RAM", [&] {
xml.attribute("quantum", String<64>(22*1024*1024UL)); });
text_area->gen_start_node_content(xml);
gen_named_node(xml, "binary", "text_area");