{"repo":"krzyzanowskim/STTextView","free":true,"listed":false,"github":"https://github.com/krzyzanowskim/STTextView","clone":"git clone https://github.com/krzyzanowskim/STTextView.git","description":"Performant and reusable text view component (TextKit 2), with line numbers and more. UITextView / NSTextView replacement.","language":"Swift","stars":1585,"topics":["textview","macos","textkit","swift","appkit","nstextview","cococa","editor","text","swiftui"],"license":null,"category":"mobile-apps","readme_excerpt":"STTextView Performant macOS and iOS TextView with line numbers and much more. (NSTextView/UITextView reimplementation) The goal of this project is to build NSTextView/UITextView replacement reusable component utilizing TextKit 2 framework. due to many good reasons. The component is mainly developed to serve Swift Studio needs as a source code editor . TextKit 2 was announced during WWDC 2021 as a TextKit 1 replacement for text layout and whatnot. Apple announced that NSTextView , the view component specialized for text editing, will adopt TextKit 2 and provide support along TextKit 1 bit. As I started to learn more about NSTextView + TextKit2, I realized that as of today (Feb 2022), neither NSTextView nor TextKit 2 classes are fully functional. Along the way, I reported several bug reports to Apple requesting DTS (support tickets). Eventually, I got blocked by specific bugs that pushed me to start this project. Platform Requirements - macOS : 14.0+ - iOS : 16.0+ - Mac Catalyst : 16.0+ - Swift : 5.9+ - Xcode : 26.0+ Features - macOS text system integration - Performant Text editing - Display line numbers - Display invisible characters - Customization of colors and fonts - Toggle line wrapping on and off - Adjust the height of lines - Highlight/Select ranges in the text view - Multi-cursor editing - Search/Replace the text - Spelling and Grammar - Dictation - Customizable Completion support - Smooth scrolling of long content - LTR (Left To Right) / RTL (Right To Left) layout - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/krzyzanowskim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/krzyzanowskim/STTextView/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}