Description
ImGuiColorTextEdit is a syntax-highlighting text editor widget for Dear ImGui, the immediate-mode GUI library. It approximates the look and feel of a typical code editor and supports the essential mouse and keyboard commands. It has undo and redo, UTF-8 support, and works with both fixed-width and variable-width fonts. Syntax highlighting is extensible for multiple languages. Identifiers can carry a short declaration description that shows as a tooltip on hover, and error markers can be set by line, which highlights the line in red and shows the message on hover. Large files are supported, with no explicit size or line limit, and performance holds for files under 2 GB, except for syntax colouring. You can switch between colour palettes or define your own. Whitespace indicators for tabs and spaces are included.…
Highlights
- Syntax highlighting for multiple languages
- Undo and redo, UTF-8 support
- Identifier tooltips and error markers
- Large file support under 2 GB
- Switchable colour palettes
Ratings & Reviews
No ratings yet
Be the first to rate ImGuiColorTextEdit.
People also visit
ImGuiColorTextEdit FAQ
What is ImGuiColorTextEdit?
A syntax-highlighting text editor widget for Dear ImGui.
Does it support Unicode?
Yes. The README says UTF-8 is supported, and the editor works with fixed and variable-width fonts.
Are large files handled?
The README says there is no explicit size limit, and performance is not affected below 2 GB, except for syntax colouring.
Which languages are highlighted quickly?
C and C++ have a hand-written tokenizer, which is much faster. Other languages use std::regex, which the README calls slow, so highlighting is spread over frames.
Can I add error messages?
Yes. You can list error messages with line numbers, and the editor highlights those lines and shows the message on hover.
What are the best ImGuiColorTextEdit alternatives?
Popular alternatives to ImGuiColorTextEdit include Vim and PackageDev. See all ImGuiColorTextEdit alternatives
