Skip to content

brutella/TextViewLineNumbers

Repository files navigation

NSTextView with Line Numbers

This sample project shows how to create a NSTextView with line numbers using a NSRulerView subclass.

The main focus of this project is to provide a simple way of displaying line numbers with good performance also for thousands of lines. The implementation was extracted from the great CotEditor project - I only converted it to Swift.

Contact

Matthias Hochgatterer

Github: https://github.com/brutella

Twitter: https://twitter.com/brutella

License

The project is available under the GNU General Public License. See the LICENSE file for more info.

About

Implementation of NSTextView with line numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages