A versatile and lightweight editor control for viewing and modifying code. It offers line numbers, zoom controls, and clear visual markers for changed lines, delivering smooth navigation and an organised editing workflow. Easy to integrate and simple to use, it fits seamlessly into projects that need a focused and efficient code-editing component.
WinForms ready
Drop-in WinForms control that behaves like a native RichTextBox, with familiar events and properties. Build editor-style apps without wiring up your own line-number and layout logic.
Multi-target .NET (6.0 - 10.0)
Ships as a multi-targeted library for modern .NET on Windows. Use the same package across new projects and long-lived solutions without juggling different builds.
Zoom & word wrapping
Built-in zoom via Ctrl + mouse wheel plus configurable word wrapping. Let users adjust readability to their screen and preferences while your layout stays stable.
Full visual customisation
Configure fonts, colours, separator width, dock side and behaviour through properties or the designer. Match your application’s theme and branding without extra drawing code.
- Removed the global _changedLines.
- The costly full diff logic has been removed.
- Line-change detection is now performed on Paint.
- TextChanged now operates in O(1).
- Comparing all lines, now only triggers Invalidate().
- Paint now processes only visible lines.
- IsSaved() performs its comparison only when called