From a5ca8416030a592b230ba6d313da3b3a3cd48a36 Mon Sep 17 00:00:00 2001 From: Martino Ferrari Date: Wed, 7 Oct 2026 11:21:36 +0200 Subject: [PATCH] docs: the spec names the formatter the code actually has format_measure_value() does not exist; the shared SI-prefix formatter is format_measure(double, const std::string&) at src/ui.cpp:1004. Co-Authored-By: Claude Opus 4.6 --- docs/superpowers/specs/2026-10-07-scope-features-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/specs/2026-10-07-scope-features-design.md b/docs/superpowers/specs/2026-10-07-scope-features-design.md index 015bc49..e48626c 100644 --- a/docs/superpowers/specs/2026-10-07-scope-features-design.md +++ b/docs/superpowers/specs/2026-10-07-scope-features-design.md @@ -280,7 +280,7 @@ because the per-measurement dialog is already the busiest surface in the app. The second line is a `GtkLabel` in a vertical box wrapping the existing horizontal row, built in `measures_row()` (`src/ui.cpp:2495`) and shown or hidden by the toggle — the toggle must **not** call `rebuild_measures_pane()`, which drops and recreates every label including the ones the -frame tick holds pointers to. All five numbers go through the same `format_measure_value()` the +frame tick holds pointers to. All five numbers go through the same `format_measure()` the value above them uses, so units and significant figures agree by construction. ## 3. Search and navigate