Skip to content

Commit 8bcb035

Browse files
committed
adopt feedback in TextEditingPreferences. added comment doc + populateCommands() invocation.
1 parent 1d61fd9 commit 8bcb035

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CodeEdit/Features/AppPreferences/Model/Text Editing/TextEditingPreferences.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ extension AppPreferences {
2121

2222
var autocompleteBraces: Bool = true
2323

24+
// A flag indicating whether to wrap lines to editor width
2425
var wrapLinesToEditorWidth: Bool = true
2526

2627
/// Default initializer
27-
init() {}
28+
init() {
29+
self.populateCommands()
30+
}
2831

2932
/// Explicit decoder init for setting default values when key is not present in `JSON`
3033
init(from decoder: Decoder) throws {

0 commit comments

Comments
 (0)