@@ -21,7 +21,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
2121 /// - tabWidth: The tab width
2222 /// - lineHeight: The line height multiplier (e.g. `1.2`)
2323 /// - wrapLines: Whether lines wrap to the width of the editor
24- /// - wrappedIndent: The number of spaces to indent wrapped lines
2524 /// - editorOverscroll: The percentage for overscroll, between 0-1 (default: `0.0`)
2625 public init (
2726 _ text: Binding < String > ,
@@ -31,7 +30,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
3130 tabWidth: Binding < Int > ,
3231 lineHeight: Binding < Double > ,
3332 wrapLines: Binding < Bool > ,
34- wrappedIndent: Binding < Int > ,
3533 editorOverscroll: Binding < Double > = . constant( 0.0 ) ,
3634 cursorPosition: Published < ( Int , Int ) > . Publisher ? = nil
3735 ) {
@@ -42,7 +40,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
4240 self . _tabWidth = tabWidth
4341 self . _lineHeight = lineHeight
4442 self . _wrapLines = wrapLines
45- self . _wrappedIndent = wrappedIndent
4643 self . _editorOverscroll = editorOverscroll
4744 self . cursorPosition = cursorPosition
4845 }
@@ -54,7 +51,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
5451 @Binding private var tabWidth : Int
5552 @Binding private var lineHeight : Double
5653 @Binding private var wrapLines : Bool
57- @Binding private var wrappedIndent : Int
5854 @Binding private var editorOverscroll : Double
5955 private var cursorPosition : Published < ( Int , Int ) > . Publisher ?
6056
@@ -68,7 +64,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
6864 theme: theme,
6965 tabWidth: tabWidth,
7066 wrapLines: wrapLines,
71- wrappedIndent: wrappedIndent,
7267 cursorPosition: cursorPosition,
7368 editorOverscroll: editorOverscroll
7469 )
@@ -82,7 +77,6 @@ public struct CodeEditTextView: NSViewControllerRepresentable {
8277 controller. theme = theme
8378 controller. tabWidth = tabWidth
8479 controller. wrapLines = wrapLines
85- controller. wrappedIndent = wrappedIndent
8680 controller. lineHeightMultiple = lineHeight
8781 controller. editorOverscroll = editorOverscroll
8882 controller. reloadUI ( )
0 commit comments