Skip to content

kjs104901/BellColorTextBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BellColorTextBox

A lightweight, extensible text-editor control with syntax highlighting and multi-caret support.

BellColorTextBox is a pure-C# library that brings fast, code-friendly editing to any .NET 6+ application.
It ships with an ImGui back-end out of the box, and you can plug in other renderers (e.g., WinForms, WPF, SDL) by implementing a small IBackend interface.

BellColorTextBox screenshot


NuGet Packages

Package Latest Version
BellColorTextBox.Net NuGet
BellColorTextBox.ImGuiNet NuGet

Requirements

Project Framework / Library
BellColorTextBox.Net .NET 6.0 or later
BellColorTextBox.ImGuiNet BellColorTextBox.Net, ImGui.NET (≥ 1.89.7.1)

Key Features

  • Syntax Highlighting — token-based or regex-based, fully themeable
  • Multiple Carets & SelectionsCtrl+Click to add cursors, each with independent undo/redo
  • Code Folding — hide regions without breaking selections or clipboard ops
  • Auto-Indent & Tab Modes — spaces/tabs, overwrite mode, smart EOL handling
  • Word Wrap & Read-Only Mode
  • Custom Languages — implement ILanguage to add your own highlighter

Roadmap / To-Do

  • Complete documentation site
  • Find / Replace / Go to
  • Auto-completion & intellisense hooks
  • Smart auto-scroll on typing
  • Paste handling for multiple carets
  • More built-in language grammars

Core vs. Native Port

Module Status
BellColorTextBox.Net (C#) ✅ Feature-complete
BellColorTextBox (C++) ⏳ Planned

Built-in Language Definitions

  • C#
  • JSON
  • Protocol Buffers
  • SQL

Rendering Back-Ends

Platform ImGuiNet (C#) WinForms (C#) ImGui (C++)
Windows
Linux
macOS

Legend: ✅ available ⏳ planned ❌ not planned


Getting Started

dotnet add package BellColorTextBox.ImGuiNet

About

BellColorTextBox

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages