Skip to content

Commit fb9a969

Browse files
committed
adopt more misc feedback.
1 parent fbab487 commit fb9a969

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CodeEdit/Features/AppPreferences/Sections/TextEditingPreferences/TextEditingPreferencesView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ struct TextEditingPreferencesView: View {
5151
PreferencesSection("Font") {
5252
fontSelector
5353
}
54-
PreferencesSection("Line Height Multiple") {
55-
lineHeightMultiple
54+
PreferencesSection("Line Height") {
55+
lineHeight
5656
}
5757
PreferencesSection("Code completion") {
5858
autocompleteBraces
@@ -102,12 +102,12 @@ struct TextEditingPreferencesView: View {
102102
}
103103
}
104104

105-
private var lineHeightMultiple: some View {
105+
private var lineHeight: some View {
106106
HStack(spacing: 5) {
107107
TextField("", value: $prefs.preferences.textEditing.lineHeightMultiple, formatter: lineHeightFormatter)
108108
.multilineTextAlignment(.trailing)
109109
.frame(width: 40)
110-
Stepper("Line Height Multiple:",
110+
Stepper("Line Height:",
111111
value: $prefs.preferences.textEditing.lineHeightMultiple,
112112
in: 0.75...2.0,
113113
step: 0.05)

0 commit comments

Comments
 (0)