CodeEditor icon indicating copy to clipboard operation
CodeEditor copied to clipboard

Include visionOS with the iOS textView autocorrection setup?

Open alcor opened this issue 1 year ago • 0 comments

It'd be nice to include visionOS in the disabling of iOS-style automatic behaviors.

https://github.com/ZeeZide/CodeEditor/blob/a77224755d1f7c31951bdb6887e9f4c02a4797e4/Sources/CodeEditor/UXCodeTextViewRepresentable.swift#L272

#if os(iOS) || os(visionOS)
      textView.autocapitalizationType = .none
      textView.smartDashesType = .no
      textView.autocorrectionType = .no
      textView.spellCheckingType = .no
      textView.smartQuotesType = .no
#endif

alcor avatar Mar 29 '24 18:03 alcor