Description
The two editor settings that are decimal values containing a fractional part, i.e. Settings... > Appearance > Line height and Settings... > Edit > Delay, do not respect the system locale when the user selects a custom region in System Settings... > General > Language and Region.
To Reproduce
- Go to
System Settings... > General > Language & Region
- From the
Region dropdown menu, select any of the available regions that use a decimal point other than the current, e.g. the coma instead of the dot symbol.
- Open CotEditor.
- Go to the editor's
Settings... > Appearance and notice that the Line height value uses the unchanged decimal point symbol.
Expected behavior
The editor settings take into account the user's choices made at the system settings level.
CotEditor version
7.0.0-beta.3 (805)
macOS version
26.4
Additional context
Proposed solution available as PR #2055.
Description
The two editor settings that are decimal values containing a fractional part, i.e.
Settings...>Appearance>Line heightandSettings...>Edit>Delay, do not respect the system locale when the user selects a custom region inSystem Settings...>General>Language and Region.To Reproduce
System Settings...>General>Language & RegionRegiondropdown menu, select any of the available regions that use a decimal point other than the current, e.g. the coma instead of the dot symbol.Settings...>Appearanceand notice that theLine heightvalue uses the unchanged decimal point symbol.Expected behavior
The editor settings take into account the user's choices made at the system settings level.
CotEditor version
7.0.0-beta.3 (805)
macOS version
26.4
Additional context
Proposed solution available as PR #2055.