From 84bcc979de3f30e415e233fbf51341015174bee0 Mon Sep 17 00:00:00 2001 From: vasilito Date: Mon, 6 Jul 2026 05:20:56 +0300 Subject: [PATCH] tlc: update PLAN.md with W6-series changelog entries --- local/recipes/tui/tlc/PLAN.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/local/recipes/tui/tlc/PLAN.md b/local/recipes/tui/tlc/PLAN.md index a4c9151160..2284b6c2a1 100644 --- a/local/recipes/tui/tlc/PLAN.md +++ b/local/recipes/tui/tlc/PLAN.md @@ -11,6 +11,7 @@ - Visual polish (V1–V6): focused border, sparkline, size coloring, sub-cell bars, skin cache, disk-free - Warning cleanup: all 42 compiler warnings eliminated (zero-warning policy) - Stub fixes (W1–W5): dead dialogs, Suspend, Connection/Encoding wiring, EditUserMenu, batch SkipAll +- Visual/UX gap fixes (W6a–W6d): CJK width, bracket flash, search wrap, tab indicator **Branch:** `0.2.5` **Tests:** 1381 passing (+162 across all sprints + polish) @@ -732,6 +733,7 @@ $HOME/.config/tlc/known_hosts ← SFTP server key fingerprints (Phase 27) | 4 | D-series (D1–D8) | 8/8 | ✅ Done | 2026-07-05 | | V | Visual polish (V1–V6) | 6/6 | ✅ Done | 2026-07-06 | | W | Warning cleanup + stub fixes (W1–W5) | 5/5 | ✅ Done | 2026-07-06 | +| W6 | Visual/UX gap fixes (W6a–W6d) | 4/4 | ✅ Done | 2026-07-06 | ### 9.1 Sprint 4 Completion Summary @@ -765,6 +767,14 @@ All 5 W-series items complete: Also: All 42 compiler warnings eliminated (unused imports/vars, missing docs on public API items). +### 9.4 Visual/UX Gap Fixes (W6-series, 2026-07-06) + +All 4 W6-series items complete: +- **W6a**: Fix CJK/wide character width — `visual_width()` now uses `UnicodeWidthChar::width()` instead of hardcoding 1; `count_wrapped_rows()` iterates UTF-8 chars instead of raw bytes +- **W6b**: Render bracket match flash highlight — `bracket_flash` was computed but never rendered; now applies accent background style to matching brackets via `push_rendered_text` bracket_offsets parameter +- **W6c**: Add search wrap-around notification — `last_wrapped` flag in both editor `SearchState` and viewer `Search`; "Search wrapped" message on wrap in both editor and viewer +- **W6d**: Editor status bar tab width indicator — `Tab:{width}` in `status_string()`; hardcoded widget defaults verified as dead code (all rendering goes through `render_popup` which uses theme colors) + ## 10. REFERENCES - MC 4.8.33 C source: `local/recipes/tui/mc/source/` (read-only cross-reference)