SkillAgentSearch skills...

TextViewLineNumbers

Implementation of NSTextView with line numbers

Install / Use

/learn @brutella/TextViewLineNumbers
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated12mo ago
Forks4

Languages

Swift

Security Score

82/100

Audited on Apr 3, 2025

No findings