|
|
@@ -35,7 +35,10 @@ struct ThinCaretTextEditor: NSViewRepresentable {
|
|
|
textView.drawsBackground = false
|
|
|
textView.backgroundColor = .clear
|
|
|
textView.textContainer?.lineFragmentPadding = 0
|
|
|
- textView.textContainerInset = NSSize(width: 0, height: 0)
|
|
|
+ textView.textContainerInset = NSSize(
|
|
|
+ width: AppTheme.textEditorHorizontalInset,
|
|
|
+ height: AppTheme.textEditorVerticalInset
|
|
|
+ )
|
|
|
textView.isAutomaticQuoteSubstitutionEnabled = false
|
|
|
textView.isAutomaticDashSubstitutionEnabled = false
|
|
|
textView.isAutomaticTextReplacementEnabled = false
|