mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-02 06:07:06 -06:00
The Character panel's All Caps, Underline and Strikethrough buttons, and its menu's All Caps, Underline, Strikethrough, Proportional Metrics, Tate-chu-yoko and No Break, read the first selected character's style. With only some characters marked they could show on, and choosing one turned the attribute off for every character. They now show on only when every selected character has the attribute, and a click on a mixed selection turns it on for all, as Small Caps and Standard Vertical Roman Alignment do. type.underline (Cmd+Shift+U) underlines a mixed selection the same way. The Character Alignment and Digits submenus check no item while the selected characters differ. text.setFormat ignored a value that was not true or false for underline, strikethrough, allCaps, proportionalMetrics, tateChuYoko, standardVerticalRoman, noBreak, hyphenate, hyphenateCapitalized and romanHangingPunctuation. It now refuses it with "`<key>` must be true or false" and changes nothing, as text.setRangeStyle does.