feat(mtext): align tabbed fields on center/right/decimal tab stops
A `\t` reaching a center, right, or decimal (`D`) tab stop now aligns the field that follows it — the run of words up to the next space/tab — instead of just advancing the pen: - decimal: the field's first `.` lands on the stop (a column of numbers aligns on the decimal point; a field with no `.` aligns its end), - right: the field's end lands on the stop, - center: its middle. The stop wins even when the field is wider than the room before it, so the dot/edge stays put and the field overruns to the left, keeping the column aligned. Left stops and the default 4-em grid are unchanged. Picks up acadrust 162f194, which carries the tab-stop kinds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
0de2f76921
commit
3da678b2ca
2 changed files with 99 additions and 13 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -73,7 +73,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
|
|||
[[package]]
|
||||
name = "acadrust"
|
||||
version = "0.4.0"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#504281a468f0218ede6a5437e2f0d90d9c7c243f"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#162f1940ef9f7faaa9b6597e4b190be913b70d37"
|
||||
dependencies = [
|
||||
"ahash 0.8.12",
|
||||
"anyhow",
|
||||
|
|
|
|||
Loading…
Reference in a new issue