Files
photocraft/docs
VladimirPozdnyakov 83427c1df1 Type: a box that can't hold its text draws a red + overflow port
- text::TextLayout::overflows: a box's layout drops the overflowing lines, so
  any character past the last line's byte range is dropped content; trailing
  breaks that fit gain their own empty lines and never read as overflow.
- type_tool::draw_overlay: boxed text overflows draw a red + port on the box's
  bottom edge near the right corner half below it, with the cursor-outline
  white rim; hovering it for the tooltip delay paints a card explaining the
  fix (theme tokens, tooltip preferences honoured); leaving clears the hover
  clock and the delay's tail repaints, so the hint never shows late.
- ui.type_box_overflow (serde skip): automation reads the overflow without a
  screen; set each overlay frame, false without a session.
- Tests: text overflows_says_whether_a_box_holds_its_text; ui unit
  the_overflow_port_flags_a_box_that_cannot_hold_its_text (true / fitting
  false / point false); GPU integration tests/type_overflow_port.rs checks the
  red disc on screen and the hover card (skips without an adapter). The tl!
  string is translated in all twenty catalogs per the i18n gate.
2026-10-21 19:51:02 +03:00
..
2026-10-12 22:41:38 -04:00